/tools/test/connectivity/acts/framework/acts/controllers/ |
adb.py | 155 def tcp_forward(self, host_port, device_port): 159 host_port: Port number to use on localhost 169 remote_port, local_port=host_port) 170 host_port = remote_port 171 self.forward("tcp:%d tcp:%d" % (host_port, device_port)) 173 def remove_tcp_forward(self, host_port): 177 host_port: Port number to use on localhost 180 remote_port = self._ssh_connection.close_ssh_tunnel(host_port) 183 host_port) 186 host_port = remote_por [all...] |
android_device.py | 366 host_port=None, 370 self.h_port = host_port [all...] |
/external/libmojo/third_party/catapult/devil/devil/android/ |
forwarder.py | 70 port_pairs: A list of tuples (device_port, host_port) to forward. Note 92 '--map', str(device_port), str(host_port)] 93 for device_port, host_port in port_pairs] 121 'expected "device_port:host_port"' % output) 123 host_port = int(tokens[1]) 125 instance._device_to_host_port_map[serial_with_port] = host_port 126 instance._host_to_device_port_map[host_port] = serial_with_port 128 device_port, host_port) 147 port_pairs: A list of tuples (device_port, host_port) to unmap. 165 def DevicePortForHostPort(host_port) [all...] |
ports.py | 86 def IsHostPortAvailable(host_port): 90 host_port: Port on host to check. 98 s.bind(('', host_port))
|
/test/vts/utils/python/controllers/ |
adb.py | 165 def tcp_forward(self, host_port, device_port): 169 host_port: Port number to use on the computer. 172 self.forward("tcp:{} tcp:{}".format(host_port, device_port)) 174 def reverse_tcp_forward(self, device_port, host_port): 179 host_port: Port number to use on the computer. 181 self.reverse("tcp:{} tcp:{}".format(device_port, host_port))
|
/external/chromium-trace/catapult/devil/devil/android/ |
forwarder.py | 116 port_pairs: A list of tuples (device_port, host_port) to forward. Note 138 '--map', str(device_port), str(host_port)] 139 for device_port, host_port in port_pairs] 178 'expected "device_port:host_port"' % output) 180 host_port = int(tokens[1]) 182 instance._device_to_host_port_map[serial_with_port] = host_port 183 instance._host_to_device_port_map[host_port] = serial_with_port 185 device_port, host_port) 204 port_pairs: A list of tuples (device_port, host_port) to unmap. 232 for device_serial_and_port, host_port in device_map.items() [all...] |
ports.py | 86 def IsHostPortAvailable(host_port): 90 host_port: Port on host to check. 98 s.bind(('', host_port))
|
/external/python/cpython2/Doc/library/ |
smtpd.rst | 27 *localaddr* and *remoteaddr* should be a :ref:`(host, port) <host_port>`
|
/frameworks/rs/tests/lldb/ |
config.py | 38 def host_port(self): member in class:Config
|
run_tests.py | 183 self.host_port = int(_choice(args.host_port, config.host_port)) 499 hport = int(state.host_port) + state.port_mod
|
README.txt | 48 [--host-port HOST_PORT] 89 --host-port HOST_PORT
|
/external/curl/lib/ |
http_proxy.c | 172 char *host_port; local 190 host_port = aprintf("%s:%hu", hostname, remote_port); 191 if(!host_port) { 197 result = Curl_http_output_auth(conn, "CONNECT", host_port, TRUE); 199 free(host_port);
|
/external/openssh/ |
channels.c | 1202 c->host_port = ntohs(s4_req.dest_port); 1205 c->self, c->path, c->host_port, s4_req.command); 3053 u_short host_port; local [all...] |
channels.h | 129 int host_port; /* remote port to connect for forwards */ member in struct:Channel
|
/external/python/cpython2/Demo/rpc/ |
rpc.py | 815 call, host_port = self.sock.recvfrom(8192) 818 self.sock.sendto(reply, host_port)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_httplib.py | 207 # Check invalid host_port 507 # Check invalid host_port
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_httplib.py | 207 # Check invalid host_port 507 # Check invalid host_port
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_httplib.py | 207 # Check invalid host_port 507 # Check invalid host_port
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_httplib.py | 207 # Check invalid host_port 507 # Check invalid host_port
|
/cts/apps/CameraITS/pymodules/its/ |
device.py | 48 # Open a connection to localhost:<host_port>, forwarded to port 6000 on the 49 # device. <host_port> is determined at run-time to support multiple 137 # "<device_id> tcp:<host_port> tcp:<remote_port>" [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_httplib.py | 153 # Check invalid host_port
|
/external/python/cpython2/Lib/test/ |
test_httplib.py | 449 # Check invalid host_port [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
urllib.py | [all...] |
/external/python/cpython2/Lib/ |
urllib.py | [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
urllib.py | [all...] |