/device/google/cuttlefish/host/libs/image_aggregator/ |
D | sparse_image_utils.cc | 59 bool IsSparseImage(const std::string& image_path) { in IsSparseImage() argument 60 std::ifstream file(image_path, std::ios::binary); in IsSparseImage() 62 LOG(FATAL) << "Could not open '" << image_path << "'"; in IsSparseImage() 71 bool ConvertToRawImage(const std::string& image_path) { in ConvertToRawImage() argument 73 std::string tmp_lock_image_path = image_path + ".lock"; in ConvertToRawImage() 79 if (!IsSparseImage(image_path)) { in ConvertToRawImage() 81 LOG(DEBUG) << "Skip non-sparse image " << image_path; in ConvertToRawImage() 87 std::string tmp_raw_image_path = image_path + ".raw"; in ConvertToRawImage() 88 simg2img_cmd.AddParameter(image_path); in ConvertToRawImage() 95 LOG(FATAL) << "Unable to convert Android sparse image " << image_path in ConvertToRawImage() [all …]
|
D | sparse_image_utils.h | 21 bool IsSparseImage(const std::string& image_path); 23 bool ConvertToRawImage(const std::string& image_path);
|
/device/google/cuttlefish/host/libs/avb/ |
D | avb.cpp | 54 Command Avb::GenerateAddHashFooter(const std::string& image_path, in GenerateAddHashFooter() argument 68 command.AddParameter(image_path); in GenerateAddHashFooter() 76 Result<void> Avb::AddHashFooter(const std::string& image_path, in AddHashFooter() argument 80 GenerateAddHashFooter(image_path, partition_name, partition_size_bytes); in AddHashFooter() 87 Command Avb::GenerateInfoImage(const std::string& image_path, in GenerateInfoImage() argument 92 command.AddParameter(image_path); in GenerateInfoImage() 97 Result<void> Avb::WriteInfoImage(const std::string& image_path, in WriteInfoImage() argument 102 auto command = GenerateInfoImage(image_path, output_file); in WriteInfoImage()
|
D | avb.h | 56 Result<void> AddHashFooter(const std::string& image_path, 59 Result<void> WriteInfoImage(const std::string& image_path, 68 Command GenerateAddHashFooter(const std::string& image_path, 71 Command GenerateInfoImage(const std::string& image_path,
|
/device/google/cuttlefish/host/libs/config/ |
D | esp.h | 30 AndroidEfiLoaderEspBuilder(std::string image_path) in AndroidEfiLoaderEspBuilder() argument 31 : image_path_(std::move(image_path)) {} in AndroidEfiLoaderEspBuilder() 47 LinuxEspBuilder(std::string image_path): image_path_(std::move(image_path)) {} in LinuxEspBuilder() argument 73 FuchsiaEspBuilder(std::string image_path): image_path_(std::move(image_path)) {} in FuchsiaEspBuilder() argument
|
D | esp.cpp | 144 static bool MsdosMakeDirectories(const std::string& image_path, in MsdosMakeDirectories() argument 147 std::vector<std::string> command {mmd, "-i", image_path}; in MsdosMakeDirectories() 184 EspBuilder(std::string image_path): image_path_(std::move(image_path)) {} in EspBuilder() argument 266 EspBuilder PrepareESP(const std::string& image_path, Arch arch) { in PrepareESP() argument 267 auto builder = EspBuilder(image_path); in PrepareESP() 272 const auto efi_path = image_path + ".efi"; in PrepareESP()
|
/device/google/cuttlefish/host/commands/assemble_cvd/ |
D | boot_config.cc | 151 const std::string& image_path, in PrepareBootEnvImage() argument 156 auto tmp_boot_env_image_path = image_path + ".tmp"; in PrepareBootEnvImage() 206 if (!FileExists(image_path) || in PrepareBootEnvImage() 207 ReadFile(image_path) != ReadFile(tmp_boot_env_image_path)) { in PrepareBootEnvImage() 208 CF_EXPECT(RenameFile(tmp_boot_env_image_path, image_path), in PrepareBootEnvImage()
|
D | vendor_dlkm_utils.cc | 396 const std::string& image_path, in RepackSuperWithPartition() argument 403 lpadd.AddParameter(image_path); in RepackSuperWithPartition() 408 bool BuildVbmetaImage(const std::string& image_path, in BuildVbmetaImage() argument 410 CHECK(!image_path.empty()); in BuildVbmetaImage() 411 CHECK(FileExists(image_path)); in BuildVbmetaImage() 414 Result<void> result = avbtool->MakeVbMetaImage(vbmeta_path, {}, {image_path}, in BuildVbmetaImage()
|
D | misc_info.cc | 293 const std::string& image_path) { in GetVbmetaArgs() argument 326 fmt::format("{}/IMAGES/{}.img", image_path, partition)); in GetVbmetaArgs()
|
D | super_image_mixer.cc | 224 const std::string& image_path) { in RegenerateVbmeta() argument 225 const VbmetaArgs args = CF_EXPECT(GetVbmetaArgs(misc_info, image_path)); in RegenerateVbmeta()
|
D | vendor_dlkm_utils.h | 34 const std::string& image_path,
|
D | misc_info.h | 50 const std::string& image_path);
|
/device/generic/goldfish/fvpbase/ |
D | run_model_only | 24 -C bp.virtioblockdevice.image_path="$ANDROID_PRODUCT_OUT/system-qemu.img" \
|