/tools/acloud/list/ |
D | instance.py | 233 def __init__(self, name, fullname, display, ip, status=None, adb_port=None, argument 243 self._adb_port = adb_port # adb port which is forwarding to remote 351 def adb_port(self): member in Instance 391 {"device_serial": "0.0.0.0:%s" % self._cf_runtime_cfg.adb_port, 394 adb_device = AdbTools(self._cf_runtime_cfg.adb_port) 404 adb_port=self._cf_runtime_cfg.adb_port, 492 adb_cmd = AdbTools(self.adb_port) 554 adb_port = self.console_port + 1 555 self._adb = AdbTools(adb_port=adb_port, 577 status=None, adb_port=adb_port, avd_type=constants.TYPE_GF, [all …]
|
D | instance_test.py | 70 adb_port=6521, 95 self.assertEqual(6521, local_instance.adb_port) 136 self.assertEqual(inst.adb_port, 5555) 204 self.assertEqual(54321, forwarded_ports.adb_port) 211 self.assertEqual(None, forwarded_ports.adb_port) 225 return_value=forwarded_ports(vnc_port=fake_vnc, adb_port=fake_adb)) 232 self.assertEqual(instance_info.adb_port, fake_adb) 254 return_value=forwarded_ports(vnc_port=None, adb_port=None)) 271 return_value=forwarded_ports(vnc_port=fake_vnc, adb_port=fake_adb)) 295 return_value=forwarded_ports(vnc_port=None, adb_port=None))
|
D | list.py | 377 def FilterInstancesByAdbPort(instances, adb_port): argument 392 if instance_object.adb_port == adb_port: 399 % (adb_port, "\n".join(all_instance_info)))
|
D | list_test.py | 121 alive_instance1.adb_port = 1111
|
/tools/acloud/reconnect/ |
D | reconnect.py | 172 adb_cmd = AdbTools(instance.adb_port) 174 adb_port = instance.adb_port 187 target_adb_port=utils.AVD_PORT_DICT[instance.avd_type].adb_port, 191 adb_port = forwarded_ports.adb_port 221 constants.ADB_PORT: adb_port 223 if adb_port and not instance.islocal: 225 constants.REMOTE_INSTANCE_ADB_SERIAL % adb_port) 227 if vnc_port and adb_port:
|
D | reconnect_test.py | 46 instance_object.adb_port = "8686" 86 return_value=ForwardedPorts(vnc_port=11111, adb_port=22222)) 122 return_value=ForwardedPorts(vnc_port=None, adb_port=None)) 160 instance_object.adb_port = "8686" 193 instance_object.adb_port = "9999"
|
/tools/acloud/public/ |
D | report.py | 171 def AddDevice(self, instance_name, ip_address, adb_port, vnc_port, argument 185 if adb_port: 186 device[constants.ADB_PORT] = adb_port 187 device[constants.IP] = "%s:%d" % (ip_address, adb_port) 201 def AddDeviceBootFailure(self, instance_name, ip_address, adb_port, argument 215 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 | 109 args.adb_port = None 155 args.adb_port = None 189 args.adb_port = None 218 args.adb_port = None 278 args.adb_port = None 340 args.adb_port = None
|
D | common_operations.py | 284 target_adb_port=utils.AVD_PORT_DICT[avd_type].adb_port, 289 device_dict[constants.ADB_PORT] = forwarded_ports.adb_port 292 forwarded_ports.adb_port) 294 AdbTools(forwarded_ports.adb_port).AutoUnlockScreen()
|
D | remote_instance_fvp_device_factory_test.py | 69 args.adb_port = None
|
/tools/acloud/create/ |
D | goldfish_local_image_local_instance.py | 197 ins.adb_port, extra_args) 207 ins.adb_port, vnc_port=None, 212 result_report.AddDevice(ins.name, ins.ip, ins.adb_port, 478 console_port, adb_port, extra_args): argument 512 "-ports", str(console_port) + "," + str(adb_port),
|
D | create_args.py | 666 if args.num > 1 and args.adb_port: 679 if args.adb_port: 680 utils.CheckPortFree(args.adb_port)
|
D | local_image_local_instance.py | 261 active_ins.adb_port, active_ins.vnc_port, 269 AdbTools(active_ins.adb_port).AutoUnlockScreen()
|
D | create_args_test.py | 31 adb_port=None,
|
/tools/acloud/internal/lib/ |
D | utils.py | 904 return ForwardedPorts(vnc_port=None, adb_port=None) 914 adb_port=local_adb_port) 1073 adb_port = device.get("adb_port") 1074 if adb_port: 1075 adb_serial = constants.LOCALHOST_ADB_SERIAL % adb_port
|
D | adb_tools.py | 59 def __init__(self, adb_port=None, device_serial=""): argument 66 self._adb_port = adb_port
|
D | cvd_runtime_config_test.py | 114 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 | 176 adb_cmd = adb_tools.AdbTools(adb_port=fake_adb_port,
|
D | cvd_compute_client_test.py | 156 args.adb_port = None
|
D | cvd_compute_client_multi_stage_test.py | 106 self.args.adb_port = None
|
/tools/acloud/delete/ |
D | delete_test.py | 75 adb_port=5555, 105 adb_port=5555,
|
D | delete.py | 316 if args.adb_port: 318 args.adb_port)
|
/tools/asuite/atest/tools/ |
D | atest_tools.py | 449 adb_port = result.get('data').get('devices')[0].get('adb_port') 450 os.environ[constants.ANDROID_SERIAL] = '127.0.0.1:{}'.format(adb_port)
|