Home
last modified time | relevance | path

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

12

/tools/acloud/list/
Dinstance.py194 def __init__(self, name, fullname, display, ip, status=None, adb_port=None, argument
203 self._adb_port = adb_port # adb port which is forwarding to remote
309 def adb_port(self): member in Instance
344 {"device_serial": "127.0.0.1:%s" % self._cf_runtime_cfg.adb_port,
347 adb_device = AdbTools(self._cf_runtime_cfg.adb_port)
355 adb_port=self._cf_runtime_cfg.adb_port,
443 adb_cmd = AdbTools(self.adb_port)
493 adb_port = self.console_port + 1
509 adb = AdbTools(adb_port)
515 status=None, adb_port=adb_port, avd_type=constants.TYPE_GF,
[all …]
Dinstance_test.py72 adb_port=6521,
88 self.assertEqual(6521, local_instance.adb_port)
102 self.assertEqual(inst.adb_port, 5555)
194 self.assertEqual(54321, forwarded_ports.adb_port)
201 self.assertEqual(None, forwarded_ports.adb_port)
215 return_value=forwarded_ports(vnc_port=fake_vnc, adb_port=fake_adb))
222 self.assertEqual(instance_info.adb_port, fake_adb)
244 return_value=forwarded_ports(vnc_port=None, adb_port=None))
261 return_value=forwarded_ports(vnc_port=fake_vnc, adb_port=fake_adb))
284 return_value=forwarded_ports(vnc_port=None, adb_port=None))
Dlist.py307 def FilterInstancesByAdbPort(instances, adb_port): argument
322 if instance_object.adb_port == adb_port:
329 % (adb_port, "\n".join(all_instance_info)))
Dlist_test.py95 alive_instance1.adb_port = 1111
/tools/acloud/reconnect/
Dreconnect.py172 adb_cmd = AdbTools(instance.adb_port)
174 adb_port = instance.adb_port
186 target_adb_port=utils.AVD_PORT_DICT[instance.avd_type].adb_port,
190 adb_port = forwarded_ports.adb_port
220 constants.ADB_PORT: adb_port
223 if vnc_port and adb_port:
Dreconnect_test.py46 instance_object.adb_port = "8686"
85 return_value=ForwardedPorts(vnc_port=11111, adb_port=22222))
120 return_value=ForwardedPorts(vnc_port=None, adb_port=None))
158 instance_object.adb_port = "8686"
190 instance_object.adb_port = "9999"
/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.py580 if args.num > 1 and args.adb_port:
593 if args.adb_port:
594 utils.CheckPortFree(args.adb_port)
Dlocal_image_local_instance.py132 active_ins.adb_port, active_ins.vnc_port)
139 AdbTools(active_ins.adb_port).AutoUnlockScreen()
Dcreate_args_test.py30 adb_port=None,
Dlocal_image_local_instance_test.py94 adb_port=6520,
/tools/acloud/public/
Dreport.py161 def AddDevice(self, instance_name, ip_address, adb_port, vnc_port, argument
173 if adb_port:
174 device[constants.ADB_PORT] = adb_port
175 device[constants.IP] = "%s:%d" % (ip_address, adb_port)
183 def AddDeviceBootFailure(self, instance_name, ip_address, adb_port, argument
194 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/public/actions/
Dremote_instance_cf_device_factory_test.py105 args.adb_port = None
149 args.adb_port = None
181 args.adb_port = None
208 args.adb_port = None
260 args.adb_port = None
Dcommon_operations.py249 target_adb_port=utils.AVD_PORT_DICT[avd_type].adb_port,
254 device_dict[constants.ADB_PORT] = forwarded_ports.adb_port
256 AdbTools(forwarded_ports.adb_port).AutoUnlockScreen()
Dremote_instance_fvp_device_factory_test.py67 args.adb_port = None
/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/internal/lib/
Dutils.py904 return ForwardedPorts(vnc_port=None, adb_port=None)
914 adb_port=local_adb_port)
1071 adb_port = device.get("adb_port")
1072 if adb_port:
1073 adb_serial = constants.LOCALHOST_ADB_SERIAL % adb_port
Dadb_tools.py57 def __init__(self, adb_port=None, device_serial=""): argument
65 self._adb_port = adb_port
Dcvd_runtime_config_test.py113 self.assertEqual(fake_cvd_runtime_config_webrtc.adb_port, 6520)
Dcvd_runtime_config.py207 def adb_port(self): member in CvdRuntimeConfig
Dadb_tools_test.py162 adb_cmd = adb_tools.AdbTools(adb_port=fake_adb_port,
Dcvd_compute_client_test.py154 args.adb_port = None
/tools/asuite/atest/tools/
Datest_tools.py427 adb_port = result.get('data').get('devices')[0].get('adb_port')
428 os.environ[constants.ANDROID_SERIAL] = '127.0.0.1:{}'.format(adb_port)

12