Searched defs:adb_port (Results 1 - 2 of 2) sorted by relevance
/system/core/adb/ |
H A D | services.cpp | 389 int adb_port = strtol(pieces[1].c_str(), NULL, 0); local 390 if (console_port <= 0 || adb_port <= 0) { 402 atransport* known_emulator = find_emulator_transport_by_adb_port(adb_port); 404 *response = android::base::StringPrintf("Emulator already registered on port %d", adb_port); 418 if (!local_connect_arbitrary_ports(console_port, adb_port, &error)) { 420 console_port, adb_port); 423 console_port, adb_port, error.c_str());
|
H A D | transport_local.cpp | 145 int local_connect_arbitrary_ports(int console_port, int adb_port, std::string* error) { argument 149 if (find_emulator_transport_by_adb_port(adb_port) != nullptr || 156 fd = network_connect(host, adb_port, SOCK_STREAM, 0, error); 160 fd = network_loopback_client(adb_port, SOCK_STREAM, error); 168 if (register_socket_transport(fd, serial.c_str(), adb_port, 1) == 0) { 465 static atransport* find_emulator_transport_by_adb_port_locked(int adb_port) argument 471 if (local_port == adb_port) { 484 atransport* find_emulator_transport_by_adb_port(int adb_port) argument 487 atransport* result = find_emulator_transport_by_adb_port_locked(adb_port); 517 int init_socket_transport(atransport *t, int s, int adb_port, in argument [all...] |
Completed in 49 milliseconds