Home
last modified time | relevance | path

Searched refs:image_dir (Results 1 – 7 of 7) sorted by relevance

/tools/acloud/create/
Dgoldfish_local_image_local_instance.py180 image_dir = self._FindImageDir(avd_spec.local_image_dir)
187 self._CopyBuildProp(image_dir)
196 image_dir, ins.console_port,
219 def _MixImages(output_dir, image_dir, system_image_path, ota): argument
236 os.path.join(image_dir, _MISC_INFO_FILE_NAME),
238 partition, image_dir, system=system_image_path))
249 os.path.join(image_dir, _SYSTEM_QEMU_CONFIG_FILE_NAME),
251 partition, image_dir, super=mixed_super_image_path,
309 def _FindImageDir(image_dir): argument
325 image_dir = os.path.abspath(image_dir)
[all …]
Dlocal_image_local_instance.py233 artifact_paths.image_dir,
311 def _FindMiscInfo(image_dir): argument
325 misc_info_path = os.path.join(image_dir, _MISC_INFO_FILE_NAME)
328 misc_info_path = os.path.join(image_dir, _TARGET_FILES_META_DIR_NAME,
333 "Cannot find %s in %s." % (_MISC_INFO_FILE_NAME, image_dir))
336 def _FindImageDir(image_dir): argument
350 if glob.glob(os.path.join(image_dir, "*.img")):
351 return image_dir
352 subdir = os.path.join(image_dir, _TARGET_FILES_IMAGES_DIR_NAME)
356 "Cannot find images in %s." % image_dir)
[all …]
Dlocal_image_local_instance_test.py254 image_dir = "/unit/test"
259 local_image_dir=image_dir,
268 self.assertEqual(paths, (image_dir, cvd_dir, None, None, None, None))
274 image_dir = os.path.join(temp_dir, "image")
280 misc_info_path = os.path.join(image_dir, "misc_info.txt")
281 self._CreateEmptyFile(os.path.join(image_dir, "vbmeta.img"))
290 local_image_dir=image_dir,
304 (image_dir, cvd_dir, misc_info_path, cvd_dir,
314 image_dir = os.path.join(temp_dir, "image")
317 misc_info_path = os.path.join(image_dir, "META", "misc_info.txt")
[all …]
Dremote_image_local_instance.py180 image_dir = DownloadAndProcessImageFiles(avd_spec)
181 launch_cvd_path = os.path.join(image_dir, "bin",
186 % image_dir)
190 image_dir, image_dir, None, None, None, None)
Dremote_image_local_instance_test.py69 self.assertEqual(paths.image_dir, "/unit/test")
/tools/acloud/internal/lib/
Dota_tools_test.py149 image_dir = os.path.join(self._temp_dir, "images")
150 vendor_path = os.path.join(image_dir, "vendor.img")
153 self._CreateFile(os.path.join(image_dir, "system.img"), "")
157 "system", image_dir, system=override_system_path)
161 "vendor", image_dir, system=override_system_path)
165 ota_tools.GetImageForPartition("not_exist", image_dir)
169 "system", image_dir,
Dota_tools.py75 def GetImageForPartition(partition_name, image_dir, **image_paths): argument
95 os.path.join(image_dir, partition_name + ".img"))