Home
last modified time | relevance | path

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

/bootable/recovery/updater/
Dbuild_info.cpp45 for (const auto& fstab_info : fstab_info_list) { in ParseTargetFile() local
47 std::string entry_name = directory + fstab_info.mount_point + ".img"; in ParseTargetFile()
55 if (!target_file.ExtractImage(entry_name, fstab_info, work_dir_, &image_file)) { in ParseTargetFile()
63 mapped_path = work_dir_ + fstab_info.mount_point + ".img"; in ParseTargetFile()
71 LOG(INFO) << "Mounted " << fstab_info.mount_point << "\nMapping: " << fstab_info.blockdev_name in ParseTargetFile()
75 fstab_info.blockdev_name, in ParseTargetFile()
76 FakeBlockDevice(fstab_info.blockdev_name, fstab_info.mount_point, mapped_path)); in ParseTargetFile()
Dtarget_files.cpp232 bool TargetFile::ExtractImage(const std::string_view entry_name, const FstabInfo& fstab_info, in ExtractImage() argument
239 if (fstab_info.fs_type == "emmc" || misc_info_.find("extfs_sparse_flag") == misc_info_.end()) { in ExtractImage()
251 LOG(ERROR) << "Failed to convert " << fstab_info.mount_point << " to raw."; in ExtractImage()
/bootable/recovery/tests/unit/host/
Dupdate_simulator_test.cpp177 std::vector<FstabInfo> fstab_info; in TEST_F() local
178 EXPECT_TRUE(target_file.ParseFstabInfo(&fstab_info)); in TEST_F()
181 std::transform(fstab_info.begin(), fstab_info.end(), std::back_inserter(transformed), in TEST_F()
/bootable/recovery/updater/include/updater/
Dtarget_files.h56 bool ExtractImage(const std::string_view entry_name, const FstabInfo& fstab_info,