Home
last modified time | relevance | path

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

12

/tools/acloud/list/
Dinstance.py233 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 …]
Dinstance_test.py70 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))
Dlist.py377 def FilterInstancesByAdbPort(instances, adb_port): argument
392 if instance_object.adb_port == adb_port:
399 % (adb_port, "\n".join(all_instance_info)))
Dlist_test.py121 alive_instance1.adb_port = 1111
/tools/acloud/reconnect/
Dreconnect.py172 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:
Dreconnect_test.py46 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/
Dreport.py171 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,
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.py109 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
Dcommon_operations.py284 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()
Dremote_instance_fvp_device_factory_test.py69 args.adb_port = None
/tools/acloud/create/
Dgoldfish_local_image_local_instance.py197 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),
Dcreate_args.py666 if args.num > 1 and args.adb_port:
679 if args.adb_port:
680 utils.CheckPortFree(args.adb_port)
Dlocal_image_local_instance.py261 active_ins.adb_port, active_ins.vnc_port,
269 AdbTools(active_ins.adb_port).AutoUnlockScreen()
Dcreate_args_test.py31 adb_port=None,
/tools/acloud/internal/lib/
Dutils.py904 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
Dadb_tools.py59 def __init__(self, adb_port=None, device_serial=""): argument
66 self._adb_port = adb_port
Dcvd_runtime_config_test.py114 self.assertEqual(fake_cvd_runtime_config_webrtc.adb_port, 6520)
Dcvd_runtime_config.py207 def adb_port(self): member in CvdRuntimeConfig
Dadb_tools_test.py176 adb_cmd = adb_tools.AdbTools(adb_port=fake_adb_port,
Dcvd_compute_client_test.py156 args.adb_port = None
Dcvd_compute_client_multi_stage_test.py106 self.args.adb_port = None
/tools/acloud/delete/
Ddelete_test.py75 adb_port=5555,
105 adb_port=5555,
Ddelete.py316 if args.adb_port:
318 args.adb_port)
/tools/asuite/atest/tools/
Datest_tools.py449 adb_port = result.get('data').get('devices')[0].get('adb_port')
450 os.environ[constants.ANDROID_SERIAL] = '127.0.0.1:{}'.format(adb_port)

12