Searched refs:device_port (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/tools/android/forwarder2/ |
D | host_forwarder_main.cc | 105 int device_port, in HandleRequest() argument 114 base::Unretained(this), device_serial, device_port, host_port, in HandleRequest() 124 static std::string MakeHostControllerMapKey(int adb_port, int device_port) { in MakeHostControllerMapKey() argument 125 return base::StringPrintf("%d:%d", adb_port, device_port); in MakeHostControllerMapKey() 154 controller->adb_port(), controller->device_port()), in DeleteHostController() 159 int device_port, in HandleRequestOnInternalThread() argument 170 if (device_port < 0) { in HandleRequestOnInternalThread() 173 adb_port, -device_port); in HandleRequestOnInternalThread() 187 const bool use_dynamic_port_allocation = device_port == 0; in HandleRequestOnInternalThread() 190 adb_port, device_port); in HandleRequestOnInternalThread() [all …]
|
D | host_controller.cc | 22 int device_port, in Create() argument 39 command::LISTEN, device_port, adb_control_socket.get()); in Create() 46 LOG(ERROR) << "Device binding error using port " << device_port; in Create() 68 int device_port, in HostController() argument 76 device_port_(device_port), in HostController()
|
D | host_controller.h | 41 static scoped_ptr<HostController> Create(int device_port, 54 int device_port() const { return device_port_; } in device_port() function 57 HostController(int device_port,
|
/external/chromium_org/build/android/pylib/ |
D | forwarder.py | 93 ['--serial-id=' + device_serial, '--map', str(device_port), 94 str(host_port)] for device_port, host_port in port_pairs] 114 device_port = int(tokens[0]) 116 serial_with_port = (device_serial, device_port) 120 device_port, host_port) 123 def UnmapDevicePort(device_port, device): argument 134 Forwarder._UnmapDevicePortLocked(device_port, device) 155 for (device_serial, device_port) in port_map.keys(): 157 Forwarder._UnmapDevicePortLocked(device_port, device) 166 (_device_serial, device_port) = Forwarder._GetInstanceLocked( [all …]
|
D | ports.py | 104 def IsDevicePortUsed(device, device_port, state=''): argument 116 base_url = '127.0.0.1:%d' % device_port
|
D | chrome_test_server_spawner.py | 244 device_port = Forwarder.DevicePortForHostPort(self.host_port) 245 if device_port and _CheckDevicePortStatus(self.device, device_port): 247 self.forwarder_device_port = device_port
|
D | android_commands.py | 1674 def ProcessesUsingDevicePort(self, device_port): argument 1684 tcp_address = '0100007F:%04X' % device_port
|
/external/chromium_org/build/android/pylib/base/ |
D | base_test_runner.py | 127 for (device_port, _) in port_pairs: 128 Forwarder.UnmapDevicePort(device_port, self.device)
|