/tools/acloud/list/ |
D | instance.py | 194 def __init__(self, name, fullname, display, ip, status=None, adb_port=None, argument 203 self._adb_port = adb_port # adb port which is forwarding to remote 309 def adb_port(self): member in Instance 344 {"device_serial": "127.0.0.1:%s" % self._cf_runtime_cfg.adb_port, 347 adb_device = AdbTools(self._cf_runtime_cfg.adb_port) 355 adb_port=self._cf_runtime_cfg.adb_port, 443 adb_cmd = AdbTools(self.adb_port) 493 adb_port = self.console_port + 1 509 adb = AdbTools(adb_port) 515 status=None, adb_port=adb_port, avd_type=constants.TYPE_GF, [all …]
|
D | instance_test.py | 72 adb_port=6521, 88 self.assertEqual(6521, local_instance.adb_port) 102 self.assertEqual(inst.adb_port, 5555) 194 self.assertEqual(54321, forwarded_ports.adb_port) 201 self.assertEqual(None, forwarded_ports.adb_port) 215 return_value=forwarded_ports(vnc_port=fake_vnc, adb_port=fake_adb)) 222 self.assertEqual(instance_info.adb_port, fake_adb) 244 return_value=forwarded_ports(vnc_port=None, adb_port=None)) 261 return_value=forwarded_ports(vnc_port=fake_vnc, adb_port=fake_adb)) 284 return_value=forwarded_ports(vnc_port=None, adb_port=None))
|
D | list.py | 307 def FilterInstancesByAdbPort(instances, adb_port): argument 322 if instance_object.adb_port == adb_port: 329 % (adb_port, "\n".join(all_instance_info)))
|
D | list_test.py | 95 alive_instance1.adb_port = 1111
|
/tools/acloud/reconnect/ |
D | reconnect.py | 172 adb_cmd = AdbTools(instance.adb_port) 174 adb_port = instance.adb_port 186 target_adb_port=utils.AVD_PORT_DICT[instance.avd_type].adb_port, 190 adb_port = forwarded_ports.adb_port 220 constants.ADB_PORT: adb_port 223 if vnc_port and adb_port:
|
D | reconnect_test.py | 46 instance_object.adb_port = "8686" 85 return_value=ForwardedPorts(vnc_port=11111, adb_port=22222)) 120 return_value=ForwardedPorts(vnc_port=None, adb_port=None)) 158 instance_object.adb_port = "8686" 190 instance_object.adb_port = "9999"
|
/tools/acloud/create/ |
D | goldfish_local_image_local_instance.py | 192 adb = adb_tools.AdbTools(adb_port=inst.adb_port, 206 inst.adb_port, extra_args) 216 inst.adb_port, vnc_port=None, 220 result_report.AddDevice(inst.name, inst.ip, inst.adb_port, 422 console_port, adb_port, extra_args): argument 456 "-ports", str(console_port) + "," + str(adb_port),
|
D | create_args.py | 580 if args.num > 1 and args.adb_port: 593 if args.adb_port: 594 utils.CheckPortFree(args.adb_port)
|
D | local_image_local_instance.py | 132 active_ins.adb_port, active_ins.vnc_port) 139 AdbTools(active_ins.adb_port).AutoUnlockScreen()
|
D | create_args_test.py | 30 adb_port=None,
|
D | local_image_local_instance_test.py | 94 adb_port=6520,
|
/tools/acloud/public/ |
D | report.py | 161 def AddDevice(self, instance_name, ip_address, adb_port, vnc_port, argument 173 if adb_port: 174 device[constants.ADB_PORT] = adb_port 175 device[constants.IP] = "%s:%d" % (ip_address, adb_port) 183 def AddDeviceBootFailure(self, instance_name, ip_address, adb_port, argument 194 self.AddDevice(instance_name, ip_address, adb_port, vnc_port,
|
D | device_driver.py | 410 device_dict[constants.ADB_PORT] = forwarded_ports.adb_port 412 AdbTools(forwarded_ports.adb_port).AutoUnlockScreen()
|
/tools/acloud/public/actions/ |
D | remote_instance_cf_device_factory_test.py | 105 args.adb_port = None 149 args.adb_port = None 181 args.adb_port = None 208 args.adb_port = None 260 args.adb_port = None
|
D | common_operations.py | 249 target_adb_port=utils.AVD_PORT_DICT[avd_type].adb_port, 254 device_dict[constants.ADB_PORT] = forwarded_ports.adb_port 256 AdbTools(forwarded_ports.adb_port).AutoUnlockScreen()
|
D | remote_instance_fvp_device_factory_test.py | 67 args.adb_port = None
|
/tools/acloud/delete/ |
D | delete.py | 165 adb = adb_tools.AdbTools(adb_port=instance.adb_port, 271 if args.adb_port: 273 args.adb_port)
|
D | delete_test.py | 51 mock_instance = mock.Mock(adb_port=5555, 79 mock_instance = mock.Mock(adb_port=5555,
|
/tools/acloud/internal/lib/ |
D | utils.py | 904 return ForwardedPorts(vnc_port=None, adb_port=None) 914 adb_port=local_adb_port) 1071 adb_port = device.get("adb_port") 1072 if adb_port: 1073 adb_serial = constants.LOCALHOST_ADB_SERIAL % adb_port
|
D | adb_tools.py | 57 def __init__(self, adb_port=None, device_serial=""): argument 65 self._adb_port = adb_port
|
D | cvd_runtime_config_test.py | 113 self.assertEqual(fake_cvd_runtime_config_webrtc.adb_port, 6520)
|
D | cvd_runtime_config.py | 207 def adb_port(self): member in CvdRuntimeConfig
|
D | adb_tools_test.py | 162 adb_cmd = adb_tools.AdbTools(adb_port=fake_adb_port,
|
D | cvd_compute_client_test.py | 154 args.adb_port = None
|
/tools/asuite/atest/tools/ |
D | atest_tools.py | 427 adb_port = result.get('data').get('devices')[0].get('adb_port') 428 os.environ[constants.ANDROID_SERIAL] = '127.0.0.1:{}'.format(adb_port)
|