Home
last modified time | relevance | path

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

/system/core/fs_mgr/libfs_avb/tests/
Dbasic_test.cpp29 base::FilePath boot_path = GenerateImage("boot.img", image_size); in TEST_F() local
30 EXPECT_NE(0U, boot_path.value().size()); in TEST_F()
34 ASSERT_TRUE(base::GetFileSize(boot_path, &file_size)); in TEST_F()
46 base::ReadFile(boot_path, reinterpret_cast<char*>(actual_content.data()), image_size)); in TEST_F()
77 base::FilePath boot_path = GenerateImage("boot.img", image_size); in TEST_F() local
78 EXPECT_NE(0U, boot_path.value().size()); in TEST_F()
81 ASSERT_TRUE(base::GetFileSize(boot_path, &file_size)); in TEST_F()
84 AddAvbFooter(boot_path, "hash", "boot", partition_size, "SHA256_RSA4096", 10, in TEST_F()
88 ExtractVBMetaImage(boot_path, "boot-vbmeta.img"); in TEST_F()
162 base::FilePath boot_path = GenerateImage("boot.img", boot_image_size); in TEST_F() local
[all …]
Dfs_avb_util_test.cpp109 base::FilePath boot_path = GenerateImage("boot.img", image_size); in TEST_F() local
111 AddAvbFooter(boot_path, "hash", "boot", partition_size, "SHA256_RSA4096", 10, in TEST_F()
115 auto boot_vbmeta = ExtractAndLoadVBMetaData(boot_path, "boot-vbmeta.img"); in TEST_F()
Dfs_avb_test.cpp67 base::FilePath boot_path = GenerateImage("boot.img", boot_image_size); in TEST_F() local
70 AddAvbFooter(boot_path, "hash", "boot", boot_partition_size, "SHA256_RSA2048", 10, in TEST_F()
138 base::FilePath boot_path = GenerateImage("boot.img", boot_image_size); in TEST_F() local
141 AddAvbFooter(boot_path, "hash", "boot", boot_partition_size, "SHA256_RSA2048", 10, in TEST_F()
243 base::FilePath boot_path = GenerateImage("boot.img", boot_image_size); in TEST_F() local
246 AddAvbFooter(boot_path, "hash", "boot", boot_partition_size, "SHA256_RSA2048", 10, in TEST_F()
Davb_util_test.cpp298 base::FilePath boot_path = GenerateImage("boot.img", boot_image_size); in TEST_F() local
300 AddAvbFooter(boot_path, "hash", "boot", boot_partition_size, "SHA256_RSA2048", 10, in TEST_F()
320 {boot_path}, /* include_descriptor_image_paths */ in TEST_F()
340 base::FilePath boot_path = GenerateImage("boot.img", image_size); in TEST_F() local
342 AddAvbFooter(boot_path, "hash", "boot", partition_size, "SHA256_RSA4096", 10, in TEST_F()
346 base::FilePath boot_vbmeta = ExtractVBMetaImage(boot_path, "boot-vbmeta.img"); in TEST_F()
821 base::FilePath boot_path = GenerateImage("boot.img", boot_image_size); in TEST_F() local
823 AddAvbFooter(boot_path, "hash", "boot", boot_partition_size, "SHA256_RSA2048", 10, in TEST_F()
931 base::FilePath boot_path = GenerateImage("boot.img", boot_image_size); in TEST_F() local
933 AddAvbFooter(boot_path, "hash", "boot", boot_partition_size, "SHA256_RSA4096", 10, in TEST_F()
[all …]