Home
last modified time | relevance | path

Searched refs:adb_port (Results 1 – 25 of 29) sorted by relevance

12

/tools/acloud/list/
Dinstance.py322 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 …]
Dinstance_test.py76 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 …]
Dlist.py387 def FilterInstancesByAdbPort(instances, adb_port): argument
402 if instance_object.adb_port == adb_port:
409 % (adb_port, "\n".join(all_instance_info)))
Dlist_test.py140 alive_instance1.adb_port = 1111
/tools/acloud/reconnect/
Dreconnect.py156 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:
Dreconnect_test.py55 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/
Dreport.py188 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,
Ddevice_driver.py412 device_dict[constants.ADB_PORT] = forwarded_ports.adb_port
414 AdbTools(forwarded_ports.adb_port).AutoUnlockScreen()
/tools/acloud/public/actions/
Dcommon_operations.py312 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()
Dcommon_operations_test.py130 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)
Dremote_instance_cf_device_factory_test.py129 args.adb_port = None
174 args.adb_port = None
206 args.adb_port = None
Dremote_instance_fvp_device_factory_test.py67 args.adb_port = None
/tools/acloud/create/
Dgoldfish_local_image_local_instance.py201 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),
Dcreate_args.py942 if args.adb_port is not None:
959 if args.adb_port is not None:
960 utils.CheckPortFree(args.adb_port)
Dlocal_image_local_instance.py350 active_ins.adb_port, active_ins.vnc_port,
359 AdbTools(active_ins.adb_port).AutoUnlockScreen()
Dcreate_args_test.py32 adb_port=None,
/tools/acloud/delete/
Ddelete_test.py84 adb_port=5555,
118 adb_port=5555,
386 args.adb_port = None
417 args.adb_port = "12345"
423 args.adb_port = None
Ddelete.py432 if args.adb_port:
434 args.adb_port)
/tools/acloud/internal/lib/
Dadb_tools_test.py104 adb_port = "6666"
105 adb_tool = adb_tools.AdbTools(adb_port)
189 adb_cmd = adb_tools.AdbTools(adb_port=fake_adb_port,
Dadb_tools.py60 def __init__(self, adb_port=None, device_serial=""): argument
67 self._adb_port = adb_port
Dutils.py1017 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
Dutils_test.py397 result = utils.ForwardedPorts(vnc_port=None, adb_port=None, fastboot_port=None)
591 self.assertEqual(utils.GetCvdPorts().adb_port, 6521)
Dcvd_runtime_config.py221 def adb_port(self): member in CvdRuntimeConfig
Dcvd_compute_client_multi_stage_test.py118 self.args.adb_port = None
/tools/asuite/atest/tools/
Datest_tools.py481 adb_port = result.get('data').get('devices')[0].get('adb_port')

12