Searched refs:local_port (Results 1 – 3 of 3) sorted by relevance
239 EmulatorConnection(unique_fd fd, int local_port) in EmulatorConnection()240 : FdConnection(std::move(fd)), local_port_(local_port) {} in EmulatorConnection()
1183 int local_port = -1; in adb_socketpair() local1192 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()
1468 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))