Home
last modified time | relevance | path

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

/system/core/fs_mgr/libfs_avb/tests/
Davb_util_test.cpp30 using android::fs_mgr::DeriveAvbPartitionName;
101 TEST_F(AvbUtilTest, DeriveAvbPartitionName) { in TEST_F() argument
113 EXPECT_EQ("system", DeriveAvbPartitionName(fstab_entry, "_dont_care", "_dont_care")); in TEST_F()
114 EXPECT_EQ("system", DeriveAvbPartitionName(fstab_entry, "_a", "_b")); in TEST_F()
115 EXPECT_EQ("system", DeriveAvbPartitionName(fstab_entry, "", "")); in TEST_F()
119 EXPECT_EQ("system", DeriveAvbPartitionName(fstab_entry, "_a", "_dont_care")); in TEST_F()
120 EXPECT_EQ("system", DeriveAvbPartitionName(fstab_entry, "_a", "_b")); in TEST_F()
121 EXPECT_EQ("system", DeriveAvbPartitionName(fstab_entry, "_a", "")); in TEST_F()
122 EXPECT_EQ("system_a", DeriveAvbPartitionName(fstab_entry, "_wont_erase_a", "_dont_care")); in TEST_F()
127 EXPECT_EQ("system_other", DeriveAvbPartitionName(fstab_entry, "_dont_care", "_b")); in TEST_F()
[all …]
/system/core/fs_mgr/libfs_avb/
Dfs_avb_util.cpp42 std::string avb_partition_name = DeriveAvbPartitionName(fstab_entry, fs_mgr_get_slot_suffix(), in LoadAndVerifyVbmeta()
Davb_util.h67 std::string DeriveAvbPartitionName(const FstabEntry& fstab_entry, const std::string& ab_suffix,
Davb_util.cpp250 std::string partition_name = DeriveAvbPartitionName(*fstab_entry, ab_suffix, ab_other_suffix); in LoadAvbHashtreeToEnableVerity()
298 std::string DeriveAvbPartitionName(const FstabEntry& fstab_entry, const std::string& ab_suffix, in DeriveAvbPartitionName() function
Dfs_avb.cpp528 std::string avb_partition_name = DeriveAvbPartitionName(fstab_entry, fs_mgr_get_slot_suffix(), in GetSecurityPatchLevel()