Home
last modified time | relevance | path

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

/system/core/adb/client/
Dtransport_local.cpp239 EmulatorConnection(unique_fd fd, int local_port) in EmulatorConnection()
240 : FdConnection(std::move(fd)), local_port_(local_port) {} in EmulatorConnection()
/system/core/adb/
Dsysdeps_win32.cpp1183 int local_port = -1; in adb_socketpair() local
1192 local_port = adb_socket_get_local_port(server); in adb_socketpair()
1193 if (local_port < 0) { in adb_socketpair()
1197 D("adb_socketpair: bound on port %d", local_port); in adb_socketpair()
1199 client = network_loopback_client(local_port, SOCK_STREAM, &error); in adb_socketpair()
Dtest_device.py1468 local_port = int(self.device.forward("tcp:0", "tcp:12345"))
1481 sock = socket.create_connection(("localhost", local_port))
1490 self.device.forward_remove("tcp:{}".format(local_port))