Home
last modified time | relevance | path

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

12

/tools/acloud/list/
Dinstance.py193 def __init__(self, name, fullname, display, ip, status=None, adb_port=None, argument
202 self._adb_port = adb_port # adb port which is forwarding to remote
298 def adb_port(self): member in Instance
333 {"device_serial": "127.0.0.1:%s" % self._cf_runtime_cfg.adb_port,
336 adb_device = AdbTools(self._cf_runtime_cfg.adb_port)
344 adb_port=self._cf_runtime_cfg.adb_port,
415 adb_cmd = AdbTools(self.adb_port)
465 adb_port = self.console_port + 1
481 adb = AdbTools(adb_port)
487 status=None, adb_port=adb_port, avd_type=constants.TYPE_GF,
[all …]
Dinstance_test.py71 adb_port=6521,
87 self.assertEqual(6521, local_instance.adb_port)
101 self.assertEqual(inst.adb_port, 5555)
193 self.assertEqual(54321, forwarded_ports.adb_port)
200 self.assertEqual(None, forwarded_ports.adb_port)
214 return_value=forwarded_ports(vnc_port=fake_vnc, adb_port=fake_adb))
221 self.assertEqual(instance_info.adb_port, fake_adb)
243 return_value=forwarded_ports(vnc_port=None, adb_port=None))
260 return_value=forwarded_ports(vnc_port=fake_vnc, adb_port=fake_adb))
283 return_value=forwarded_ports(vnc_port=None, adb_port=None))
Dlist.py293 def FilterInstancesByAdbPort(instances, adb_port): argument
308 if instance_object.adb_port == adb_port:
315 % (adb_port, "\n".join(all_instance_info)))
Dlist_test.py95 alive_instance1.adb_port = 1111
/tools/acloud/reconnect/
Dreconnect.py112 adb_cmd = AdbTools(instance.adb_port)
114 adb_port = instance.adb_port
126 target_adb_port=utils.AVD_PORT_DICT[instance.avd_type].adb_port,
130 adb_port = forwarded_ports.adb_port
139 constants.ADB_PORT: adb_port
142 if vnc_port and adb_port:
Dreconnect_test.py45 instance_object.adb_port = "8686"
75 return_value=ForwardedPorts(vnc_port=11111, adb_port=22222))
119 instance_object.adb_port = "9999"
/tools/acloud/public/
Dreport.py153 def AddDevice(self, instance_name, ip_address, adb_port, vnc_port, argument
165 if adb_port:
166 device[constants.ADB_PORT] = adb_port
167 device[constants.IP] = "%s:%d" % (ip_address, adb_port)
175 def AddDeviceBootFailure(self, instance_name, ip_address, adb_port, argument
186 self.AddDevice(instance_name, ip_address, adb_port, vnc_port,
Ddevice_driver.py410 device_dict[constants.ADB_PORT] = forwarded_ports.adb_port
412 AdbTools(forwarded_ports.adb_port).AutoUnlockScreen()
/tools/acloud/create/
Dgoldfish_local_image_local_instance.py192 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),
Dcreate_args_test.py30 adb_port=None,
Dcreate_args.py551 if args.num > 1 and args.adb_port:
559 if args.adb_port:
560 utils.CheckPortFree(args.adb_port)
Dlocal_image_local_instance.py123 active_ins.adb_port, active_ins.vnc_port)
128 AdbTools(active_ins.adb_port).AutoUnlockScreen()
Dlocal_image_local_instance_test.py84 adb_port=6520,
Dgoldfish_local_image_local_instance_test.py90 adb_port=5555,
/tools/acloud/delete/
Ddelete.py165 adb = adb_tools.AdbTools(adb_port=instance.adb_port,
271 if args.adb_port:
273 args.adb_port)
Ddelete_test.py51 mock_instance = mock.Mock(adb_port=5555,
79 mock_instance = mock.Mock(adb_port=5555,
/tools/acloud/public/actions/
Dcommon_operations.py239 target_adb_port=utils.AVD_PORT_DICT[avd_type].adb_port,
244 device_dict[constants.ADB_PORT] = forwarded_ports.adb_port
246 AdbTools(forwarded_ports.adb_port).AutoUnlockScreen()
Dremote_instance_cf_device_factory_test.py104 args.adb_port = None
146 args.adb_port = None
178 args.adb_port = None
203 args.adb_port = None
254 args.adb_port = None
/tools/acloud/internal/lib/
Dadb_tools.py57 def __init__(self, adb_port=None, device_serial=""): argument
65 self._adb_port = adb_port
Dutils.py844 return ForwardedPorts(vnc_port=None, adb_port=None)
854 adb_port=local_adb_port)
999 adb_port = device.get("adb_port")
1000 if adb_port:
1001 adb_serial = constants.LOCALHOST_ADB_SERIAL % adb_port
Dcvd_runtime_config.py181 def adb_port(self): member in CvdRuntimeConfig
Dadb_tools_test.py161 adb_cmd = adb_tools.AdbTools(adb_port=fake_adb_port,
Dcvd_compute_client_test.py154 args.adb_port = None
Dcvd_compute_client_multi_stage_test.py101 self.args.adb_port = None
Dutils_test.py375 result = utils.ForwardedPorts(vnc_port=None, adb_port=None)

12