Searched refs:device_factory (Results 1 – 9 of 9) sorted by relevance
/tools/acloud/public/actions/ |
D | common_operations_test.py | 54 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 …]
|
D | common_operations.py | 82 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 …]
|
D | create_goldfish_action.py | 337 device_factory = GoldfishDeviceFactory( 348 return common_operations.CreateDevices("create_gf", cfg, device_factory,
|
/tools/acloud/create/ |
D | remote_image_remote_instance.py | 65 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()
|
D | local_image_remote_instance.py | 48 device_factory = remote_instance_cf_device_factory.RemoteInstanceDeviceFactory( 53 device_factory = remote_instance_fvp_device_factory.RemoteInstanceDeviceFactory( 58 command, avd_spec.cfg, device_factory,
|
D | cheeps_remote_image_remote_instance.py | 52 device_factory = CheepsDeviceFactory(avd_spec.cfg, avd_spec) 57 device_factory=device_factory,
|
D | remote_image_remote_host.py | 47 device_factory = remote_host_cf_device_factory.RemoteHostDeviceFactory( 50 "create_cf", avd_spec.cfg, device_factory, num=1,
|
D | local_image_remote_host.py | 45 device_factory = remote_host_cf_device_factory.RemoteHostDeviceFactory( 50 "create_cf", avd_spec.cfg, device_factory, num=1,
|
D | goldfish_remote_host.py | 46 device_factory = remote_host_gf_device_factory.RemoteHostGoldfishDeviceFactory( 57 "create", avd_spec.cfg, device_factory, avd_spec.num,
|