Home
last modified time | relevance | path

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

/hardware/interfaces/keymaster/4.0/vts/functional/
DVerificationTokenTest.cpp84 if (SecLevel() == SecurityLevel::STRONGBOX) { in TEST_P()
92 EXPECT_EQ(SecLevel(), result1.token.securityLevel); in TEST_P()
106 EXPECT_EQ(SecLevel(), result2.token.securityLevel); in TEST_P()
144 if (SecLevel() == SecurityLevel::STRONGBOX) { in TEST_P()
152 EXPECT_EQ(SecLevel(), result1.token.securityLevel); in TEST_P()
167 EXPECT_EQ(SecLevel(), result2.token.securityLevel); in TEST_P()
DKeymasterHidlTest.cpp198 if (SecLevel() != SecurityLevel::SOFTWARE) { in CheckGetCharacteristics()
639 switch (SecLevel()) { in ValidKeySizes()
646 ADD_FAILURE() << "Invalid security level " << uint32_t(SecLevel()); in ValidKeySizes()
651 switch (SecLevel()) { in ValidKeySizes()
658 ADD_FAILURE() << "Invalid security level " << uint32_t(SecLevel()); in ValidKeySizes()
681 if (SecLevel() == SecurityLevel::STRONGBOX) { in InvalidKeySizes()
705 if (SecLevel() == SecurityLevel::TRUSTED_ENVIRONMENT) return {}; in InvalidCurves()
706 CHECK(SecLevel() == SecurityLevel::STRONGBOX); in InvalidCurves()
711 switch (SecLevel()) { in ValidDigests()
738 ADD_FAILURE() << "Invalid security level " << uint32_t(SecLevel()); in ValidDigests()
Dkeymaster_hidl_hal_test.cpp667 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_P()
699 if (SecLevel() == SecurityLevel::STRONGBOX) { in TEST_P()
822 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_P()
978 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_P()
1063 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_P()
1479 if (SecLevel() != SecurityLevel::STRONGBOX) { in TEST_P()
1513 if (SecLevel() != SecurityLevel::STRONGBOX) { in TEST_P()
2012 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_P()
2426 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_P()
4142 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_P()
[all …]
DKeymasterHidlTest.h206 SecurityLevel SecLevel() { return securityLevel_; } in SecLevel() function
/hardware/interfaces/keymaster/4.1/vts/functional/
DDeviceUniqueAttestationTest.cpp187 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_P()
221 if (SecLevel() != SecurityLevel::STRONGBOX) return; in TEST_P()
259 SecLevel()); in TEST_P()
263 if (SecLevel() != SecurityLevel::STRONGBOX) return; in TEST_P()
299 SecLevel()); in TEST_P()