Home
last modified time | relevance | path

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

/aosp12/system/core/fs_mgr/libfs_avb/tests/
H A 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()
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
164 AddAvbFooter(boot_path, "hash", "boot", boot_partition_size, "SHA256_RSA4096", 10, in TEST_F()
[all …]
H A Davb_util_test.cpp297 base::FilePath boot_path = GenerateImage("boot.img", boot_image_size); in TEST_F() local
339 base::FilePath boot_path = GenerateImage("boot.img", image_size); in TEST_F() local
814 base::FilePath boot_path = GenerateImage("boot.img", boot_image_size); in TEST_F() local
921 base::FilePath boot_path = GenerateImage("boot.img", boot_image_size); in TEST_F() local
1206 base::FilePath boot_path = GenerateImage("boot.img", boot_image_size); in TEST_F() local
1262 EXPECT_TRUE(CompareVBMeta(boot_path, vbmeta_images[1])); in TEST_F()
1341 EXPECT_TRUE(CompareVBMeta(boot_path, vbmeta_images[1])); in TEST_F()
1440 EXPECT_TRUE(CompareVBMeta(boot_path, vbmeta_images[1])); in TEST_F()
1468 EXPECT_TRUE(CompareVBMeta(boot_path, vbmeta_images[1])); in TEST_F()
1544 EXPECT_TRUE(CompareVBMeta(boot_path, vbmeta_images[1])); in TEST_F()
[all …]
H A 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()
H A 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()
/aosp12/system/update_engine/cros/
H A Dboot_control_chromeos.cc58 char boot_path[PATH_MAX]; in GetBootDevice() local
61 int ret = rootdev(boot_path, sizeof(boot_path), true, false); in GetBootDevice()
70 return boot_path; in GetBootDevice()