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()
1348 int local_port = -1; in adb_socketpair() local1357 local_port = adb_socket_get_local_port(server); in adb_socketpair()1358 if (local_port < 0) { in adb_socketpair()1362 D("adb_socketpair: bound on port %d", local_port); in adb_socketpair()1364 client = network_loopback_client(local_port, SOCK_STREAM, &error); in adb_socketpair()
1494 local_port = int(self.device.forward("tcp:0", "tcp:12345"))1507 sock = socket.create_connection(("localhost", local_port))1516 self.device.forward_remove("tcp:{}".format(local_port))