Home
last modified time | relevance | path

Searched refs:console_port (Results 1 – 3 of 3) sorted by relevance

/system/core/adb/
Dtransport_local.cpp110 int local_connect_arbitrary_ports(int console_port, int adb_port, std::string* error) { in local_connect_arbitrary_ports() argument
115 find_emulator_transport_by_console_port(console_port) != nullptr) { in local_connect_arbitrary_ports()
132 std::string serial = getEmulatorSerialString(console_port); in local_connect_arbitrary_ports()
430 std::string getEmulatorSerialString(int console_port) { in getEmulatorSerialString() argument
431 return android::base::StringPrintf("emulator-%d", console_port); in getEmulatorSerialString()
439 atransport* find_emulator_transport_by_console_port(int console_port) { in find_emulator_transport_by_console_port() argument
440 return find_transport(getEmulatorSerialString(console_port).c_str()); in find_emulator_transport_by_console_port()
Dadb.h137 std::string getEmulatorSerialString(int console_port);
140 atransport* find_emulator_transport_by_console_port(int console_port);
192 int local_connect_arbitrary_ports(int console_port, int adb_port, std::string* error);
Dservices.cpp390 int console_port = strtol(pieces[0].c_str(), NULL, 0); in connect_emulator() local
392 if (console_port <= 0 || adb_port <= 0) { in connect_emulator()
412 if (!local_connect_arbitrary_ports(console_port, adb_port, &error)) { in connect_emulator()
414 console_port, adb_port); in connect_emulator()
417 console_port, adb_port, error.c_str()); in connect_emulator()