Home
last modified time | relevance | path

Searched refs:vbmeta_buffer (Results 1 – 2 of 2) sorted by relevance

/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_test_util.cpp204 std::string vbmeta_buffer; in GenerateImageAndExtractVBMetaData() local
205 EXPECT_TRUE(base::ReadFileToString(vbmeta_image, &vbmeta_buffer)); in GenerateImageAndExtractVBMetaData()
207 return {(const uint8_t*)vbmeta_buffer.data(), vbmeta_buffer.size(), partition_name}; in GenerateImageAndExtractVBMetaData()
218 std::string vbmeta_buffer; in LoadVBMetaData() local
219 EXPECT_TRUE(base::ReadFileToString(image_path, &vbmeta_buffer)); in LoadVBMetaData()
222 return {(const uint8_t*)vbmeta_buffer.data(), vbmeta_buffer.size(), partition_name}; in LoadVBMetaData()
Davb_util_test.cpp586 std::vector<uint8_t> vbmeta_buffer(buffer_size); in TEST_F() local
588 vbmeta_buffer[n] = uint8_t(n); in TEST_F()
591 VBMetaData invalid_vbmeta((const uint8_t*)vbmeta_buffer.data(), vbmeta_buffer.size(), in TEST_F()