Home
last modified time | relevance | path

Searched refs:vbmeta_image (Results 1 – 7 of 7) sorted by relevance

/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_test_util.cpp99 VBMetaImage vbmeta_image; in GenerateVBMetaImage() local
100 vbmeta_image.path = test_dir_.Append(file_name); in GenerateVBMetaImage()
108 vbmeta_image.path.value().c_str()); in GenerateVBMetaImage()
110 EXPECT_TRUE(base::GetFileSize(vbmeta_image.path, &file_size)); in GenerateVBMetaImage()
111 vbmeta_image.content.resize(file_size); in GenerateVBMetaImage()
112 EXPECT_TRUE(base::ReadFile(vbmeta_image.path, in GenerateVBMetaImage()
113 reinterpret_cast<char*>(vbmeta_image.content.data()), file_size)); in GenerateVBMetaImage()
115 vbmeta_images_.emplace(file_name, std::move(vbmeta_image)); in GenerateVBMetaImage()
123 VBMetaImage vbmeta_image; in ExtractVBMetaImage() local
124 vbmeta_image.path = test_dir_.Append(output_file_name); in ExtractVBMetaImage()
[all …]
/system/core/fs_mgr/libvbmeta/
Dwriter.cpp68 Result<void> WriteVBMetaImage(int fd, const uint8_t slot_number, const std::string& vbmeta_image) { in WriteVBMetaImage() argument
74 if (!android::base::WriteFully(fd, vbmeta_image.data(), vbmeta_image.size())) { in WriteVBMetaImage()
Dreader.h31 const std::string& vbmeta_image);
Dwriter.h33 const std::string& vbmeta_image);
Dreader.cpp105 const std::string& vbmeta_image) { in ValidateVBMetaImage() argument
111 if (vbmeta_image != content.value()) { in ValidateVBMetaImage()
Dbuilder.cpp175 const std::string& vbmeta_image) { in ExportVBMetaImageToFile() argument
177 WriteVBMetaImage(super_vbmeta_fd_, vbmeta_index, vbmeta_image); in ExportVBMetaImageToFile()
183 ValidateVBMetaImage(super_vbmeta_fd_, vbmeta_index, vbmeta_image); in ExportVBMetaImageToFile()
Dbuilder.h43 const std::string& vbmeta_image);