/tools/acloud/internal/lib/ |
D | cvd_compute_client.py | 152 metadata["cvd_01_x_res"] = avd_spec.hw_property[constants.HW_X_RES] 153 metadata["cvd_01_y_res"] = avd_spec.hw_property[constants.HW_Y_RES] 154 metadata["cvd_01_dpi"] = avd_spec.hw_property[constants.HW_ALIAS_DPI] 155 if constants.HW_ALIAS_DISK in avd_spec.hw_property: 156 metadata["cvd_01_blank_data_disk_size"] = avd_spec.hw_property[ 162 avd_spec.hw_property[constants.HW_X_RES], 163 avd_spec.hw_property[constants.HW_Y_RES], 164 avd_spec.hw_property[constants.HW_ALIAS_DPI])) 204 if constants.HW_ALIAS_CPUS in avd_spec.hw_property: 206 avd_spec.hw_property[constants.HW_ALIAS_CPUS]) [all …]
|
D | cvd_compute_client_test.py | 163 fake_avd_spec.hw_property[constants.HW_X_RES] = str(self.X_RES) 164 fake_avd_spec.hw_property[constants.HW_Y_RES] = str(self.Y_RES) 165 fake_avd_spec.hw_property[constants.HW_ALIAS_DPI] = str(self.DPI) 166 fake_avd_spec.hw_property[constants.HW_ALIAS_DISK] = str( 171 fake_avd_spec.hw_property[constants.HW_X_RES], 172 fake_avd_spec.hw_property[constants.HW_Y_RES], 173 fake_avd_spec.hw_property[constants.HW_ALIAS_DPI])) 197 fake_avd_spec.hw_property = {} 198 fake_avd_spec.hw_property[constants.HW_ALIAS_CPUS] = "2" 199 fake_avd_spec.hw_property[constants.HW_ALIAS_MEMORY] = "4096" [all …]
|
D | cheeps_compute_client.py | 79 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]))
|
D | cvd_compute_client_multi_stage.py | 328 "-x_res=" + avd_spec.hw_property[constants.HW_X_RES]) 330 "-y_res=" + avd_spec.hw_property[constants.HW_Y_RES]) 332 "-dpi=" + avd_spec.hw_property[constants.HW_ALIAS_DPI]) 333 if constants.HW_ALIAS_DISK in avd_spec.hw_property: 338 + avd_spec.hw_property[constants.HW_ALIAS_DISK]) 339 if constants.HW_ALIAS_CPUS in avd_spec.hw_property: 341 "-cpus=%s" % avd_spec.hw_property[constants.HW_ALIAS_CPUS]) 342 if constants.HW_ALIAS_MEMORY in avd_spec.hw_property: 344 "-memory_mb=%s" % avd_spec.hw_property[constants.HW_ALIAS_MEMORY]) 493 avd_spec.hw_property[constants.HW_X_RES], [all …]
|
D | goldfish_compute_client.py | 232 metadata["cvd_01_x_res"] = avd_spec.hw_property[constants.HW_X_RES] 233 metadata["cvd_01_y_res"] = avd_spec.hw_property[constants.HW_Y_RES] 234 metadata["cvd_01_dpi"] = avd_spec.hw_property[constants.HW_ALIAS_DPI] 236 avd_spec.hw_property[constants.HW_X_RES], 237 avd_spec.hw_property[constants.HW_Y_RES], 238 avd_spec.hw_property[constants.HW_ALIAS_DPI]))
|
D | goldfish_utils.py | 228 cores = avd_spec.hw_property.get(constants.HW_ALIAS_CPUS) 231 x_res = avd_spec.hw_property.get(constants.HW_X_RES) 232 y_res = avd_spec.hw_property.get(constants.HW_Y_RES) 235 dpi = avd_spec.hw_property.get(constants.HW_ALIAS_DPI) 238 memory_size_mb = avd_spec.hw_property.get(constants.HW_ALIAS_MEMORY) 241 userdata_size_mb = avd_spec.hw_property.get(constants.HW_ALIAS_DISK)
|
D | cvd_compute_client_multi_stage_test.py | 121 self.args.hw_property = "cpu:2,resolution:1080x1920,dpi:240,memory:4g,disk:10g" 226 fake_avd_spec.hw_property[constants.HW_X_RES] = str(self.X_RES) 227 fake_avd_spec.hw_property[constants.HW_Y_RES] = str(self.Y_RES) 228 fake_avd_spec.hw_property[constants.HW_ALIAS_DPI] = str(self.DPI) 229 fake_avd_spec.hw_property[constants.HW_ALIAS_DISK] = str( 234 fake_avd_spec.hw_property[constants.HW_X_RES], 235 fake_avd_spec.hw_property[constants.HW_Y_RES], 236 fake_avd_spec.hw_property[constants.HW_ALIAS_DPI]))
|
D | goldfish_utils_test.py | 151 hw_property = { 159 hw_property=hw_property) 164 mock_spec = mock.Mock(hw_customize=True, gpu=None, hw_property={})
|
D | android_compute_client.py | 319 avd_spec.hw_property[constants.HW_X_RES], 320 avd_spec.hw_property[constants.HW_Y_RES], 321 avd_spec.hw_property[constants.HW_ALIAS_DPI]))
|
D | cheeps_compute_client_test.py | 106 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),
|
D | android_compute_client_test.py | 128 fake_avd_spec.hw_property = {
|
D | utils.py | 1065 avd_width=avd_spec.hw_property["x_res"], 1066 avd_height=avd_spec.hw_property["y_res"],
|
/tools/acloud/create/ |
D | base_avd_create.py | 81 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]))
|
D | local_image_local_instance.py | 237 hw_property = None 239 hw_property = avd_spec.hw_property 242 cmd = self.PrepareLaunchCVDCmd(hw_property, 486 def PrepareLaunchCVDCmd(hw_property, connect_adb, artifact_paths, argument 518 if hw_property: 520 hw_property["cpu"], hw_property["x_res"], hw_property["y_res"], 521 hw_property["dpi"], hw_property["memory"]) 522 if constants.HW_ALIAS_DISK in hw_property: 524 hw_property[constants.HW_ALIAS_DISK])
|
D | local_image_local_instance_test.py | 387 hw_property = {"cpu": "fake", "x_res": "fake", "y_res": "fake", 402 hw_property, True, mock_artifact_paths, "fake_cvd_dir", False, 407 hw_property = {"cpu": "fake", "x_res": "fake", "y_res": "fake", 410 hw_property, True, mock_artifact_paths, "fake_cvd_dir", False, 416 hw_property, True, mock_artifact_paths, "fake_cvd_dir", False,
|
D | avd_spec.py | 313 if self._cfg.hw_property: 315 cfg_hw_property = self._ParseHWPropertyStr(self._cfg.hw_property) 319 if args.hw_property: 321 arg_hw_property = self._ParseHWPropertyStr(args.hw_property) 755 def hw_property(self): member in AVDSpec
|
D | avd_spec_test.py | 273 args.hw_property = "cpu:3,resolution:1280" 280 args.hw_property = "cpu:3,dpi:fake" 286 args.hw_property = "cpu:3,disk:2" 292 args.hw_property = "cpu:3,memory:2"
|
D | create_args_test.py | 33 hw_property=None,
|
D | create_args.py | 852 hw_properties = create_common.ParseKeyValuePairArgs(args.hw_property)
|
/tools/acloud/public/ |
D | config_test.py | 155 self.assertEqual(cfg.hw_property, 295 self.cfg.hw_property = ""
|
D | config.py | 234 self.hw_property = usr_cfg.hw_property
|
/tools/acloud/internal/proto/ |
D | user_config.proto | 82 // Desired hw_property 83 optional string hw_property = 22; field
|
/tools/acloud/public/actions/ |
D | remote_host_gf_device_factory_test.py | 179 self._mock_avd_spec.hw_property = {"disk": "4096"}
|