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, ...); 374 …command(char* buffer, size_t buflen, const char* command, transport_type ttype, const char* seria… in format_host_command() argument 380 if (ttype == kTransportUsb) in format_host_command() 382 else if (ttype == kTransportLocal) in format_host_command() 466 static void status_window(transport_type ttype, const char* serial) in status_window() argument 482 format_host_command(command, sizeof command, "get-state", ttype, serial); in status_window() 933 transport_type ttype = kTransportAny; in adb_commandline() local 1001 ttype = kTransportUsb; in adb_commandline() 1003 ttype = kTransportLocal; in adb_commandline() 1048 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… 490 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s…
|
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()
|
D | adb.c | 1502 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s) in handle_host_request() argument 1617 transport = acquire_one_transport(CS_ANY, ttype, serial, NULL); in handle_host_request() 1627 transport = acquire_one_transport(CS_ANY, ttype, serial, NULL); in handle_host_request() 1703 transport = acquire_one_transport(CS_ANY, ttype, serial, &err); in handle_host_request() 1740 transport = acquire_one_transport(CS_ANY, ttype, serial, NULL); in handle_host_request()
|