Home
last modified time | relevance | path

Searched refs:client_port (Results 1 – 8 of 8) sorted by relevance

/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Dsl4a_ports.py27 def __init__(self, client_port=0, forwarded_port=0, server_port=0): argument
28 self.client_port = client_port
33 return '(%s, %s, %s)' % (self.client_port, self.forwarded_port,
Dsl4a_session.py199 if ports.client_port != 0:
201 client_socket.bind((socket.gethostname(), ports.client_port))
207 ports.client_port)
208 ports.client_port = 0
227 ports.client_port = 0
230 ports.client_port = client_socket.getsockname()[1]
Dsl4a_manager.py246 client_port=0, argument
276 .format(client_port, forwarded_port, server_port))
279 client_port,
Drpc_connection.py62 self.ports.client_port,
/tools/test/connectivity/acts_tests/tests/google/net/
DSocketKeepaliveTest.py295 client_port = random.randint(8000, 9000)
299 return client_port, time_interval
301 def _open_tcp_socket_and_connect(self, client_port, server_ip=None): argument
316 client_port)
377 client_port, time_interval = self._get_client_port_and_time_interval()
380 self.log.info("Client port: %s" % client_port)
382 sock, cport_server = self._open_tcp_socket_and_connect(client_port)
456 client_port = random.randint(8000, 9000)
457 self.log.info("Client port: %s" % client_port)
458 sock, cport_server = self._open_tcp_socket_and_connect(client_port,
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dsocket_test_utils.py179 def _client_socket(client, server_ip, server_port, client_ip, client_port, q): argument
184 client_port)
192 client_port, argument
216 client_port, cq))
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py239 client_port = 0
242 client_port = int(c.pop(ANDROID_DEVICE_SL4A_CLIENT_PORT_KEY))
271 client_port=client_port,
403 client_port=0, argument
411 self.client_port = client_port
702 format(self.client_port, self.forwarded_port, self.server_port))
704 client_port=self.client_port,
/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/
Dsl4a_session_test.py99 self.assertEqual(fn.call_args_list[0][0][0].client_port, 0)
144 self.assertEqual(fn.call_args_list[0][0][0].client_port, 0)