Home
last modified time | relevance | path

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

12

/tools/acloud/reconnect/
Dreconnect.py156 adb_cmd = AdbTools(instance.adb_port)
158 adb_port = instance.adb_port
171 target_adb_port=utils.AVD_PORT_DICT[instance.avd_type].adb_port,
175 adb_port = forwarded_ports.adb_port
196 constants.ADB_PORT: adb_port
198 if adb_port and not instance.islocal:
200 constants.REMOTE_INSTANCE_ADB_SERIAL % adb_port)
202 if (vnc_port or webrtc_port) and adb_port:
Dreconnect_test.py53 instance_object.adb_port = "8686"
94 return_value=ForwardedPorts(vnc_port=11111, adb_port=22222))
131 return_value=ForwardedPorts(vnc_port=None, adb_port=None))
169 instance_object.adb_port = "8686"
226 instance_object.adb_port = "9999"
/tools/acloud/list/
Dinstance.py341 def __init__(self, name, fullname, display, ip, status=None, adb_port=None, argument
351 self._adb_port = adb_port # adb port which is forwarding to remote
479 def adb_port(self): member in Instance
527 adb_port = ins_info.get(_ADB_HOST_PORT) or self._cf_runtime_cfg.adb_port
556 adb_port=adb_port,
713 adb_cmd = AdbTools(self.adb_port)
787 adb_port = self.console_port + 1
788 self._adb = AdbTools(adb_port=adb_port,
808 status=None, adb_port=adb_port, avd_type=constants.TYPE_GF,
957 adb_port = None
[all …]
Dinstance_test.py71 adb_port=6521,
101 self.assertEqual(6521, local_instance.adb_port)
194 self.assertEqual(inst.adb_port, 5555)
266 self.assertEqual(54321, forwarded_ports.adb_port)
273 self.assertEqual(None, forwarded_ports.adb_port)
290 return_value=forwarded_ports(vnc_port=fake_vnc, adb_port=fake_adb))
299 self.assertEqual(instance_info.adb_port, fake_adb)
321 return_value=forwarded_ports(vnc_port=None, adb_port=None))
341 return_value=forwarded_ports(vnc_port=fake_vnc, adb_port=fake_adb))
368 return_value=forwarded_ports(vnc_port=None, adb_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)))
/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.py411 device_dict[constants.ADB_PORT] = forwarded_ports.adb_port
413 AdbTools(forwarded_ports.adb_port).AutoUnlockScreen()
/tools/acloud/public/actions/
Dcommon_operations.py309 device_dict[constants.ADB_PORT] = forwarded_port.adb_port
312 forwarded_port.adb_port)
366 for vnc_port, adb_port in zip(vnc_ports, adb_ports):
371 target_adb_port=adb_port,
377 AdbTools(forwarded_port.adb_port).AutoUnlockScreen()
Dcommon_operations_test.py129 forwarded_ports = mock.Mock(adb_port=12345, vnc_port=56789)
163 forwarded_ports_1 = mock.Mock(adb_port=12345, vnc_port=56789)
164 forwarded_ports_2 = mock.Mock(adb_port=23456, vnc_port=67890)
214 forwarded_ports = mock.Mock(adb_port=12345, vnc_port=56789)
Dremote_instance_cf_device_factory_test.py126 args.adb_port = None
169 args.adb_port = None
199 args.adb_port = None
Dremote_instance_fvp_device_factory_test.py67 args.adb_port = None
/tools/acloud/create/
Dgoldfish_local_image_local_instance.py203 ins.adb_port, logcat_path,
214 ins.adb_port, vnc_port=None,
220 result_report.AddDevice(ins.name, ins.ip, ins.adb_port,
500 console_port, adb_port, logcat_path, argument
535 "-ports", str(console_port) + "," + str(adb_port),
Dcreate_args.py1005 if args.num > 1 and args.adb_port:
1018 if args.adb_port:
1019 utils.CheckPortFree(args.adb_port)
Dcreate_args_test.py32 adb_port=None,
Dlocal_image_local_instance.py348 active_ins.adb_port, active_ins.vnc_port,
357 AdbTools(active_ins.adb_port).AutoUnlockScreen()
/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
Dcvd_runtime_config_test.py141 self.assertEqual(fake_cvd_runtime_config_webrtc.adb_port, 6520)
Dutils.py1006 return ForwardedPorts(vnc_port=None, adb_port=None)
1016 adb_port=local_adb_port)
1199 adb_port = device.get("adb_port")
1200 if adb_port:
1201 adb_serial = constants.LOCALHOST_ADB_SERIAL % adb_port
Dcvd_runtime_config.py227 def adb_port(self): member in CvdRuntimeConfig
Dutils_test.py397 result = utils.ForwardedPorts(vnc_port=None, adb_port=None)
592 self.assertEqual(utils.GetCvdPorts().adb_port, 6521)
Dcvd_compute_client_multi_stage_test.py118 self.args.adb_port = None
/tools/acloud/delete/
Ddelete_test.py84 adb_port=5555,
118 adb_port=5555,
386 args.adb_port = None
416 args.adb_port = "12345"
422 args.adb_port = None
Ddelete.py432 if args.adb_port:
434 args.adb_port)
/tools/asuite/atest/tools/
Dstart_avd.py156 adb_port = result.get('data').get('devices')[0].get('adb_port')

12