Searched refs:adb_port (Results 1 - 4 of 4) sorted by relevance
/system/core/adb/ |
H A D | transport_local.c | 112 int local_connect_arbitrary_ports(int console_port, int adb_port) argument 120 fd = socket_network_client(host, adb_port, SOCK_STREAM); 124 fd = socket_loopback_client(adb_port, SOCK_STREAM); 132 register_socket_transport(fd, buf, adb_port, 1); 365 atransport* find_emulator_transport_by_adb_port_locked(int adb_port) argument 369 if (local_transports[i] && local_transports[i]->adb_port == adb_port) { 376 atransport* find_emulator_transport_by_adb_port(int adb_port) argument 379 atransport* result = find_emulator_transport_by_adb_port_locked(adb_port); 405 int init_socket_transport(atransport *t, int s, int adb_port, in argument [all...] |
H A D | services.c | 484 int adb_port = strtol(port_separator, NULL, 0); local 485 if (!(console_port > 0 && adb_port > 0)) { 500 atransport* known_emulator = find_emulator_transport_by_adb_port(adb_port); 503 "Emulator on port %d already registered.", adb_port); 516 if (!local_connect_arbitrary_ports(console_port, adb_port)) { 518 "Connected to emulator on ports %d,%d", console_port, adb_port); 522 console_port, adb_port);
|
H A D | adb.h | 197 int adb_port; // Use for emulators (local transport) member in struct:atransport 305 atransport* find_emulator_transport_by_adb_port(int adb_port); 440 int local_connect_arbitrary_ports(int console_port, int adb_port);
|
H A D | transport.c | 1081 if (t->type == kTransportLocal && t->adb_port == 0) {
|
Completed in 49 milliseconds