Home
last modified time | relevance | path

Searched refs:VBMetaVerifyResult (Results 1 – 9 of 9) sorted by relevance

/system/core/fs_mgr/libfs_avb/tests/
Davb_util_test.cpp40 using android::fs_mgr::VBMetaVerifyResult;
55 bool TestVBMetaModification(VBMetaVerifyResult expected_result, const VBMetaData& vbmeta,
491 EXPECT_EQ(VBMetaVerifyResult::kSuccess, in TEST_F()
497 EXPECT_EQ(VBMetaVerifyResult::kErrorVerification, in TEST_F()
511 EXPECT_EQ(VBMetaVerifyResult::kSuccess, in TEST_F()
517 EXPECT_EQ(VBMetaVerifyResult::kErrorVerification, in TEST_F()
522 bool AvbUtilTest::TestVBMetaModification(VBMetaVerifyResult expected_result, in TestVBMetaModification()
532 VBMetaVerifyResult result = VerifyVBMetaSignature(vbmeta, "" /* expected_public_key_blob */, in TestVBMetaModification()
558 EXPECT_TRUE(TestVBMetaModification(VBMetaVerifyResult::kErrorVerification, vbmeta, in TEST_F()
562 EXPECT_TRUE(TestVBMetaModification(VBMetaVerifyResult::kErrorVerification, vbmeta, in TEST_F()
[all …]
Dfs_avb_device_test.cpp31 using android::fs_mgr::VBMetaVerifyResult;
46 VBMetaVerifyResult out_verify_result; in TEST()
52 EXPECT_EQ(VBMetaVerifyResult::kSuccess, out_verify_result); in TEST()
81 VBMetaVerifyResult out_verify_result; in TEST()
87 EXPECT_EQ(VBMetaVerifyResult::kSuccess, out_verify_result); in TEST()
/system/core/fs_mgr/libfs_avb/
Davb_util.cpp397 VBMetaVerifyResult VerifyVBMetaSignature(const VBMetaData& vbmeta, in VerifyVBMetaSignature()
418 return VBMetaVerifyResult::kError; in VerifyVBMetaSignature()
423 return VBMetaVerifyResult::kErrorVerification; in VerifyVBMetaSignature()
425 return VBMetaVerifyResult::kSuccess; in VerifyVBMetaSignature()
431 return VBMetaVerifyResult::kErrorVerification; in VerifyVBMetaSignature()
446 return VBMetaVerifyResult::kError; in VerifyVBMetaSignature()
452 VBMetaVerifyResult* out_verify_result) { in VerifyVBMetaData()
458 *out_verify_result = VBMetaVerifyResult::kError; in VerifyVBMetaData()
491 if (verify_result == VBMetaVerifyResult::kSuccess || in VerifyVBMetaData()
492 verify_result == VBMetaVerifyResult::kErrorVerification) { in VerifyVBMetaData()
[all …]
Davb_util.h78 VBMetaVerifyResult* out_verify_result);
80 VBMetaVerifyResult VerifyVBMetaSignature(const VBMetaData& vbmeta,
100 bool* out_verification_disabled, VBMetaVerifyResult* out_verify_result);
105 VBMetaVerifyResult LoadAndVerifyVbmetaByPartition(
Dtypes.cpp23 const char* VBMetaVerifyResultToString(VBMetaVerifyResult result) { in VBMetaVerifyResultToString()
42 std::ostream& operator<<(std::ostream& os, VBMetaVerifyResult result) { in operator <<()
Dfs_avb.cpp218 case VBMetaVerifyResult::kSuccess: in LoadAndVerifyVbmeta()
221 case VBMetaVerifyResult::kErrorVerification: in LoadAndVerifyVbmeta()
296 VBMetaVerifyResult verify_result = VBMetaVerifyResult::kError; in LoadAndVerifyVbmeta()
316 case VBMetaVerifyResult::kSuccess: in LoadAndVerifyVbmeta()
319 case VBMetaVerifyResult::kErrorVerification: in LoadAndVerifyVbmeta()
Dfs_avb_util.cpp39 VBMetaVerifyResult* out_verify_result) { in LoadAndVerifyVbmeta()
/system/core/fs_mgr/libfs_avb/include/fs_avb/
Dfs_avb_util.h33 VBMetaVerifyResult* out_verify_result);
40 bool* out_verification_disabled, VBMetaVerifyResult* out_verify_result);
Dtypes.h28 enum class VBMetaVerifyResult { enum
34 std::ostream& operator<<(std::ostream& os, VBMetaVerifyResult);