Home
last modified time | relevance | path

Searched refs:SecLevel (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/keymaster/4.0/vts/functional/
DVerificationTokenTest.cpp84 if (SecLevel() == SecurityLevel::STRONGBOX) { in TEST_F()
92 EXPECT_EQ(SecLevel(), result1.token.securityLevel); in TEST_F()
106 EXPECT_EQ(SecLevel(), result2.token.securityLevel); in TEST_F()
DKeymasterHidlTest.cpp608 switch (SecLevel()) { in ValidKeySizes()
614 CHECK(false) << "Invalid security level " << uint32_t(SecLevel()); in ValidKeySizes()
619 switch (SecLevel()) { in ValidKeySizes()
625 CHECK(false) << "Invalid security level " << uint32_t(SecLevel()); in ValidKeySizes()
647 if (SecLevel() == SecurityLevel::TRUSTED_ENVIRONMENT) return {}; in InvalidKeySizes()
648 CHECK(SecLevel() == SecurityLevel::STRONGBOX); in InvalidKeySizes()
668 if (SecLevel() == SecurityLevel::TRUSTED_ENVIRONMENT) return {}; in InvalidCurves()
669 CHECK(SecLevel() == SecurityLevel::STRONGBOX); in InvalidCurves()
675 switch (SecLevel()) { in ValidDigests()
701 CHECK(false) << "Invalid security level " << uint32_t(SecLevel()); in ValidDigests()
DKeymasterHidlTest.h209 static SecurityLevel SecLevel() { return securityLevel_; } in SecLevel() function
Dkeymaster_hidl_hal_test.cpp510 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_F()
659 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_F()
1744 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_F()
3727 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_F()
3754 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_F()