Home
last modified time | relevance | path

Searched refs:server_port (Results 1 – 10 of 10) sorted by relevance

/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dsocket_test_utils.py59 server_ip, server_port): argument
71 client.droid.connectSocket(client_fd, server_ip, server_port)
78 server_ip, server_port): argument
97 client.droid.sendDataOverSocket(server_ip, server_port, msg, client_fd)
138 server_ip, server_port): argument
158 server_port)
171 def _accept_socket(server, server_ip, server_port, server_sock, q): argument
177 def _client_socket(client, server_ip, server_port, client_ip, client_port, q): argument
179 sock = client.droid.openTcpSocket(server_ip, server_port, client_ip,
186 server_port, server_sock): argument
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Dsl4a_manager.py124 return set([session.server_port for session in self.sessions.values()])
231 def obtain_sl4a_server(self, server_port): argument
237 if server_port not in self.sl4a_ports_in_use:
238 return self.start_sl4a_server(server_port)
240 return server_port
246 server_port=None): argument
264 if server_port is None:
267 server_port = self.sessions[sorted(
268 self.sessions.keys())[0]].server_port
271 server_port = 0
[all …]
Dsl4a_session.py86 self.server_port = device_port
101 host_port, self.forwarded_port, self.server_port),
110 def _create_forwarded_port(self, server_port, hinted_port=0): argument
130 return self.adb.tcp_forward(hinted_port, server_port)
136 (hinted_port, server_port, e.stderr))
138 return self._create_forwarded_port(server_port)
159 ports.server_port = self.obtain_server_port(ports.server_port)
160 self.server_port = ports.server_port
163 ports.server_port, hinted_port=ports.forwarded_port)
Dsl4a_ports.py27 def __init__(self, client_port=0, forwarded_port=0, server_port=0): argument
30 self.server_port = server_port
34 self.server_port)
Derror_reporter.py166 adb.serial, ports.forwarded_port, ports.server_port)
195 if session.server_port not in sl4a_manager.sl4a_ports_in_use:
197 'ports %s' % (session.server_port,
204 (session.uid, session.server_port))
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/abstract_devices/
Dwmm_transceiver.py232 server_port) = self._get_stream_resources(uuid, receiver, subnet)
241 server_port,
268 server_port) = self._get_stream_resources(uuid, receiver, subnet)
275 'server_port': server_port,
298 server_port = pending_stream_config['server_port']
306 server_port,
391 server_port, argument
439 iperf_flags = '-p %s -i 1 %s%s%s -J' % (server_port, time_flag,
446 % (time_str, stream_time, server_ip, server_port, access_category,
476 server_ip, server_port = self._get_server(receiver, uuid, subnet)
[all …]
/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/
Dsl4a_manager_test.py129 session_1.server_port = 12345
132 session_2.server_port = 15973
135 session_3.server_port = 12345
138 session_4.server_port = 67890
141 session_5.server_port = 75638
345 session_1.server_port = 12345
347 session_2.server_port = 67890
349 session_3.server_port = 67890
359 self.assertEqual(created_session.server_port, session_1.server_port)
377 self.assertEqual(created_session.server_port, 0)
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py250 server_port = None
253 server_port = int(c.pop(ANDROID_DEVICE_SL4A_SERVER_PORT_KEY))
276 server_port=server_port)
408 server_port=None): argument
416 self.server_port = server_port
747 format(self.client_port, self.forwarded_port, self.server_port))
751 server_port=self.server_port)
1297 def start_new_session(self, max_connections=None, server_port=None): argument
1311 max_connections=max_connections, server_port=server_port)
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/functional/
DSoftApTest.py415 def run_iperf_traffic(self, ip_client, server_address, server_port=5201): argument
432 server_address, '-i 1 -t 10 -J -p %s' % server_port,
450 server_address, '-i 1 -t 10 -R -J -p %s' % server_port,
468 server_port=5201): argument
481 server_port=server_port)
/tools/tradefederation/core/javatests/res/testtype/
Dpython_output1.txt45 self.assertEqual(_devices(server_port), [[device_name, "offline"]])