Searched refs:vbmeta_image (Results 1 – 7 of 7) sorted by relevance
/system/core/fs_mgr/libfs_avb/tests/ |
D | fs_avb_test_util.cpp | 99 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/ |
D | writer.cpp | 68 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()
|
D | reader.h | 31 const std::string& vbmeta_image);
|
D | writer.h | 33 const std::string& vbmeta_image);
|
D | reader.cpp | 105 const std::string& vbmeta_image) { in ValidateVBMetaImage() argument 111 if (vbmeta_image != content.value()) { in ValidateVBMetaImage()
|
D | builder.cpp | 175 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()
|
D | builder.h | 43 const std::string& vbmeta_image);
|