Home
last modified time | relevance | path

Searched refs:image_file (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/updater/
Dbuild_info.cpp54 auto& image_file = temp_files_.back(); in ParseTargetFile() local
55 if (!target_file.ExtractImage(entry_name, fstab_info, work_dir_, &image_file)) { in ParseTargetFile()
60 std::string mapped_path = image_file.path; in ParseTargetFile()
64 image_file.release(); in ParseTargetFile()
65 if (rename(image_file.path, mapped_path.c_str()) != 0) { in ParseTargetFile()
66 PLOG(ERROR) << "Failed to rename " << image_file.path << " to " << mapped_path; in ParseTargetFile()
Dtarget_files.cpp233 const std::string_view work_dir, TemporaryFile* image_file) const { in ExtractImage()
240 if (!ExtractEntryToTempFile(entry_name, image_file)) { in ExtractImage()
250 if (!SimgToImg(sparse_image.fd, image_file->fd)) { in ExtractImage()
/bootable/recovery/updater/include/updater/
Dtarget_files.h57 const std::string_view work_dir, TemporaryFile* image_file) const;
/bootable/recovery/tests/unit/
Dupdater_test.cpp163 void RunBlockImageUpdate(bool is_verify, PackageEntries entries, const std::string& image_file, in RunBlockImageUpdate() argument