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.py301 self.close_ssh_tunnel(self._tunnels[0].local_port)
321 def create_ssh_tunnel(self, port, local_port=None): argument
335 if local_port is None:
336 local_port = host_utils.get_available_host_port()
340 return tunnel.local_port
346 '-L': '%d:localhost:%d' % (local_port, port),
360 ' remote = %d, pid = %d', local_port, port,
362 self._tunnels.append(_Tunnel(local_port, port, tunnel_proc))
363 return local_port
365 def close_ssh_tunnel(self, local_port): argument
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/
Dadb.py100 local_port = ssh_connection.create_ssh_tunnel(5037)
101 AdbProxy._SERVER_LOCAL_PORT = local_port
104 adb_cmd.append("-P %d" % local_port)
211 remote_port, local_port=host_port)