Home
last modified time | relevance | path

Searched refs:local_port (Results 1 – 2 of 2) sorted by relevance

/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/
Dconnection.py284 self.close_ssh_tunnel(self._tunnels[0].local_port)
304 def create_ssh_tunnel(self, port, local_port=None): argument
318 if local_port is None:
319 local_port = host_utils.get_available_host_port()
323 return tunnel.local_port
329 '-L': '%d:localhost:%d' % (local_port, port),
343 ' remote = %d, pid = %d', local_port, port,
345 self._tunnels.append(_Tunnel(local_port, port, tunnel_proc))
346 return local_port
348 def close_ssh_tunnel(self, local_port): argument
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/
Dadb.py99 local_port = ssh_connection.create_ssh_tunnel(5037)
100 AdbProxy._SERVER_LOCAL_PORT = local_port
103 adb_cmd.append("-P %d" % local_port)
154 remote_port, local_port=host_port)