Home
last modified time | relevance | path

Searched refs:image_path (Results 1 – 13 of 13) sorted by relevance

/device/google/cuttlefish/host/libs/image_aggregator/
Dsparse_image_utils.cc59 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 …]
Dsparse_image_utils.h21 bool IsSparseImage(const std::string& image_path);
23 bool ConvertToRawImage(const std::string& image_path);
/device/google/cuttlefish/host/libs/avb/
Davb.cpp54 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()
Davb.h56 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/
Desp.h30 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
Desp.cpp144 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/
Dboot_config.cc151 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()
Dvendor_dlkm_utils.cc396 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()
Dmisc_info.cc293 const std::string& image_path) { in GetVbmetaArgs() argument
326 fmt::format("{}/IMAGES/{}.img", image_path, partition)); in GetVbmetaArgs()
Dsuper_image_mixer.cc224 const std::string& image_path) { in RegenerateVbmeta() argument
225 const VbmetaArgs args = CF_EXPECT(GetVbmetaArgs(misc_info, image_path)); in RegenerateVbmeta()
Dvendor_dlkm_utils.h34 const std::string& image_path,
Dmisc_info.h50 const std::string& image_path);
/device/generic/goldfish/fvpbase/
Drun_model_only24 -C bp.virtioblockdevice.image_path="$ANDROID_PRODUCT_OUT/system-qemu.img" \