/system/core/adb/ |
transport_local.c | 109 int local_connect_arbitrary_ports(int console_port, int adb_port) 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); 237 atransport* find_emulator_transport_by_adb_port_locked(int adb_port) 241 if (local_transports[i] && local_transports[i]->adb_port == adb_port) { 248 atransport* find_emulator_transport_by_adb_port(int adb_port) 251 atransport* result = find_emulator_transport_by_adb_port_locked(adb_port); 277 int init_socket_transport(atransport *t, int s, int adb_port, int local [all...] |
adb.h | 188 int adb_port; // Use for emulators (local transport) member in struct:atransport 291 atransport* find_emulator_transport_by_adb_port(int adb_port); 410 int local_connect_arbitrary_ports(int console_port, int adb_port);
|
adb.c | 1040 int adb_port = strtol(port_separator, NULL, 0); local 1041 if (!(console_port > 0 && adb_port > 0)) { 1056 atransport* known_emulator = find_emulator_transport_by_adb_port(adb_port); 1059 "Emulator on port %d already registered.", adb_port); 1072 if (!local_connect_arbitrary_ports(console_port, adb_port)) { 1074 "Connected to emulator on ports %d,%d", console_port, adb_port); 1078 console_port, adb_port); [all...] |
transport.c | 940 if (t->type == kTransportLocal && t->adb_port == 0) {
|
/external/qemu/android/ |
qemu-setup.c | 244 if (opts->adb_port) { 265 int adb_port = strtol( comma_location+1, &end, 0 ); local 272 if ( console_port == adb_port ) { 279 slirp_redir( 0, adb_port, guest_ip, 5555 ); 281 slirp_unredir( 0, adb_port );
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
AndroidDebugBridge.java | 59 final static int ADB_PORT = 5037; 1078 int adb_port = determineAndValidateAdbPort(); local [all...] |