Home | History | Annotate | Download | only in android

Lines Matching refs:host_port

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):
169 None)._host_to_device_port_map.get(host_port)
239 host_port = instance._device_to_host_port_map[serial_with_port]
241 del instance._host_to_device_port_map[host_port]