Home
last modified time | relevance | path

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

/tools/acloud/internal/lib/
Dcvd_compute_client.py152 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 …]
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]))
Dcvd_compute_client_test.py156 fake_avd_spec.hw_property[constants.HW_X_RES] = str(self.X_RES)
157 fake_avd_spec.hw_property[constants.HW_Y_RES] = str(self.Y_RES)
158 fake_avd_spec.hw_property[constants.HW_ALIAS_DPI] = str(self.DPI)
159 fake_avd_spec.hw_property[constants.HW_ALIAS_DISK] = str(
164 fake_avd_spec.hw_property[constants.HW_X_RES],
165 fake_avd_spec.hw_property[constants.HW_Y_RES],
166 fake_avd_spec.hw_property[constants.HW_ALIAS_DPI]))
189 fake_avd_spec.hw_property = {}
190 fake_avd_spec.hw_property[constants.HW_ALIAS_CPUS] = "2"
191 fake_avd_spec.hw_property[constants.HW_ALIAS_MEMORY] = "4096"
[all …]
Dgoldfish_compute_client.py215 metadata["cvd_01_x_res"] = avd_spec.hw_property[constants.HW_X_RES]
216 metadata["cvd_01_y_res"] = avd_spec.hw_property[constants.HW_Y_RES]
217 metadata["cvd_01_dpi"] = avd_spec.hw_property[constants.HW_ALIAS_DPI]
219 avd_spec.hw_property[constants.HW_X_RES],
220 avd_spec.hw_property[constants.HW_Y_RES],
221 avd_spec.hw_property[constants.HW_ALIAS_DPI]))
Dcvd_compute_client_multi_stage.py259 "-x_res=" + avd_spec.hw_property[constants.HW_X_RES])
261 "-y_res=" + avd_spec.hw_property[constants.HW_Y_RES])
263 "-dpi=" + avd_spec.hw_property[constants.HW_ALIAS_DPI])
264 if constants.HW_ALIAS_DISK in avd_spec.hw_property:
269 + avd_spec.hw_property[constants.HW_ALIAS_DISK])
270 if constants.HW_ALIAS_CPUS in avd_spec.hw_property:
272 "-cpus=%s" % avd_spec.hw_property[constants.HW_ALIAS_CPUS])
273 if constants.HW_ALIAS_MEMORY in avd_spec.hw_property:
275 "-memory_mb=%s" % avd_spec.hw_property[constants.HW_ALIAS_MEMORY])
446 avd_spec.hw_property[constants.HW_X_RES],
[all …]
Dcvd_compute_client_multi_stage_test.py102 self.args.hw_property = "cpu:2,resolution:1080x1920,dpi:240,memory:4g"
192 fake_avd_spec.hw_property[constants.HW_X_RES] = str(self.X_RES)
193 fake_avd_spec.hw_property[constants.HW_Y_RES] = str(self.Y_RES)
194 fake_avd_spec.hw_property[constants.HW_ALIAS_DPI] = str(self.DPI)
195 fake_avd_spec.hw_property[constants.HW_ALIAS_DISK] = str(
200 fake_avd_spec.hw_property[constants.HW_X_RES],
201 fake_avd_spec.hw_property[constants.HW_Y_RES],
202 fake_avd_spec.hw_property[constants.HW_ALIAS_DPI]))
Dandroid_compute_client.py302 avd_spec.hw_property[constants.HW_X_RES],
303 avd_spec.hw_property[constants.HW_Y_RES],
304 avd_spec.hw_property[constants.HW_ALIAS_DPI]))
Dcheeps_compute_client_test.py101 avd_spec.hw_property = {constants.HW_X_RES: str(self.X_RES),
Dandroid_compute_client_test.py127 fake_avd_spec.hw_property = {
Dutils.py908 avd_width=avd_spec.hw_property["x_res"],
909 avd_height=avd_spec.hw_property["y_res"],
/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.py100 avd_spec.hw_property,
174 def PrepareLaunchCVDCmd(launch_cvd_path, hw_property, connect_adb, argument
193 hw_property["cpu"], hw_property["x_res"], hw_property["y_res"],
194 hw_property["dpi"], hw_property["memory"],
197 if constants.HW_ALIAS_DISK in hw_property:
199 hw_property[constants.HW_ALIAS_DISK])
Dlocal_image_local_instance_test.py143 hw_property = {"cpu": "fake", "x_res": "fake", "y_res": "fake",
148 constants.CMD_LAUNCH_CVD, hw_property, True, "fake_image_dir",
153 hw_property = {"cpu": "fake", "x_res": "fake", "y_res": "fake",
156 constants.CMD_LAUNCH_CVD, hw_property, True, "fake_image_dir",
Dcreate_args_test.py31 hw_property=None,
Davd_spec_test.py211 args.hw_property = "cpu:3,resolution:1280"
218 args.hw_property = "cpu:3,dpi:fake"
224 args.hw_property = "cpu:3,disk:2"
230 args.hw_property = "cpu:3,memory:2"
Davd_spec.py273 self._hw_property = self._ParseHWPropertyStr(self._cfg.hw_property)
277 if args.hw_property:
278 arg_hw_property = self._ParseHWPropertyStr(args.hw_property)
638 def hw_property(self): member in AVDSpec
Dcreate_args.py562 hw_properties = create_common.ParseHWPropertyArgs(args.hw_property)
/tools/acloud/public/
Dconfig_test.py142 self.assertEqual(cfg.hw_property,
275 cfg.hw_property = None
280 self.assertEqual(cfg.hw_property,
284 cfg.hw_property = None
289 self.assertEqual(cfg.hw_property, "")
/tools/acloud/internal/proto/
Duser_config.proto80 // Desired hw_property
81 optional string hw_property = 21; field