Home
last modified time | relevance | path

Searched refs:boot_path (Results 1 – 5 of 5) 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()
75 base::FilePath boot_path = GenerateImage("boot.img", image_size); in TEST_F() local
76 EXPECT_NE(0U, boot_path.value().size()); in TEST_F()
79 ASSERT_TRUE(base::GetFileSize(boot_path, &file_size)); in TEST_F()
82 AddAvbFooter(boot_path, "hash", "boot", partition_size, "SHA256_RSA4096", 10, in TEST_F()
86 ExtractVBMetaImage(boot_path, "boot-vbmeta.img"); in TEST_F()
156 base::FilePath boot_path = GenerateImage("boot.img", boot_image_size); in TEST_F() local
[all …]
Dfs_avb_util_test.cpp107 base::FilePath boot_path = GenerateImage("boot.img", image_size); in TEST_F() local
109 AddAvbFooter(boot_path, "hash", "boot", partition_size, "SHA256_RSA4096", 10, in TEST_F()
113 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.cpp295 base::FilePath boot_path = GenerateImage("boot.img", boot_image_size); in TEST_F() local
297 AddAvbFooter(boot_path, "hash", "boot", boot_partition_size, "SHA256_RSA2048", 10, in TEST_F()
317 {boot_path}, /* include_descriptor_image_paths */ in TEST_F()
337 base::FilePath boot_path = GenerateImage("boot.img", image_size); in TEST_F() local
339 AddAvbFooter(boot_path, "hash", "boot", partition_size, "SHA256_RSA4096", 10, in TEST_F()
343 base::FilePath boot_vbmeta = ExtractVBMetaImage(boot_path, "boot-vbmeta.img"); in TEST_F()
808 base::FilePath boot_path = GenerateImage("boot.img", boot_image_size); in TEST_F() local
810 AddAvbFooter(boot_path, "hash", "boot", boot_partition_size, "SHA256_RSA2048", 10, in TEST_F()
911 base::FilePath boot_path = GenerateImage("boot.img", boot_image_size); in TEST_F() local
913 AddAvbFooter(boot_path, "hash", "boot", boot_partition_size, "SHA256_RSA4096", 10, in TEST_F()
[all …]
/system/update_engine/
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()