Searched refs:ttype (Results 1 – 5 of 5) sorted by relevance
/system/core/adb/ |
D | commandline.c | 40 static int do_cmd(transport_type ttype, char* serial, char *cmd, ...); 359 …command(char* buffer, size_t buflen, const char* command, transport_type ttype, const char* seria… in format_host_command() argument 365 if (ttype == kTransportUsb) in format_host_command() 367 else if (ttype == kTransportLocal) in format_host_command() 451 static void status_window(transport_type ttype, const char* serial) in status_window() argument 467 format_host_command(command, sizeof command, "get-state", ttype, serial); in status_window() 918 transport_type ttype = kTransportAny; in adb_commandline() local 986 ttype = kTransportUsb; in adb_commandline() 988 ttype = kTransportLocal; in adb_commandline() 997 adb_set_transport(ttype, serial); in adb_commandline() [all …]
|
D | sockets.c | 661 transport_type ttype = kTransportAny; in smart_socket_enqueue() local 718 ttype = kTransportUsb; in smart_socket_enqueue() 721 ttype = kTransportLocal; in smart_socket_enqueue() 724 ttype = kTransportAny; in smart_socket_enqueue() 738 if(handle_host_request(service, ttype, serial, s->peer->fd, s) == 0) { in smart_socket_enqueue()
|
D | adb.h | 278 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char **error… 489 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s…
|
D | adb.c | 1335 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s) in handle_host_request() argument 1450 transport = acquire_one_transport(CS_ANY, ttype, serial, NULL); in handle_host_request() 1460 transport = acquire_one_transport(CS_ANY, ttype, serial, NULL); in handle_host_request() 1497 transport = acquire_one_transport(CS_ANY, ttype, serial, &err); in handle_host_request() 1523 transport = acquire_one_transport(CS_ANY, ttype, serial, NULL); in handle_host_request()
|
D | transport.c | 786 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char** error… in acquire_one_transport() argument 821 if (ttype == kTransportUsb && t->type == kTransportUsb) { in acquire_one_transport() 830 } else if (ttype == kTransportLocal && t->type == kTransportLocal) { in acquire_one_transport() 839 } else if (ttype == kTransportAny) { in acquire_one_transport()
|