Searched refs:VBMetaVerifyResult (Results 1 – 9 of 9) sorted by relevance
/system/core/fs_mgr/libfs_avb/tests/ |
D | avb_util_test.cpp | 40 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 …]
|
D | fs_avb_device_test.cpp | 31 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/ |
D | avb_util.cpp | 397 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 …]
|
D | avb_util.h | 78 VBMetaVerifyResult* out_verify_result); 80 VBMetaVerifyResult VerifyVBMetaSignature(const VBMetaData& vbmeta, 100 bool* out_verification_disabled, VBMetaVerifyResult* out_verify_result); 105 VBMetaVerifyResult LoadAndVerifyVbmetaByPartition(
|
D | types.cpp | 23 const char* VBMetaVerifyResultToString(VBMetaVerifyResult result) { in VBMetaVerifyResultToString() 42 std::ostream& operator<<(std::ostream& os, VBMetaVerifyResult result) { in operator <<()
|
D | fs_avb.cpp | 218 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()
|
D | fs_avb_util.cpp | 39 VBMetaVerifyResult* out_verify_result) { in LoadAndVerifyVbmeta()
|
/system/core/fs_mgr/libfs_avb/include/fs_avb/ |
D | fs_avb_util.h | 33 VBMetaVerifyResult* out_verify_result); 40 bool* out_verification_disabled, VBMetaVerifyResult* out_verify_result);
|
D | types.h | 28 enum class VBMetaVerifyResult { enum 34 std::ostream& operator<<(std::ostream& os, VBMetaVerifyResult);
|