/tools/acloud/create/ |
D | goldfish_local_image_local_instance.py | 180 image_dir = self._FindImageDir(avd_spec.local_image_dir) 182 goldfish_utils.FindDiskImage(image_dir) 189 self._CopyBuildProp(image_dir) 202 image_dir, ins.console_port, 273 def _FindImageDir(image_dir): argument 288 image_dir = os.path.abspath(image_dir) 289 entries = os.listdir(image_dir) 291 first_entry = os.path.join(image_dir, entries[0]) 294 return image_dir 332 def _CopyBuildProp(image_dir): argument [all …]
|
D | remote_image_local_instance.py | 226 image_dir = DownloadAndProcessImageFiles(avd_spec) 227 launch_cvd_path = os.path.join(image_dir, "bin", 232 % image_dir) 248 host_bins_path = image_dir 253 image_dir, _SYSTEM_MIX_IMAGE_DIR.format(build_id=build_id)) 308 image_dir=mix_image_dir or image_dir, 310 host_artifacts=image_dir,
|
D | local_image_local_instance_test.py | 353 image_dir = os.path.join(temp_dir, "image") 359 local_image_dir=image_dir, 373 self._CreateEmptyFile(os.path.join(image_dir, "super.img")) 381 (image_dir, cvd_dir, cvd_dir, 392 image_dir = os.path.join(temp_dir, "image") 400 misc_info_path = os.path.join(image_dir, "misc_info.txt") 408 self._CreateEmptyFile(os.path.join(image_dir, "vbmeta.img")) 425 local_image_dir=image_dir, 443 (image_dir, cvd_dir, cvd_dir, misc_info_path, cvd_dir, 455 image_dir = os.path.join(temp_dir, "image") [all …]
|
D | create_common.py | 246 image_dir = path 247 system_image_path = os.path.join(image_dir, _SYSTEM_IMAGE_NAME) 249 image_dir = os.path.join(path, _TARGET_FILES_IMAGES_DIR_NAME) 250 system_image_path = os.path.join(image_dir, _SYSTEM_IMAGE_NAME) 255 system_ext_image_path = os.path.join(image_dir, _SYSTEM_EXT_IMAGE_NAME) 256 product_image_path = os.path.join(image_dir, _PRODUCT_IMAGE_NAME)
|
D | local_image_local_instance.py | 274 artifact_paths.image_dir, 297 os.path.join(artifact_paths.image_dir, 409 def _VerifyExtractedImgZip(image_dir): argument 423 if not os.path.isfile(os.path.join(image_dir, _SUPER_IMAGE_NAME)): 485 image_dir = os.path.abspath(avd_spec.local_image_dir) 494 misc_info_path = cvd_utils.FindMiscInfo(image_dir) 495 image_dir = cvd_utils.FindImageDir(image_dir) 504 self._VerifyExtractedImgZip(image_dir) 542 return ArtifactPaths(image_dir, host_bins_path, 617 config, artifact_paths.image_dir, runtime_dir)
|
D | create_common_test.py | 200 image_dir = os.path.join(temp_dir, "IMAGES") 201 system_image_path = os.path.join(image_dir, "system.img") 206 create_common.FindSystemImages(image_dir)) 210 system_ext_image_path = os.path.join(image_dir, "system_ext.img") 212 product_image_path = os.path.join(image_dir, "product.img") 219 create_common.FindSystemImages(image_dir))
|
D | remote_image_local_instance_test.py | 81 self.assertEqual(paths.image_dir, "/unit/test") 108 self.assertEqual(paths.image_dir, "/mix_image_1234/IMAGES")
|
/tools/acloud/internal/lib/ |
D | goldfish_utils.py | 120 def MixWithBootImage(output_dir, image_dir, boot_image_path, ota): argument 146 original_ramdisk_path = _FindFileByNames(image_dir, _RAMDISK_IMAGE_NAMES) 152 def FindKernelImages(image_dir): argument 164 return (_FindFileByNames(image_dir, _KERNEL_IMAGE_NAMES), 165 _FindFileByNames(image_dir, _RAMDISK_IMAGE_NAMES)) 185 def FindDiskImage(image_dir): argument 197 return _FindFileByNames(image_dir, _DISK_IMAGE_NAMES) 200 def MixDiskImage(output_dir, image_dir, system_image_path, argument 224 _FindFileByNames(image_dir, [_MISC_INFO_FILE_NAME]), 226 partition, image_dir, [all …]
|
D | goldfish_utils_test.py | 60 image_dir = os.path.join(self._temp_dir, "image_dir") 62 os.makedirs(image_dir) 63 with open(os.path.join(image_dir, "ramdisk-qemu.img"), "w") as ramdisk: 79 mix_dir, image_dir, boot_image_path, mock_ota) 148 image_dir = os.path.join(self._temp_dir, "image_dir") 149 misc_info_path = os.path.join(image_dir, "misc_info.txt") 150 qemu_config_path = os.path.join(image_dir, "system-qemu-config.txt") 154 vendor_image_path = os.path.join(image_dir, "vendor.img") 161 mix_dir, image_dir, system_image_path, system_dlkm_image_path,
|
D | cvd_utils.py | 201 def _UploadImageDir(ssh_obj, remote_image_dir, image_dir): argument 212 images_path = os.path.join(image_dir, "required_images") 222 os.path.join(image_dir, file_name))) 429 image_dir = FindImageDir(target_files_dir) 459 ota.MixSuperImage(super_image_path, misc_info_path, image_dir, 1165 def FindMiscInfo(image_dir): argument 1179 misc_info_path = os.path.join(image_dir, _MISC_INFO_FILE_NAME) 1182 misc_info_path = os.path.join(image_dir, _TARGET_FILES_META_DIR_NAME, 1192 def FindImageDir(image_dir): argument 1206 if glob.glob(os.path.join(image_dir, "*.img")): [all …]
|
D | cvd_utils_test.py | 152 with tempfile.TemporaryDirectory(prefix="cvd_utils") as image_dir: 154 self.CreateFile(os.path.join(image_dir, "vendor_boot.img")) 170 mock_avd_spec.local_kernel_image = image_dir 183 with tempfile.TemporaryDirectory(prefix="cvd_utils") as image_dir: 184 kernel_image_path = os.path.join(image_dir, "Image") 186 self.CreateFile(os.path.join(image_dir, "initramfs.img")) 187 self.CreateFile(os.path.join(image_dir, "boot.img")) 199 mock_avd_spec.local_kernel_image = image_dir 268 with tempfile.TemporaryDirectory(prefix="cvd_utils") as image_dir: 269 vendor_boot_image_path = os.path.join(image_dir, [all …]
|
D | ota_tools_test.py | 142 image_dir = os.path.join(self._temp_dir, "images") 143 vendor_path = os.path.join(image_dir, "vendor.img") 146 self._CreateFile(os.path.join(image_dir, "system.img"), "") 150 "system", image_dir, system=override_system_path) 154 "vendor", image_dir, system=override_system_path) 158 ota_tools.GetImageForPartition("not_exist", image_dir) 162 "system", image_dir,
|
D | ota_tools.py | 79 def GetImageForPartition(partition_name, image_dir, **image_paths): argument 99 os.path.join(image_dir, partition_name + ".img")) 302 def MixSuperImage(self, super_image, misc_info, image_dir, argument 326 partition, image_dir,
|
/tools/acloud/public/actions/ |
D | remote_host_gf_device_factory.py | 541 image_dir = os.path.join(temp_dir, "images") 545 zip_file.extractall(image_dir) 546 image_dir = os.path.join( 547 image_dir, 553 remote_image_dir, image_dir, 560 image_dir, artifact_paths.boot_image, ota)) 624 def _MixAndUploadDiskImage(self, remote_image_dir, image_dir, argument 641 temp_dir, image_dir, system_image_path, system_dlkm_image_path, 662 def _MixAndUploadKernelImages(self, image_dir, boot_image_path, ota): argument 677 temp_dir, image_dir, boot_image_path, ota) [all …]
|