Home
last modified time | relevance | path

Searched refs:hw_property (Results 1 – 23 of 23) sorted by relevance

/tools/acloud/create/
Dbase_avd_create.py81 utils.PrintColorString(" cpu - %s" % (avd_spec.hw_property[constants.HW_ALIAS_CPUS]))
83 int(avd_spec.hw_property[constants.HW_ALIAS_MEMORY]) / 1024))
84 if constants.HW_ALIAS_DISK in avd_spec.hw_property:
86 int(avd_spec.hw_property[constants.HW_ALIAS_DISK]) / 1024))
89 (avd_spec.hw_property[constants.HW_X_RES],
90 avd_spec.hw_property[constants.HW_Y_RES],
91 avd_spec.hw_property[constants.HW_ALIAS_DPI]))
Dlocal_image_local_instance.py294 hw_property = None
296 hw_property = avd_spec.hw_property
300 cmd = self.PrepareLaunchCVDCmd(hw_property,
572 def PrepareLaunchCVDCmd(hw_property, connect_adb, connect_fastboot, argument
610 if hw_property:
612 hw_property["cpu"], hw_property["x_res"], hw_property["y_res"],
613 hw_property["dpi"], hw_property["memory"])
614 if constants.HW_ALIAS_DISK in hw_property:
617 hw_property[constants.HW_ALIAS_DISK])
Dlocal_image_local_instance_test.py481 hw_property = {"cpu": "fake", "x_res": "fake", "y_res": "fake",
502 hw_property, True, True, mock_artifact_paths, "fake_cvd_dir", False,
507 hw_property = {"cpu": "fake", "x_res": "fake", "y_res": "fake",
510 hw_property, True, True, mock_artifact_paths, "fake_cvd_dir", False,
516 hw_property, True, True, mock_artifact_paths, "fake_cvd_dir", False,
Davd_spec.py328 if self._cfg.hw_property:
330 cfg_hw_property = self._ParseHWPropertyStr(self._cfg.hw_property)
334 if args.hw_property:
336 arg_hw_property = self._ParseHWPropertyStr(args.hw_property)
795 def hw_property(self): member in AVDSpec
Davd_spec_test.py278 args.hw_property = "cpu:3,resolution:1280"
285 args.hw_property = "cpu:3,dpi:fake"
291 args.hw_property = "cpu:3,disk:2"
297 args.hw_property = "cpu:3,memory:2"
Dcreate_args_test.py34 hw_property=None,
Dcreate_args.py965 hw_properties = create_common.ParseKeyValuePairArgs(args.hw_property)
/tools/acloud/internal/lib/
Dcheeps_compute_client.py79 metadata["cvd_01_x_res"] = avd_spec.hw_property[constants.HW_X_RES]
80 metadata["cvd_01_y_res"] = avd_spec.hw_property[constants.HW_Y_RES]
81 metadata["cvd_01_dpi"] = avd_spec.hw_property[constants.HW_ALIAS_DPI]
83 avd_spec.hw_property[constants.HW_X_RES],
84 avd_spec.hw_property[constants.HW_Y_RES],
85 avd_spec.hw_property[constants.HW_ALIAS_DPI]))
Dgoldfish_compute_client.py236 metadata["cvd_01_x_res"] = avd_spec.hw_property[constants.HW_X_RES]
237 metadata["cvd_01_y_res"] = avd_spec.hw_property[constants.HW_Y_RES]
238 metadata["cvd_01_dpi"] = avd_spec.hw_property[constants.HW_ALIAS_DPI]
240 avd_spec.hw_property[constants.HW_X_RES],
241 avd_spec.hw_property[constants.HW_Y_RES],
242 avd_spec.hw_property[constants.HW_ALIAS_DPI]))
Dcvd_compute_client_multi_stage_test.py121 self.args.hw_property = "cpu:2,resolution:1080x1920,dpi:240,memory:4g,disk:10g"
146 fake_avd_spec.hw_property[constants.HW_X_RES] = str(self.X_RES)
147 fake_avd_spec.hw_property[constants.HW_Y_RES] = str(self.Y_RES)
148 fake_avd_spec.hw_property[constants.HW_ALIAS_DPI] = str(self.DPI)
149 fake_avd_spec.hw_property[constants.HW_ALIAS_DISK] = str(
157 fake_avd_spec.hw_property[constants.HW_X_RES],
158 fake_avd_spec.hw_property[constants.HW_Y_RES],
159 fake_avd_spec.hw_property[constants.HW_ALIAS_DPI]))
Dgoldfish_utils.py272 cores = avd_spec.hw_property.get(constants.HW_ALIAS_CPUS)
275 x_res = avd_spec.hw_property.get(constants.HW_X_RES)
276 y_res = avd_spec.hw_property.get(constants.HW_Y_RES)
279 dpi = avd_spec.hw_property.get(constants.HW_ALIAS_DPI)
282 memory_size_mb = avd_spec.hw_property.get(constants.HW_ALIAS_MEMORY)
285 userdata_size_mb = avd_spec.hw_property.get(constants.HW_ALIAS_DISK)
Dcvd_utils.py532 "-x_res=" + avd_spec.hw_property[constants.HW_X_RES])
534 "-y_res=" + avd_spec.hw_property[constants.HW_Y_RES])
536 "-dpi=" + avd_spec.hw_property[constants.HW_ALIAS_DPI])
537 if constants.HW_ALIAS_DISK in avd_spec.hw_property:
542 + avd_spec.hw_property[constants.HW_ALIAS_DISK])
543 if constants.HW_ALIAS_CPUS in avd_spec.hw_property:
545 "-cpus=" + str(avd_spec.hw_property[constants.HW_ALIAS_CPUS]))
546 if constants.HW_ALIAS_MEMORY in avd_spec.hw_property:
549 str(avd_spec.hw_property[constants.HW_ALIAS_MEMORY]))
Dcvd_utils_test.py273 hw_property = {
281 hw_property=hw_property,
297 hw_property = {
308 hw_property=hw_property,
Dgoldfish_utils_test.py181 hw_property = {
189 hw_property=hw_property)
194 mock_spec = mock.Mock(hw_customize=True, gpu=None, hw_property={})
Dandroid_compute_client.py320 avd_spec.hw_property[constants.HW_X_RES],
321 avd_spec.hw_property[constants.HW_Y_RES],
322 avd_spec.hw_property[constants.HW_ALIAS_DPI]))
Dcvd_compute_client_multi_stage.py330 avd_spec.hw_property[constants.HW_X_RES],
331 avd_spec.hw_property[constants.HW_Y_RES],
332 avd_spec.hw_property[constants.HW_ALIAS_DPI]))
Dcheeps_compute_client_test.py106 avd_spec.hw_property = {constants.HW_X_RES: str(self.X_RES),
155 avd_spec.hw_property = {constants.HW_X_RES: str(self.X_RES),
Dandroid_compute_client_test.py128 fake_avd_spec.hw_property = {
Dutils.py1105 avd_width=avd_spec.hw_property["x_res"],
1106 avd_height=avd_spec.hw_property["y_res"],
/tools/acloud/public/
Dconfig_test.py155 self.assertEqual(cfg.hw_property,
295 self.cfg.hw_property = ""
Dconfig.py234 self.hw_property = usr_cfg.hw_property
/tools/acloud/internal/proto/
Duser_config.proto82 // Desired hw_property
83 optional string hw_property = 22; field
/tools/acloud/public/actions/
Dremote_host_gf_device_factory_test.py205 self._mock_avd_spec.hw_property = {"disk": "4096"}