/system/security/keystore/ |
H A D | keystore_client.cpp | 25 ResponseCode keystore_cmd(command_code_t cmd, Keystore_Reply* reply, int numArgs, ...) { argument 33 if (TEMP_FAILURE_RETRY(send(sock, &cmd, 1, MSG_NOSIGNAL)) != 1) {
|
H A D | keystore_client.h | 49 ResponseCode keystore_cmd(command_code_t cmd, Keystore_Reply* reply, int numArgs, ...);
|
/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/adb/ |
H A D | commandline.c | 40 static int do_cmd(transport_type ttype, char* serial, char *cmd, ...); 1381 static int do_cmd(transport_type ttype, char* serial, char *cmd, ...) argument 1387 va_start(ap, cmd); 1399 argv[argc++] = cmd;
|
H A D | services.c | 260 static int create_subprocess(const char *cmd, const char *arg0, const char *arg1, pid_t *pid) argument 263 D("create_subprocess(cmd=%s, arg0=%s, arg1=%s)\n", cmd, arg0, arg1); 264 fprintf(stderr, "error: create_subprocess not implemented on Win32 (%s %s %s)\n", cmd, arg0, arg1); 319 execl(cmd, cmd, arg0, arg1, NULL); 321 cmd, strerror(errno), errno);
|
H A D | transport.c | 102 char cmd[9]; local 110 cmd[n] = (char)b; 113 cmd[4] = 0; 117 snprintf(cmd, sizeof cmd, "%08x", command); 131 name, func, cmd, arg0, arg1, len);
|
/system/core/fastboot/ |
H A D | engine.c | 90 char cmd[CMD_SIZE]; member in struct:Action 116 char cmd[CMD_SIZE] = "getvar:"; local 117 int getvar_len = strlen(cmd); 122 vsnprintf(cmd + getvar_len, sizeof(cmd) - getvar_len, fmt, args); 124 cmd[CMD_SIZE - 1] = '\0'; 125 return fb_command_response(usb, cmd, response); 202 cmdsize = vsnprintf(a->cmd, sizeof(a->cmd), fmt, ap); 205 if (cmdsize >= sizeof(a->cmd)) { 326 char cmd[CMD_SIZE]; local 574 fb_queue_command(const char *cmd, const char *msg) argument [all...] |
H A D | fastboot.h | 37 int fb_command(usb_handle *usb, const char *cmd); 38 int fb_command_response(usb_handle *usb, const char *cmd, char *response); 58 void fb_queue_command(const char *cmd, const char *msg);
|
H A D | protocol.c | 109 static int _command_start(usb_handle *usb, const char *cmd, unsigned size, argument 112 int cmdsize = strlen(cmd); 124 if(usb_write(usb, cmd, cmdsize) != cmdsize) { 162 static int _command_send(usb_handle *usb, const char *cmd, argument 171 r = _command_start(usb, cmd, size, response); 189 static int _command_send_no_data(usb_handle *usb, const char *cmd, argument 194 return _command_start(usb, cmd, 0, response); 197 int fb_command(usb_handle *usb, const char *cmd) argument 199 return _command_send_no_data(usb, cmd, 0); 202 int fb_command_response(usb_handle *usb, const char *cmd, cha argument 209 char cmd[64]; local 293 char cmd[64]; local [all...] |
H A D | usbtest.c | 128 const char *cmd; member in struct:__anon291 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/core/include/cutils/ |
H A D | android_reboot.h | 31 int android_reboot(int cmd, int flags, char *arg);
|
/system/core/include/sysutils/ |
H A D | FrameworkCommand.h | 29 FrameworkCommand(const char *cmd);
|
H A D | FrameworkListener.h | 41 void registerCmd(FrameworkCommand *cmd);
|
/system/core/init/ |
H A D | init.c | 518 static struct command *get_next_command(struct action *act, struct command *cmd) argument 521 node = cmd->clist.next; 530 static int is_last_command(struct action *act, struct command *cmd) argument 532 return (list_tail(&act->commands) == &cmd->clist);
|
H A D | init_parser.c | 569 struct command *cmd; local 575 cmd = calloc(1, sizeof(*cmd)); 576 cmd->func = func; 577 cmd->args[0] = name; 578 list_add_tail(&act->commands, &cmd->clist); 644 struct command *cmd; local 741 cmd = malloc(sizeof(*cmd) + sizeof(char*) * nargs); 742 cmd 837 struct command *cmd; local [all...] |
H A D | parser.c | 15 struct command *cmd; 39 cmd = node_to_item(node2, struct command, clist); 40 RAW(" %p", cmd->func); 41 for (n = 0; n < cmd->nargs; n++) { 42 RAW(" %s", cmd->args[n]);
|
H A D | property_service.c | 440 switch(msg.cmd) {
|
H A D | signal_handler.c | 52 struct command *cmd; local 112 cmd = node_to_item(node, struct command, clist); 113 cmd->func(cmd->nargs, cmd->args);
|
/system/core/libcutils/ |
H A D | android_reboot.c | 104 int android_reboot(int cmd, int flags, char *arg) argument 114 switch (cmd) {
|
H A D | qtaguid.c | 60 static int write_ctrl(const char *cmd) { argument 63 ALOGV("write_ctrl(%s)", cmd); 70 res = TEMP_FAILURE_RETRY(write(fd, cmd, strlen(cmd))); 77 ALOGI("Failed write_ctrl(%s) res=%d errno=%d", cmd, res, savedErrno);
|
/system/core/libnl_2/genl/ |
H A D | genl.c | 50 int hdrlen, int flags, uint8_t cmd, uint8_t version) 77 gmh->cmd = (__u8) cmd; 119 gmhhdr.cmd = CTRL_CMD_GETFAMILY; 49 genlmsg_put(struct nl_msg *msg, uint32_t pid, uint32_t seq, int family, int hdrlen, int flags, uint8_t cmd, uint8_t version) argument
|
/system/core/libsysutils/src/ |
H A D | FrameworkCommand.cpp | 24 FrameworkCommand::FrameworkCommand(const char *cmd) { argument 25 mCommand = cmd;
|
H A D | FrameworkListener.cpp | 69 void FrameworkListener::registerCmd(FrameworkCommand *cmd) { argument 70 mCommands->push_back(cmd);
|
/system/core/logcat/ |
H A D | logcat.cpp | 394 static void show_help(const char *cmd) argument 396 fprintf(stderr,"Usage: %s [options] [filterspecs]\n", cmd);
|