/system/core/fs_mgr/libfs_avb/tests/ |
D | basic_test.cpp | 29 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 …]
|
D | fs_avb_util_test.cpp | 107 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()
|
D | fs_avb_test.cpp | 67 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()
|
D | avb_util_test.cpp | 295 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/ |
D | boot_control_chromeos.cc | 58 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()
|