Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/acts/test_utils/net/
Dsocket_test_utils.py61 server_port): argument
73 client.droid.connectSocket(client_fd, server_ip, server_port)
83 server_port): argument
102 client.droid.sendDataOverSocket(server_ip, server_port, msg, client_fd)
142 server_port): argument
164 server_port)
174 def _accept_socket(server, server_ip, server_port, server_sock, q): argument
179 def _client_socket(client, server_ip, server_port, client_ip, client_port, q): argument
182 server_port,
193 server_port, argument
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Dsl4a_manager.py122 return set([session.server_port for session in self.sessions.values()])
233 def obtain_sl4a_server(self, server_port): argument
239 if server_port not in self.sl4a_ports_in_use:
240 return self.start_sl4a_server(server_port)
242 return server_port
247 server_port=None): argument
263 if server_port is None:
266 server_port = self.sessions[sorted(
267 self.sessions.keys())[0]].server_port
270 server_port = 0
[all …]
Dsl4a_session.py82 self.server_port = device_port
98 ports=sl4a_ports.Sl4aPorts(host_port, 0, self.server_port),
107 def _create_forwarded_port(self, server_port, hinted_port=0): argument
127 return self.adb.tcp_forward(hinted_port, server_port)
133 (hinted_port, server_port, e.stderr))
135 return self._create_forwarded_port(server_port)
156 ports.server_port = self.obtain_server_port(ports.server_port)
157 self.server_port = ports.server_port
159 ports.forwarded_port = self._create_forwarded_port(ports.server_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 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/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/test_utils/coex/
DCoexBaseTest.py200 def start_iperf_server_on_shell(self, server_port): argument
207 "iPerf{}".format(server_port))
208 self.iperf_server = "iperf3 -s -p {} -J".format(server_port)
212 server_port,
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py1048 def start_new_session(self, max_connections=None, server_port=None): argument
1062 max_connections=max_connections, server_port=server_port)
/tools/tradefederation/core/tests/res/testtype/
Dpython_output1.txt45 self.assertEqual(_devices(server_port), [[device_name, "offline"]])