Searched defs:adb_port (Results 1 - 3 of 3) sorted by relevance

/system/core/adb/
H A Dtransport_local.c109 int local_connect_arbitrary_ports(int console_port, int adb_port) argument
117 fd = socket_network_client(host, adb_port, SOCK_STREAM);
121 fd = socket_loopback_client(adb_port, SOCK_STREAM);
129 register_socket_transport(fd, buf, adb_port, 1);
362 atransport* find_emulator_transport_by_adb_port_locked(int adb_port) argument
366 if (local_transports[i] && local_transports[i]->adb_port == adb_port) {
373 atransport* find_emulator_transport_by_adb_port(int adb_port) argument
376 atransport* result = find_emulator_transport_by_adb_port_locked(adb_port);
402 int init_socket_transport(atransport *t, int s, int adb_port, in argument
[all...]
H A Dadb.c1292 int adb_port = strtol(port_separator, NULL, 0); local
1293 if (!(console_port > 0 && adb_port > 0)) {
1308 atransport* known_emulator = find_emulator_transport_by_adb_port(adb_port);
1311 "Emulator on port %d already registered.", adb_port);
1324 if (!local_connect_arbitrary_ports(console_port, adb_port)) {
1326 "Connected to emulator on ports %d,%d", console_port, adb_port);
1330 console_port, adb_port);
H A Dadb.h200 int adb_port; // Use for emulators (local transport) member in struct:atransport
308 atransport* find_emulator_transport_by_adb_port(int adb_port);
443 int local_connect_arbitrary_ports(int console_port, int adb_port);

Completed in 27 milliseconds