Home
last modified time | relevance | path

Searched refs:IsSecure (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/keymaster/4.0/vts/functional/
DKeymasterHidlTest.h208 static bool IsSecure() { return securityLevel_ != SecurityLevel::SOFTWARE; } in IsSecure() function
Dkeymaster_hidl_hal_test.cpp310 EXPECT_EQ(KeymasterHidlTest::IsSecure() ? SecurityLevel::TRUSTED_ENVIRONMENT in verify_attestation_record()
313 EXPECT_EQ(KeymasterHidlTest::IsSecure() ? SecurityLevel::TRUSTED_ENVIRONMENT in verify_attestation_record()
393 if (IsSecure()) { in TEST_F()
457 if (IsSecure()) { in TEST_F()
574 if (IsSecure()) { in TEST_F()
1632 if (IsSecure()) { in CheckCryptoParam()
1647 if (IsSecure()) { in CheckOrigin()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp932 static bool IsSecure() { return is_secure_; } in IsSecure() function in android::hardware::keymaster::V3_0::test::KeymasterHidlTest
940 SupportsEc() && IsSecure(); in Km2Profile()
944 return !SupportsAttestation() && SupportsSymmetric() && SupportsEc() && IsSecure(); in Km1Profile()
949 IsSecure(); in Km0Profile()
954 !SupportsEc() && !IsSecure(); in SwOnlyProfile()
1013 if (!KeymasterHidlTest::IsSecure()) { in verify_attestation_record()
1026 EXPECT_EQ(KeymasterHidlTest::IsSecure() ? SecurityLevel::TRUSTED_ENVIRONMENT in verify_attestation_record()
1075 << "IsSecure [" << IsSecure() << "]"; in TEST_F()
1142 if (IsSecure()) { in TEST_F()
1188 if (IsSecure()) { in TEST_F()