/system/extras/micro_bench/ |
D | micro_bench.cpp | 340 function_t *command = NULL; in processOptions() local 385 } else if (!command) { in processOptions() 388 command = function; in processOptions() 392 if (!command) { in processOptions() 425 return command; in processOptions() 472 function_t *command = processOptions(argc, argv, &cmd_data); in main() local 473 if (!command) { in main() 482 printf("%s\n", command->name); in main() 483 return (*command->ptr)(cmd_data); in main()
|
/system/core/fastboot/ |
D | fastboot_protocol.txt | 24 1. Host sends a command, which is an ascii string in a single 36 b. FAIL -> the requested command failed. The remaining 60 bytes 40 c. OKAY -> the requested command completed successfully. Go to #5 42 d. DATA -> the requested command is ready for the data phase. 47 3. Data phase. Depending on the command, the host or client will 60 reason and consider the command failed. Stop. 92 Host: "powerdown" send a command 94 Client: "FAILunknown command" indicate failure 148 The "getvar:%s" command is used to read client variables which
|
D | fastboot.c | 754 char command[256]; in do_oem_command() local 757 command[0] = 0; in do_oem_command() 759 strcat(command,*argv); in do_oem_command() 762 strcat(command," "); in do_oem_command() 765 fb_queue_command(command,""); in do_oem_command()
|
/system/core/sh/ |
D | TOUR | 44 back to the main command loop */ 91 EXINT exception to return to the main command loop. (Exception: 93 command.) The INTOFF and INTON macros (defined in exception.h) 202 variable and command substitution, the parser doesn't insert any 207 able and command substitution phase. Words which are subject 222 quotes. It saves the result in memory if the command is a buil- 223 tin; otherwise it forks off a child to execute the command and 238 EXEC.C: The routine find_command locates a command, and enters 239 the command in the hash table if it is not already there. The 241 if the command is not found. (When a pipeline is set up, [all …]
|
D | nodetypes | 56 NCMD ncmd # a simple command 58 backgnd int # set to run command in background 67 NREDIR nredir # redirection (of a complex command) 69 n nodeptr # the command 72 NBACKGND nredir # run command in background 73 NSUBSHELL nredir # run command in a subshell 139 doc nodeptr # input to command (NARG node) 141 NNOT nnot # ! command (actually pipeline)
|
D | parser.c | 107 STATIC union node *command(void); 258 n1 = command(); in pipeline() 269 lp->n = command(); in pipeline() 288 command(void) in command() function 578 n->narg.next = command(); in simplecmd()
|
/system/core/adb/ |
D | commandline.c | 374 static void format_host_command(char* buffer, size_t buflen, const char* command, transport_type t… in format_host_command() argument 377 snprintf(buffer, buflen, "host-serial:%s:%s", serial, command); in format_host_command() 385 snprintf(buffer, buflen, "%s:%s", prefix, command); in format_host_command() 468 char command[4096]; in status_window() local 482 format_host_command(command, sizeof command, "get-state", ttype, serial); in status_window() 492 state = adb_query(command); in status_window() 1220 char command[100]; in adb_commandline() local 1222 snprintf(command, sizeof(command), "reboot:bootloader"); in adb_commandline() 1224 snprintf(command, sizeof(command), "%s:%s", argv[0], argv[1]); in adb_commandline() 1226 snprintf(command, sizeof(command), "%s:", argv[0]); in adb_commandline() [all …]
|
D | framebuffer_service.c | 73 const char* command = "screencap"; in framebuffer_service() local 74 const char *args[2] = {command, NULL}; in framebuffer_service() 75 execvp(command, (char**)args); in framebuffer_service()
|
D | transport_local.c | 32 p->msg.command = H4(p->msg.command); in fix_endians() 66 … p->msg.command, p->msg.arg0, p->msg.arg1, p->msg.data_length, p->msg.data_check, p->msg.magic); in remote_read() 94 … p->msg.command, p->msg.arg0, p->msg.arg1, p->msg.data_length, p->msg.data_check, p->msg.magic); in remote_write()
|
D | transport_usb.c | 34 p->msg.command = H4(p->msg.command); in fix_endians()
|
D | adb.c | 234 switch(p->msg.command){ in print_packet() 271 p->msg.command = A_OKAY; in send_ready() 281 p->msg.command = A_CLSE; in send_close() 321 cp->msg.command = A_CNXN; in send_connect() 343 p->msg.command = A_AUTH; in send_auth_request() 362 p->msg.command = A_AUTH; in send_auth_response() 381 p->msg.command = A_AUTH; in send_auth_publickey() 500 D("handle_packet() %c%c%c%c\n", ((char*) (&(p->msg.command)))[0], in handle_packet() 501 ((char*) (&(p->msg.command)))[1], in handle_packet() 502 ((char*) (&(p->msg.command)))[2], in handle_packet() [all …]
|
D | transport.c | 100 unsigned command = p->msg.command; in dump_packet() local 107 int b = (command >> (n*8)) & 255; in dump_packet() 117 snprintf(cmd, sizeof cmd, "%08x", command); in dump_packet() 218 p->msg.magic = p->msg.command ^ 0xffffffff; in send_packet() 263 p->msg.command = A_SYNC; in output_thread() 294 p->msg.command = A_SYNC; in output_thread() 325 if(p->msg.command == A_SYNC){ in input_thread() 1163 if(p->msg.magic != (p->msg.command ^ 0xffffffff)) { in check_header()
|
D | protocol.txt | 32 unsigned command; /* command identifier constant */ 37 unsigned magic; /* command ^ 0xffffffff */ 41 unrecognized command MUST result in the closing of the remote 183 --- message command constants ------------------------------------------ 232 Example command stream dialogues:
|
D | OVERVIEW.TXT | 11 for the benefit of clients (command-line users, or helper programs like 46 3. The ADB command-line client 48 The 'adb' command-line program is used to run adb commands from a shell
|
D | sockets.c | 469 p->msg.command = A_WRTE; in remote_socket_enqueue() 482 p->msg.command = A_OKAY; in remote_socket_ready() 493 p->msg.command = A_CLSE; in remote_socket_close() 552 p->msg.command = A_OPEN; in connect_to_remote()
|
D | adb.h | 51 unsigned command; /* command identifier constant */ member
|
D | SERVICES.TXT | 155 shell:command arg1 arg2 ... 156 Run 'command arg1 arg2 ...' in a shell on the device, and return
|
/system/core/init/ |
D | init.h | 26 struct command struct 48 struct command *current; argument
|
D | signal_handler.c | 52 struct command *cmd; in wait_for_one_process() 112 cmd = node_to_item(node, struct command, clist); in wait_for_one_process()
|
D | parser.c | 15 struct command *cmd; in DUMP() 39 cmd = node_to_item(node2, struct command, clist); in DUMP()
|
D | readme.txt | 33 Each action in the queue is dequeued in sequence and each command in 41 <command> 42 <command> 43 <command> 82 this command. You must instead request the capabilities in-process while 144 started after this command is executed) 254 init.command 255 Equal to the command being executed or "" if none.
|
D | init.c | 79 static struct command *cur_command = NULL; 482 static struct command *get_first_command(struct action *act) in get_first_command() 489 return node_to_item(node, struct command, clist); in get_first_command() 492 static struct command *get_next_command(struct action *act, struct command *cmd) in get_next_command() 501 return node_to_item(node, struct command, clist); in get_next_command() 504 static int is_last_command(struct action *act, struct command *cmd) in is_last_command()
|
D | README.BOOTCHART | 14 with a command like the following:
|
D | init_parser.c | 569 struct command *cmd; in queue_builtin_action() 648 struct command *cmd; in parse_line_service() 840 struct command *cmd; in parse_line_action()
|
/system/extras/tests/binder/benchmarks/ |
D | binderAddInts.cpp | 79 enum command { enum in AddIntsService
|