Home
last modified time | relevance | path

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

/system/core/adb/
Dservices.c202 static int create_subproc_pty(const char *cmd, const char *arg0, const char *arg1, pid_t *pid) in create_subproc_pty() argument
204 D("create_subproc_pty(cmd=%s, arg0=%s, arg1=%s)\n", cmd, arg0, arg1); in create_subproc_pty()
206 …printf(stderr, "error: create_subproc_pty not implemented on Win32 (%s %s %s)\n", cmd, arg0, arg1); in create_subproc_pty()
247 execl(cmd, cmd, arg0, arg1, NULL); in create_subproc_pty()
257 static int create_subproc_raw(const char *cmd, const char *arg0, const char *arg1, pid_t *pid) in create_subproc_raw() argument
259 D("create_subproc_raw(cmd=%s, arg0=%s, arg1=%s)\n", cmd, arg0, arg1); in create_subproc_raw()
261 …printf(stderr, "error: create_subproc_raw not implemented on Win32 (%s %s %s)\n", cmd, arg0, arg1); in create_subproc_raw()
290 execl(cmd, cmd, arg0, arg1, NULL); in create_subproc_raw()
347 const char *arg0, *arg1; in create_subproc_thread() local
349 arg0 = "-"; arg1 = 0; in create_subproc_thread()
[all …]
Dtransport_usb.c36 p->msg.arg1 = H4(p->msg.arg1); in fix_endians()
Dtransport.c108 char arg0[12], arg1[12]; in dump_packet() local
130 if (p->msg.arg1 < 256U) in dump_packet()
131 snprintf(arg1, sizeof arg1, "%d", p->msg.arg1); in dump_packet()
133 snprintf(arg1, sizeof arg1, "0x%x", p->msg.arg1); in dump_packet()
136 name, func, cmd, arg0, arg1, len); in dump_packet()
270 p->msg.arg1 = ++(t->sync_token); in output_thread()
301 p->msg.arg1 = 0; in output_thread()
336 if(p->msg.arg1 == t->sync_token) { in input_thread()
341 t->serial, p->msg.arg1, t->sync_token); in input_thread()
Dtransport_local.c37 p->msg.arg1 = H4(p->msg.arg1); in fix_endians()
69 … p->msg.command, p->msg.arg0, p->msg.arg1, p->msg.data_length, p->msg.data_check, p->msg.magic); in remote_read()
97 … p->msg.command, p->msg.arg0, p->msg.arg1, p->msg.data_length, p->msg.data_check, p->msg.magic); in remote_write()
Dadb.c250 label, tag, p->msg.arg0, p->msg.arg1, p->msg.data_length); in print_packet()
277 p->msg.arg1 = remote; in send_ready()
287 p->msg.arg1 = remote; in send_close()
347 cp->msg.arg1 = MAX_PAYLOAD; in send_connect()
588 if (t->online && p->msg.arg0 != 0 && p->msg.arg1 == 0) { in handle_packet()
604 if (t->online && p->msg.arg0 != 0 && p->msg.arg1 != 0) { in handle_packet()
605 if((s = find_local_socket(p->msg.arg1, 0))) { in handle_packet()
616 p->msg.arg0, p->msg.arg1, s->peer->id, p->msg.arg1, t->serial); in handle_packet()
623 if (t->online && p->msg.arg1 != 0) { in handle_packet()
624 if((s = find_local_socket(p->msg.arg1, p->msg.arg0))) { in handle_packet()
[all …]
Dsockets.c499 p->msg.arg1 = s->id; in remote_socket_enqueue()
512 p->msg.arg1 = s->id; in remote_socket_ready()
525 p->msg.arg1 = s->id; in remote_socket_shutdown()
Dadb.h54 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