Home
last modified time | relevance | path

Searched refs:arg1 (Results 1 – 9 of 9) sorted by relevance

/system/core/adb/
Dtransport.c103 char arg0[12], arg1[12]; in dump_packet() local
125 if (p->msg.arg1 < 256U) in dump_packet()
126 snprintf(arg1, sizeof arg1, "%d", p->msg.arg1); in dump_packet()
128 snprintf(arg1, sizeof arg1, "0x%x", p->msg.arg1); in dump_packet()
131 name, func, cmd, arg0, arg1, len); in dump_packet()
265 p->msg.arg1 = ++(t->sync_token); in output_thread()
296 p->msg.arg1 = 0; in output_thread()
331 if(p->msg.arg1 == t->sync_token) { in input_thread()
336 t->serial, p->msg.arg1, t->sync_token); in input_thread()
Dtransport_local.c34 p->msg.arg1 = H4(p->msg.arg1); 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()
Dtransport_usb.c36 p->msg.arg1 = H4(p->msg.arg1); in fix_endians()
Dservices.c260 static int create_subprocess(const char *cmd, const char *arg0, const char *arg1, pid_t *pid) in create_subprocess() argument
263 D("create_subprocess(cmd=%s, arg0=%s, arg1=%s)\n", cmd, arg0, arg1); in create_subprocess()
264 …fprintf(stderr, "error: create_subprocess not implemented on Win32 (%s %s %s)\n", cmd, arg0, arg1); in create_subprocess()
319 execl(cmd, cmd, arg0, arg1, NULL); in create_subprocess()
Dadb.c246 label, tag, p->msg.arg0, p->msg.arg1, p->msg.data_length); in print_packet()
273 p->msg.arg1 = remote; in send_ready()
283 p->msg.arg1 = remote; in send_close()
323 cp->msg.arg1 = MAX_PAYLOAD; in send_connect()
577 if((s = find_local_socket(p->msg.arg1))) { in handle_packet()
589 if((s = find_local_socket(p->msg.arg1))) { in handle_packet()
597 if((s = find_local_socket(p->msg.arg1))) { in handle_packet()
Dsockets.c471 p->msg.arg1 = s->id; in remote_socket_enqueue()
484 p->msg.arg1 = s->id; in remote_socket_ready()
501 p->msg.arg1 = s->id; in remote_socket_close()
Dadb.h53 unsigned arg1; /* second argument */ member
DSERVICES.TXT155 shell:command arg1 arg2 ...
156 Run 'command arg1 arg2 ...' in a shell on the device, and return
Dprotocol.txt34 unsigned arg1; /* second argument */
46 detail. Their format is COMMAND(arg0, arg1, payload) where the payload