Home
last modified time | relevance | path

Searched refs:device_factory (Results 1 – 9 of 9) sorted by relevance

/tools/acloud/public/actions/
Dcommon_operations_test.py54 self.device_factory = mock.MagicMock()
68 self.device_factory, "CreateInstance", return_value=self.INSTANCE)
70 self.device_factory,
73 self.Patch(self.device_factory, "GetVncPorts", return_value=[6444])
74 self.Patch(self.device_factory, "GetAdbPorts", return_value=[6520])
75 self.Patch(self.device_factory, "GetBuildInfoDict",
80 self.Patch(self.device_factory, "GetLogs",
83 self.device_factory,
102 pool = common_operations.DevicePool(self.device_factory)
104 self.assertEqual(self.device_factory.CreateInstance.call_count, 5)
[all …]
Dcommon_operations.py82 def __init__(self, device_factory, devices=None): argument
93 self._device_factory = device_factory
94 self._compute_client = device_factory.GetComputeClient()
210 def CreateDevices(command, cfg, device_factory, num, avd_type, argument
251 device_pool = DevicePool(device_factory)
257 failures = device_factory.GetFailures()
265 logs = device_factory.GetLogs()
277 vnc_ports = device_factory.GetVncPorts()
278 adb_ports = device_factory.GetAdbPorts()
291 device_dict.update(device_factory.GetOpenWrtInfoDict())
[all …]
Dcreate_goldfish_action.py337 device_factory = GoldfishDeviceFactory(
348 return common_operations.CreateDevices("create_gf", cfg, device_factory,
/tools/acloud/create/
Dremote_image_remote_instance.py65 device_factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory(
68 "create_cf", avd_spec.cfg, device_factory, avd_spec.num,
172 device_factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory(
174 instance = device_factory.CreateGceInstance()
175 compute_client = device_factory.GetComputeClient()
Dlocal_image_remote_instance.py48 device_factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory(
53 device_factory = remote_instance_fvp_device_factory.RemoteInstanceDeviceFactory(
58 command, avd_spec.cfg, device_factory,
Dcheeps_remote_image_remote_instance.py52 device_factory = CheepsDeviceFactory(avd_spec.cfg, avd_spec)
57 device_factory=device_factory,
Dremote_image_remote_host.py47 device_factory = remote_host_cf_device_factory.RemoteHostDeviceFactory(
50 "create_cf", avd_spec.cfg, device_factory, num=1,
Dlocal_image_remote_host.py45 device_factory = remote_host_cf_device_factory.RemoteHostDeviceFactory(
50 "create_cf", avd_spec.cfg, device_factory, num=1,
Dgoldfish_remote_host.py46 device_factory = remote_host_gf_device_factory.RemoteHostGoldfishDeviceFactory(
57 "create", avd_spec.cfg, device_factory, avd_spec.num,