Home
last modified time | relevance | path

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

/system/core/adb/client/
Dtransport_local.cpp136 int local_connect_arbitrary_ports(int console_port, int adb_port, std::string* error) { in local_connect_arbitrary_ports() argument
140 find_emulator_transport_by_console_port(console_port) != nullptr) { in local_connect_arbitrary_ports()
157 std::string serial = getEmulatorSerialString(console_port); in local_connect_arbitrary_ports()
276 atransport* find_emulator_transport_by_console_port(int console_port) { in find_emulator_transport_by_console_port() argument
277 return find_transport(getEmulatorSerialString(console_port).c_str()); in find_emulator_transport_by_console_port()
280 std::string getEmulatorSerialString(int console_port) { in getEmulatorSerialString() argument
281 return android::base::StringPrintf("emulator-%d", console_port); in getEmulatorSerialString()
/system/core/adb/
Dservices.cpp106 int console_port = strtol(pieces[0].c_str(), nullptr, 0); in connect_emulator() local
108 if (console_port <= 0 || adb_port <= 0) { in connect_emulator()
128 if (!local_connect_arbitrary_ports(console_port, adb_port, &error)) { in connect_emulator()
130 console_port, adb_port); in connect_emulator()
133 console_port, adb_port, error.c_str()); in connect_emulator()
Dadb.h141 std::string getEmulatorSerialString(int console_port);
144 atransport* find_emulator_transport_by_console_port(int console_port);
201 int local_connect_arbitrary_ports(int console_port, int adb_port, std::string* error);