Home
last modified time | relevance | path

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

/system/core/adb/
Dcommandline.c42 static int do_cmd(transport_type ttype, char* serial, char *cmd, ...);
438 …command(char* buffer, size_t buflen, const char* command, transport_type ttype, const char* seria… in format_host_command() argument
444 if (ttype == kTransportUsb) in format_host_command()
446 else if (ttype == kTransportLocal) in format_host_command()
639 static void status_window(transport_type ttype, const char* serial) in status_window() argument
655 format_host_command(command, sizeof command, "get-state", ttype, serial); in status_window()
1133 transport_type ttype = kTransportAny; in adb_commandline() local
1201 ttype = kTransportUsb; in adb_commandline()
1203 ttype = kTransportLocal; in adb_commandline()
1248 adb_set_transport(ttype, serial); in adb_commandline()
[all …]
Dadb.h282 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char **error…
327 int handle_forward_request(const char* service, transport_type ttype, char* serial, int reply_fd);
416 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s…
Dsockets.c708 transport_type ttype = kTransportAny; in smart_socket_enqueue() local
765 ttype = kTransportUsb; in smart_socket_enqueue()
768 ttype = kTransportLocal; in smart_socket_enqueue()
771 ttype = kTransportAny; in smart_socket_enqueue()
785 if(handle_host_request(service, ttype, serial, s->peer->fd, s) == 0) { in smart_socket_enqueue()
Dadb.c1444 int handle_forward_request(const char* service, transport_type ttype, char* serial, int reply_fd) in handle_forward_request() argument
1514 transport = acquire_one_transport(CS_ANY, ttype, serial, &err); in handle_forward_request()
1555 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s) in handle_host_request() argument
1650 transport = acquire_one_transport(CS_ANY, ttype, serial, NULL); in handle_host_request()
1659 transport = acquire_one_transport(CS_ANY, ttype, serial, NULL); in handle_host_request()
1675 transport = acquire_one_transport(CS_ANY, ttype, serial, NULL); in handle_host_request()
1682 int ret = handle_forward_request(service, ttype, serial, reply_fd); in handle_host_request()
Dtransport.c794 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char** error… in acquire_one_transport() argument
829 if (ttype == kTransportUsb && t->type == kTransportUsb) { in acquire_one_transport()
838 } else if (ttype == kTransportLocal && t->type == kTransportLocal) { in acquire_one_transport()
847 } else if (ttype == kTransportAny) { in acquire_one_transport()