Home
last modified time | relevance | path

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

/system/keymaster/
Dandroid_keymaster.cpp242 if (context_->enforcement_policy()) { in BeginOperation()
245 if (!context_->enforcement_policy()->CreateKeyId(request.key_blob, &key_id)) in BeginOperation()
248 response->error = context_->enforcement_policy()->AuthorizeOperation( in BeginOperation()
274 if (context_->enforcement_policy()) { in UpdateOperation()
275 response->error = context_->enforcement_policy()->AuthorizeOperation( in UpdateOperation()
301 if (context_->enforcement_policy()) { in FinishOperation()
302 response->error = context_->enforcement_policy()->AuthorizeOperation( in FinishOperation()
Dandroid_keymaster_test.cpp73 KeymasterEnforcement* enforcement_policy() override { return &test_policy_; } in enforcement_policy() function in keymaster::test::TestKeymasterContext
/system/keymaster/include/keymaster/
Dkeymaster_context.h128 virtual KeymasterEnforcement* enforcement_policy() = 0;
Dsoft_keymaster_context.h55 KeymasterEnforcement* enforcement_policy() override { in enforcement_policy() function
/system/security/keystore/
Dkeystore.cpp2499 if (!enforcement_policy.CreateKeyId(key, &keyid)) { in begin()
2509 err = enforcement_policy.AuthorizeOperation(purpose, keyid, key_auths, operation_params, in begin()
2596 enforcement_policy.AuthorizeOperation(purpose, keyid, key_auths, in update()
2659 err = enforcement_policy.AuthorizeOperation(purpose, keyid, key_auths, operation_params, in finish()
3127 KeystoreKeymasterEnforcement enforcement_policy; member in android::KeyStoreProxy