Home
last modified time | relevance | path

Searched refs:ttype (Results 1 – 5 of 5) sorted by relevance

/system/core/adb/
Dcommandline.c46 static int do_cmd(transport_type ttype, char* serial, char *cmd, ...);
315 …command(char* buffer, size_t buflen, const char* command, transport_type ttype, const char* seria… in format_host_command() argument
321 if (ttype == kTransportUsb) in format_host_command()
323 else if (ttype == kTransportLocal) in format_host_command()
330 static void status_window(transport_type ttype, const char* serial) in status_window() argument
346 format_host_command(command, sizeof command, "get-state", ttype, serial); in status_window()
689 transport_type ttype = kTransportAny; in adb_commandline() local
755 ttype = kTransportUsb; in adb_commandline()
757 ttype = kTransportLocal; in adb_commandline()
766 adb_set_transport(ttype, serial); in adb_commandline()
[all …]
Dsockets.c575 transport_type ttype = kTransportAny; in smart_socket_enqueue() local
632 ttype = kTransportUsb; in smart_socket_enqueue()
635 ttype = kTransportLocal; in smart_socket_enqueue()
638 ttype = kTransportAny; in smart_socket_enqueue()
652 if(handle_host_request(service, ttype, serial, s->peer->fd, s) == 0) { in smart_socket_enqueue()
Dadb.h259 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char **error…
412 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s…
Dtransport.c716 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char** error… in acquire_one_transport() argument
741 if (ttype == kTransportUsb && t->type == kTransportUsb) { in acquire_one_transport()
750 } else if (ttype == kTransportLocal && t->type == kTransportLocal) { in acquire_one_transport()
759 } else if (ttype == kTransportAny) { in acquire_one_transport()
Dadb.c1077 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s) in handle_host_request() argument
1189 transport = acquire_one_transport(CS_ANY, ttype, serial, NULL); in handle_host_request()
1226 transport = acquire_one_transport(CS_ANY, ttype, serial, &err); in handle_host_request()
1252 transport = acquire_one_transport(CS_ANY, ttype, serial, NULL); in handle_host_request()