/tools/acloud/list/ |
D | instance.py | 322 def __init__(self, name, fullname, display, ip, status=None, adb_port=None, argument 332 self._adb_port = adb_port # adb port which is forwarding to remote 463 def adb_port(self): member in Instance 516 adb_port = ins_info.get(_ADB_HOST_PORT) or self._cf_runtime_cfg.adb_port 546 adb_port=adb_port, 704 adb_cmd = AdbTools(self.adb_port) 778 adb_port = self.console_port + 1 779 self._adb = AdbTools(adb_port=adb_port, 799 status=None, adb_port=adb_port, avd_type=constants.TYPE_GF, 948 adb_port = None [all …]
|
D | instance_test.py | 76 adb_port=6521, 106 self.assertEqual(6521, local_instance.adb_port) 199 self.assertEqual(inst.adb_port, 5555) 271 self.assertEqual(54321, forwarded_ports.adb_port) 279 self.assertEqual(None, forwarded_ports.adb_port) 297 adb_port=fake_adb, 307 self.assertEqual(instance_info.adb_port, fake_adb) 329 return_value=ForwardedPorts(vnc_port=None, adb_port=None, fastboot_port=None)) 348 adb_port=fake_adb, 376 return_value=ForwardedPorts(vnc_port=None, adb_port=None, fastboot_port=None)) [all …]
|
D | list.py | 387 def FilterInstancesByAdbPort(instances, adb_port): argument 402 if instance_object.adb_port == adb_port: 409 % (adb_port, "\n".join(all_instance_info)))
|
D | list_test.py | 140 alive_instance1.adb_port = 1111
|
/tools/acloud/reconnect/ |
D | reconnect.py | 156 adb_cmd = AdbTools(instance.adb_port) 158 adb_port = instance.adb_port 172 target_adb_port=utils.AVD_PORT_DICT[instance.avd_type].adb_port, 177 adb_port = forwarded_ports.adb_port 199 constants.ADB_PORT: adb_port, 202 if adb_port and not instance.islocal: 204 constants.REMOTE_INSTANCE_ADB_SERIAL % adb_port) 206 if (vnc_port or webrtc_port) and adb_port and fastboot_port:
|
D | reconnect_test.py | 55 instance_object.adb_port = "8686" 98 return_value=ForwardedPorts(vnc_port=11111, adb_port=22222, fastboot_port=33333)) 138 return_value=ForwardedPorts(vnc_port=None, adb_port=None, fastboot_port=None)) 178 instance_object.adb_port = "8686" 235 instance_object.adb_port = "9999"
|
/tools/acloud/public/ |
D | report.py | 188 def AddDevice(self, instance_name, ip_address, adb_port, vnc_port, argument 205 if adb_port: 206 device[constants.ADB_PORT] = adb_port 207 device[constants.IP] = "%s:%d" % (ip_address, adb_port) 227 def AddDeviceBootFailure(self, instance_name, ip_address, adb_port, argument 242 self.AddDevice(instance_name, ip_address, adb_port, vnc_port,
|
D | device_driver.py | 412 device_dict[constants.ADB_PORT] = forwarded_ports.adb_port 414 AdbTools(forwarded_ports.adb_port).AutoUnlockScreen()
|
/tools/acloud/public/actions/ |
D | common_operations.py | 312 device_dict[constants.ADB_PORT] = forwarded_port.adb_port 316 forwarded_port.adb_port) 373 for vnc_port, adb_port, fastboot_port in zip(vnc_ports, adb_ports, fastboot_ports): 378 target_adb_port=adb_port, 386 AdbTools(forwarded_port.adb_port).AutoUnlockScreen()
|
D | common_operations_test.py | 130 forwarded_ports = mock.Mock(adb_port=12345, fastboot_port=54321, vnc_port=56789) 166 forwarded_ports_1 = mock.Mock(adb_port=12345, vnc_port=56789) 167 forwarded_ports_2 = mock.Mock(adb_port=23456, vnc_port=67890) 218 forwarded_ports = mock.Mock(adb_port=12345, fastboot_port=54321, vnc_port=56789)
|
D | remote_instance_cf_device_factory_test.py | 129 args.adb_port = None 174 args.adb_port = None 206 args.adb_port = None
|
D | remote_instance_fvp_device_factory_test.py | 67 args.adb_port = None
|
/tools/acloud/create/ |
D | goldfish_local_image_local_instance.py | 201 ins.adb_port, logcat_path, 212 ins.adb_port, vnc_port=None, 218 result_report.AddDevice(ins.name, ins.ip, ins.adb_port, 466 console_port, adb_port, logcat_path, argument 501 "-ports", str(console_port) + "," + str(adb_port),
|
D | create_args.py | 942 if args.adb_port is not None: 959 if args.adb_port is not None: 960 utils.CheckPortFree(args.adb_port)
|
D | local_image_local_instance.py | 350 active_ins.adb_port, active_ins.vnc_port, 359 AdbTools(active_ins.adb_port).AutoUnlockScreen()
|
D | create_args_test.py | 32 adb_port=None,
|
/tools/acloud/delete/ |
D | delete_test.py | 84 adb_port=5555, 118 adb_port=5555, 386 args.adb_port = None 417 args.adb_port = "12345" 423 args.adb_port = None
|
D | delete.py | 432 if args.adb_port: 434 args.adb_port)
|
/tools/acloud/internal/lib/ |
D | adb_tools_test.py | 104 adb_port = "6666" 105 adb_tool = adb_tools.AdbTools(adb_port) 189 adb_cmd = adb_tools.AdbTools(adb_port=fake_adb_port,
|
D | adb_tools.py | 60 def __init__(self, adb_port=None, device_serial=""): argument 67 self._adb_port = adb_port
|
D | utils.py | 1017 return ForwardedPorts(vnc_port=None, adb_port=None, fastboot_port=None) 1027 adb_port=local_adb_port, 1205 adb_port = device.get("adb_port") 1206 if adb_port: 1207 adb_serial = constants.LOCALHOST_ADB_SERIAL % adb_port
|
D | utils_test.py | 397 result = utils.ForwardedPorts(vnc_port=None, adb_port=None, fastboot_port=None) 591 self.assertEqual(utils.GetCvdPorts().adb_port, 6521)
|
D | cvd_runtime_config.py | 221 def adb_port(self): member in CvdRuntimeConfig
|
D | cvd_compute_client_multi_stage_test.py | 118 self.args.adb_port = None
|
/tools/asuite/atest/tools/ |
D | atest_tools.py | 481 adb_port = result.get('data').get('devices')[0].get('adb_port')
|