/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])) 203 if constants.HW_ALIAS_CPUS in avd_spec.hw_property: 205 avd_spec.hw_property[constants.HW_ALIAS_CPUS]) [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_test.py | 160 fake_avd_spec.hw_property[constants.HW_X_RES] = str(self.X_RES) 161 fake_avd_spec.hw_property[constants.HW_Y_RES] = str(self.Y_RES) 162 fake_avd_spec.hw_property[constants.HW_ALIAS_DPI] = str(self.DPI) 163 fake_avd_spec.hw_property[constants.HW_ALIAS_DISK] = str( 168 fake_avd_spec.hw_property[constants.HW_X_RES], 169 fake_avd_spec.hw_property[constants.HW_Y_RES], 170 fake_avd_spec.hw_property[constants.HW_ALIAS_DPI])) 193 fake_avd_spec.hw_property = {} 194 fake_avd_spec.hw_property[constants.HW_ALIAS_CPUS] = "2" 195 fake_avd_spec.hw_property[constants.HW_ALIAS_MEMORY] = "4096" [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 | cvd_compute_client_multi_stage.py | 299 "-x_res=" + avd_spec.hw_property[constants.HW_X_RES]) 301 "-y_res=" + avd_spec.hw_property[constants.HW_Y_RES]) 303 "-dpi=" + avd_spec.hw_property[constants.HW_ALIAS_DPI]) 304 if constants.HW_ALIAS_DISK in avd_spec.hw_property: 309 + avd_spec.hw_property[constants.HW_ALIAS_DISK]) 310 if constants.HW_ALIAS_CPUS in avd_spec.hw_property: 312 "-cpus=%s" % avd_spec.hw_property[constants.HW_ALIAS_CPUS]) 313 if constants.HW_ALIAS_MEMORY in avd_spec.hw_property: 315 "-memory_mb=%s" % avd_spec.hw_property[constants.HW_ALIAS_MEMORY]) 486 avd_spec.hw_property[constants.HW_X_RES], [all …]
|
D | cvd_compute_client_multi_stage_test.py | 107 self.args.hw_property = "cpu:2,resolution:1080x1920,dpi:240,memory:4g,disk:10g" 196 fake_avd_spec.hw_property[constants.HW_X_RES] = str(self.X_RES) 197 fake_avd_spec.hw_property[constants.HW_Y_RES] = str(self.Y_RES) 198 fake_avd_spec.hw_property[constants.HW_ALIAS_DPI] = str(self.DPI) 199 fake_avd_spec.hw_property[constants.HW_ALIAS_DISK] = str( 204 fake_avd_spec.hw_property[constants.HW_X_RES], 205 fake_avd_spec.hw_property[constants.HW_Y_RES], 206 fake_avd_spec.hw_property[constants.HW_ALIAS_DPI]))
|
D | android_compute_client.py | 320 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]))
|
D | cheeps_compute_client_test.py | 104 avd_spec.hw_property = {constants.HW_X_RES: str(self.X_RES), 151 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 | 968 avd_width=avd_spec.hw_property["x_res"], 969 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 | 227 hw_property = None 229 hw_property = avd_spec.hw_property 231 hw_property, 425 def PrepareLaunchCVDCmd(launch_cvd_path, hw_property, connect_adb, argument 452 if hw_property: 454 hw_property["cpu"], hw_property["x_res"], hw_property["y_res"], 455 hw_property["dpi"], hw_property["memory"]) 456 if constants.HW_ALIAS_DISK in hw_property: 458 hw_property[constants.HW_ALIAS_DISK])
|
D | local_image_local_instance_test.py | 345 hw_property = {"cpu": "fake", "x_res": "fake", "y_res": "fake", 350 constants.CMD_LAUNCH_CVD, hw_property, True, "fake_image_dir", 355 hw_property = {"cpu": "fake", "x_res": "fake", "y_res": "fake", 358 constants.CMD_LAUNCH_CVD, hw_property, True, "fake_image_dir", 364 constants.CMD_LAUNCH_CVD, hw_property, True, "fake_image_dir",
|
D | avd_spec.py | 286 if self._cfg.hw_property: 288 cfg_hw_property = self._ParseHWPropertyStr(self._cfg.hw_property) 292 if args.hw_property: 294 arg_hw_property = self._ParseHWPropertyStr(args.hw_property) 720 def hw_property(self): member in AVDSpec
|
D | create_args_test.py | 32 hw_property=None,
|
D | avd_spec_test.py | 263 args.hw_property = "cpu:3,resolution:1280" 270 args.hw_property = "cpu:3,dpi:fake" 276 args.hw_property = "cpu:3,disk:2" 282 args.hw_property = "cpu:3,memory:2"
|
D | create_args.py | 682 hw_properties = create_common.ParseKeyValuePairArgs(args.hw_property)
|
/tools/acloud/public/ |
D | config_test.py | 157 self.assertEqual(cfg.hw_property, 304 self.cfg.hw_property = ""
|
D | config.py | 232 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
|