Home
last modified time | relevance | path

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

/system/core/adb/
Dservices.cpp155 int console_port = strtol(pieces[0].c_str(), nullptr, 0); in connect_emulator() local
157 if (console_port <= 0 || adb_port <= 0) { in connect_emulator()
177 if (!local_connect_arbitrary_ports(console_port, adb_port, &error)) { in connect_emulator()
179 console_port, adb_port); in connect_emulator()
182 console_port, adb_port, error.c_str()); in connect_emulator()
Dtransport_local.cpp151 int local_connect_arbitrary_ports(int console_port, int adb_port, std::string* error) { in local_connect_arbitrary_ports() argument
156 find_emulator_transport_by_console_port(console_port) != nullptr) { in local_connect_arbitrary_ports()
173 std::string serial = getEmulatorSerialString(console_port); in local_connect_arbitrary_ports()
362 atransport* find_emulator_transport_by_console_port(int console_port) { in find_emulator_transport_by_console_port() argument
363 return find_transport(getEmulatorSerialString(console_port).c_str()); in find_emulator_transport_by_console_port()
367 std::string getEmulatorSerialString(int console_port) { in getEmulatorSerialString() argument
368 return android::base::StringPrintf("emulator-%d", console_port); in getEmulatorSerialString()
Dadb.h139 std::string getEmulatorSerialString(int console_port);
142 atransport* find_emulator_transport_by_console_port(int console_port);
205 int local_connect_arbitrary_ports(int console_port, int adb_port, std::string* error);