Searched refs:cmd (Results 1 - 25 of 84) sorted by relevance

1234

/system/core/nexus/
H A DNexusCommand.cpp19 NexusCommand::NexusCommand(const char *cmd) : argument
20 FrameworkCommand(cmd) {
H A DNexusCommand.h24 NexusCommand(const char *cmd);
/system/netd/
H A DNetdCommand.cpp19 NetdCommand::NetdCommand(const char *cmd) : argument
20 FrameworkCommand(cmd) {
H A DThrottleController.cpp43 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 DNatController.cpp41 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 DNetdCommand.h24 NetdCommand(const char *cmd);
H A DThrottleController.h27 static int runTcCmd(const char *cmd);
H A DNatController.h37 int runIptablesCmd(const char *cmd);
/system/vold/
H A DVoldCommand.cpp19 VoldCommand::VoldCommand(const char *cmd) : argument
20 FrameworkCommand(cmd) {
H A DVoldCommand.h24 VoldCommand(const char *cmd);
/system/core/libsysutils/src/
H A DFrameworkCommand.cpp24 FrameworkCommand::FrameworkCommand(const char *cmd) { argument
25 mCommand = cmd;
/system/core/toolbox/
H A Dsyren.c64 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 Drenice.c81 char *cmd = argv[0]; local
88 usage(cmd);
99 usage(cmd);
105 usage(cmd);
112 usage(cmd);
H A Dtoolbox.c44 char *cmd = strrchr(argv[0], '/'); local
45 if (cmd)
46 name = cmd + 1;
/system/core/fastboot/
H A Dfastboot.h35 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 Dprotocol.c103 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 Dusbtest.c128 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 DprivateCmd.h83 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 Dipc_wpa.h40 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 Dipc_wpa.c126 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 Dwpa_core.c370 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 DFrameworkCommand.h29 FrameworkCommand(const char *cmd);
H A DFrameworkListener.h35 void registerCmd(FrameworkCommand *cmd);
/system/wlan/ti/sta_dk_4_0_4_32/pform/common/inc/
H A Dlinux_ioctl_common.h58 ULONG cmd; member in struct:__anon954
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/IPC/Linux/
H A Dipc_user.c110 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...]

Completed in 1530 milliseconds

1234