Home | History | Annotate | Download | only in android

Lines Matching refs:host_port

121       port_pairs: A list of tuples (device_port, host_port) to forward. Note
143 '--map', str(device_port), str(host_port)]
144 for device_port, host_port in port_pairs]
183 'expected "device_port:host_port"' % output)
185 host_port = int(tokens[1])
187 instance._device_to_host_port_map[serial_with_port] = host_port
188 instance._host_to_device_port_map[host_port] = serial_with_port
190 device_port, host_port)
209 port_pairs: A list of tuples (device_port, host_port) to unmap.
237 for device_serial_and_port, host_port in device_map.items():
241 del host_map[host_port]
248 def DevicePortForHostPort(host_port):
252 None)._host_to_device_port_map.get(host_port)
313 host_port = instance._device_to_host_port_map[serial_with_port]
315 del instance._host_to_device_port_map[host_port]