Home
last modified time | relevance | path

Searched refs:ports (Results 1 – 6 of 6) sorted by relevance

/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Dsl4a_session.py96 ports=sl4a_ports.Sl4aPorts(host_port, 0, self.server_port),
105 def _create_rpc_connection(self, ports=None, uid=UNKNOWN_UID): argument
120 if ports is None:
121 ports = sl4a_ports.Sl4aPorts(0, 0, 0)
123 ports.server_port = self.obtain_server_port(ports.server_port)
124 self.server_port = ports.server_port
126 ports.forwarded_port = int(self.adb.tcp_forward(0, ports.server_port))
127 client_socket, fd = self._create_client_side_connection(ports)
129 self.adb, ports, client_socket, fd, uid=uid)
146 def _create_client_side_connection(self, ports): argument
[all …]
Drpc_connection.py51 def __init__(self, adb, ports, client_socket, socket_fd, uid=UNKNOWN_UID): argument
66 self.ports = ports
96 'UID not received for connection %s.' % self.ports)
98 self.log.debug('Created connection over: %s.' % self.ports)
136 self.adb.remove_tcp_forward(self.ports.forwarded_port)
Derror_reporter.py159 'Diagnosing Failure over connection %s.' % rpc_connection.ports)
161 ports = rpc_connection.ports
165 ports.forwarded_port,
166 ports.server_port)
Dsl4a_manager.py292 ports = self._get_all_ports()
293 for port in set.union(self._sl4a_ports, ports):
Drpc_client.py134 'Closing connection over ports %s' % connection.ports)
/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/
Drpc_connection_test.py54 ports = mock.Mock()
57 adb, ports, fake_conn, fake_file, uid=uid)