/system/core/nexus/ |
H A D | NexusCommand.cpp | 19 NexusCommand::NexusCommand(const char *cmd) : argument 20 FrameworkCommand(cmd) {
|
H A D | NexusCommand.h | 24 NexusCommand(const char *cmd);
|
/system/netd/ |
H A D | NetdCommand.cpp | 19 NetdCommand::NetdCommand(const char *cmd) : argument 20 FrameworkCommand(cmd) {
|
H A D | ThrottleController.cpp | 43 int ThrottleController::runTcCmd(const char *cmd) { argument 46 strncpy(buffer, cmd, sizeof(buffer)-1); 69 char cmd[512]; local 90 sprintf(cmd, "qdisc add dev %s root handle 1: htb default 1 r2q 1000", ifn); 91 if (runTcCmd(cmd)) { 99 sprintf(cmd, "class add dev %s parent 1: classid 1:1 htb rate %dkbit", ifn, txKbps); 100 if (runTcCmd(cmd)) { 117 sprintf(cmd, "qdisc add dev ifb0 root handle 1: htb default 1 r2q 1000"); 118 if (runTcCmd(cmd)) { 126 sprintf(cmd, "clas 158 char cmd[128]; local [all...] |
H A D | NatController.cpp | 41 int NatController::runIptablesCmd(const char *cmd) { argument 44 strncpy(buffer, cmd, sizeof(buffer)-1); 92 char cmd[255]; local 111 snprintf(cmd, sizeof(cmd), 115 if (runIptablesCmd(cmd)) { 119 snprintf(cmd, sizeof(cmd), "-%s FORWARD -i %s -o %s -j ACCEPT", (add ? "A" : "D"), 121 if (runIptablesCmd(cmd)) { 123 snprintf(cmd, sizeo [all...] |
H A D | NetdCommand.h | 24 NetdCommand(const char *cmd);
|
H A D | ThrottleController.h | 27 static int runTcCmd(const char *cmd);
|
H A D | NatController.h | 37 int runIptablesCmd(const char *cmd);
|
/system/vold/ |
H A D | VoldCommand.cpp | 19 VoldCommand::VoldCommand(const char *cmd) : argument 20 FrameworkCommand(cmd) {
|
H A D | VoldCommand.h | 24 VoldCommand(const char *cmd);
|
/system/core/libsysutils/src/ |
H A D | FrameworkCommand.cpp | 24 FrameworkCommand::FrameworkCommand(const char *cmd) { argument 25 mCommand = cmd;
|
/system/core/toolbox/ |
H A D | syren.c | 64 int cmd = -1; local 76 cmd = SYREN_RD; 79 cmd = SYREN_WR; 82 cmd = SYREN_OLD_RD; 85 cmd = SYREN_OLD_WR; 91 if (cmd == SYREN_WR || cmd == SYREN_OLD_WR) { 105 if (cmd != SYREN_RD && cmd != SYREN_OLD_RD) { 113 if (ioctl(fd, cmd, [all...] |
H A D | renice.c | 81 char *cmd = argv[0]; local 88 usage(cmd); 99 usage(cmd); 105 usage(cmd); 112 usage(cmd);
|
H A D | toolbox.c | 44 char *cmd = strrchr(argv[0], '/'); local 45 if (cmd) 46 name = cmd + 1;
|
/system/core/fastboot/ |
H A D | fastboot.h | 35 int fb_command(usb_handle *usb, const char *cmd); 36 int fb_command_response(usb_handle *usb, const char *cmd, char *response); 49 void fb_queue_command(const char *cmd, const char *msg);
|
H A D | protocol.c | 103 static int _command_send(usb_handle *usb, const char *cmd, argument 107 int cmdsize = strlen(cmd); 119 if(usb_write(usb, cmd, cmdsize) != cmdsize) { 157 int fb_command(usb_handle *usb, const char *cmd) argument 159 return _command_send(usb, cmd, 0, 0, 0); 162 int fb_command_response(usb_handle *usb, const char *cmd, char *response) argument 164 return _command_send(usb, cmd, 0, 0, response); 169 char cmd[64]; local 172 sprintf(cmd, "download:%08x", size); 173 r = _command_send(usb, cmd, dat [all...] |
H A D | usbtest.c | 128 const char *cmd; member in struct:__anon33 145 for(i = 0; tests[i].cmd; i++) { 146 fprintf(stderr," %-8s %s\n", tests[i].cmd, tests[i].help); 191 for(i = 0; tests[i].cmd; i++) { 192 if(!strcmp(argv[1], tests[i].cmd)) { 197 tests[i].cmd); 201 fprintf(stderr,"usbtest: %s: FAIL\n", tests[i].cmd); 204 fprintf(stderr,"usbtest: %s: OKAY\n", tests[i].cmd);
|
/system/wlan/ti/wilink_6_1/stad/Export_Inc/ |
H A D | privateCmd.h | 83 TI_UINT32 cmd; /**< Number of command to execute - configMgr parameter name */ member in struct:__anon1589
|
/system/wlan/ti/wilink_6_1/CUDK/os/linux/inc/ |
H A D | ipc_wpa.h | 40 S32 IpcWpa_Command(THandle hIpcWpa, PS8 cmd, S32 print); 41 S32 IpcWpa_CommandWithResp(THandle hIpcWpa, PS8 cmd, S32 print, PS8 pResp, PU32 pRespLen);
|
/system/wlan/ti/wilink_6_1/CUDK/os/linux/src/ |
H A D | ipc_wpa.c | 126 S32 IpcWpa_Command(THandle hIpcWpa, PS8 cmd, S32 print) argument 134 ret = wpa_ctrl_request(pIpcWpa->pWpaCtrl, (char*)cmd, os_strlen(cmd), (char*)Resp, (size_t*)&RespLen, NULL); 138 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command timed out.\n", cmd); 143 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command failed (%d).\n", cmd, ret); 157 S32 IpcWpa_CommandWithResp(THandle hIpcWpa, PS8 cmd, S32 print, PS8 pResp, PU32 pRespLen) argument 164 ret = wpa_ctrl_request(pIpcWpa->pWpaCtrl, (char*)cmd, os_strlen(cmd), (char*)pResp, (size_t*)pRespLen, NULL); 168 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command timed out.\n", cmd); 173 os_error_printf(CU_MSG_ERROR, (PS8)"'%s' command failed.\n", cmd); [all...] |
/system/wlan/ti/wilink_6_1/CUDK/configurationutility/src/ |
H A D | wpa_core.c | 370 S8 cmd[100]; local 372 os_sprintf(cmd, (PS8)"CHANGE_SUPPLICANT_DEBUG %ld %ld %ld", Level1, Level2, Level3); 373 IpcWpa_Command(pWpaCore->hIpcWpa, cmd, TRUE); 520 S8 cmd[256]; local 533 os_sprintf(cmd, (PS8)"ADD_NETWORK"); 534 if (IpcWpa_CommandWithResp(pWpaCore->hIpcWpa, cmd, TRUE, Resp, &RespLen)) 558 os_sprintf(cmd, (PS8)"SET_NETWORK %d bssid %s", NetworkID, temp); 560 if (IpcWpa_Command(pWpaCore->hIpcWpa, cmd, FALSE)) 567 os_sprintf(cmd, (PS8)"SET_NETWORK %d ssid \"%s\"", NetworkID, ssid->Ssid); 568 if (IpcWpa_Command(pWpaCore->hIpcWpa, cmd, 886 S8 cmd[256]; local [all...] |
/system/core/include/sysutils/ |
H A D | FrameworkCommand.h | 29 FrameworkCommand(const char *cmd);
|
H A D | FrameworkListener.h | 35 void registerCmd(FrameworkCommand *cmd);
|
/system/wlan/ti/sta_dk_4_0_4_32/pform/common/inc/ |
H A D | linux_ioctl_common.h | 58 ULONG cmd; member in struct:__anon954
|
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/IPC/Linux/ |
H A D | ipc_user.c | 110 int res, max_size, cmd; local 138 cmd = SIOCDEVPRIVATE; 146 cmd = SIOCDEVPRIVATE+1; /* for GET private ioctls */ 152 cmd = SIOCDEVPRIVATE; /* for SET private ioctls */ 158 print_deb("===IPC_DeviceIoControl('%s', cmd=%u (%s%s), data=%p (%#x), size=%u, sizeRet = %p(%x))\n", 166 ti_req->cmd = ioctl_cmd; 186 print_deb("===== send_ioctl: socket=%d, cmd=%d, &req=%p\n", g_socket, cmd, &req ); 188 req.ifr_ifrn.ifrn_name, ti_req->cmd, ti_req->length, max_size, (void *) ti_req->user_data_pointer ); 191 res = ioctl(g_socket, cmd, [all...] |