Home
last modified time | relevance | path

Searched refs:KEY_NOT_FOUND (Results 1 – 24 of 24) sorted by relevance

/system/security/keystore2/aidl/android/security/authorization/
DResponseCode.aidl45 KEY_NOT_FOUND = 7, enumConstant
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/1/android/system/keystore2/
DResponseCode.aidl42 KEY_NOT_FOUND = 7, enumConstant
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/2/android/system/keystore2/
DResponseCode.aidl42 KEY_NOT_FOUND = 7, enumConstant
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/3/android/system/keystore2/
DResponseCode.aidl42 KEY_NOT_FOUND = 7, enumConstant
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/4/android/system/keystore2/
DResponseCode.aidl42 KEY_NOT_FOUND = 7, enumConstant
/system/hardware/interfaces/keystore2/aidl/android/system/keystore2/
DResponseCode.aidl42 KEY_NOT_FOUND = 7, enumConstant
/system/hardware/interfaces/keystore2/aidl/aidl_api/android.system.keystore2/current/android/system/keystore2/
DResponseCode.aidl42 KEY_NOT_FOUND = 7, enumConstant
/system/security/keystore2/tests/
Dkeystore2_client_grant_key_tests.rs311 assert_eq!(Error::Rc(ResponseCode::KEY_NOT_FOUND), result.unwrap_err()); in keystore2_grant_delete_key_success()
404 assert_eq!(Error::Rc(ResponseCode::KEY_NOT_FOUND), result.unwrap_err()); in keystore2_grant_key_fails_with_permission_denied()
455 assert_eq!(Error::Rc(ResponseCode::KEY_NOT_FOUND), result.unwrap_err()); in keystore2_grant_fails_with_non_existing_key_expect_key_not_found_err()
521 assert_eq!(Error::Rc(ResponseCode::KEY_NOT_FOUND), result.unwrap_err()); in keystore2_ungrant_key_success()
572 assert_eq!(Error::Rc(ResponseCode::KEY_NOT_FOUND), result.unwrap_err()); in keystore2_ungrant_fails_with_non_existing_key_expect_key_not_found_error()
608 assert_eq!(Error::Rc(ResponseCode::KEY_NOT_FOUND), result.unwrap_err()); in keystore2_ungrant_fails_with_non_existing_key_expect_key_not_found_error()
770 assert_eq!(Error::Rc(ResponseCode::KEY_NOT_FOUND), result.unwrap_err()); in keystore2_grant_key_to_multi_users_delete_fails_with_key_not_found_error()
Dkeystore2_client_delete_key_tests.rs48 assert_eq!(Error::Rc(ResponseCode::KEY_NOT_FOUND), result.unwrap_err()); in keystore2_delete_key_success()
65 assert_eq!(Error::Rc(ResponseCode::KEY_NOT_FOUND), result.unwrap_err()); in keystore2_delete_key_fail()
Dkeystore2_client_key_id_domain_tests.rs151 assert_eq!(Error::Rc(ResponseCode::KEY_NOT_FOUND), result.unwrap_err()); in keystore2_key_id_alias_rebind_verify_by_alias()
236 assert_eq!(Error::Rc(ResponseCode::KEY_NOT_FOUND), result.unwrap_err()); in keystore2_key_id_alias_rebind_verify_by_key_id()
Dkeystore2_client_update_subcomponent_tests.rs80 assert_eq!(Error::Rc(ResponseCode::KEY_NOT_FOUND), result.unwrap_err()); in keystore2_update_subcomponent_fail()
102 assert_eq!(Error::Rc(ResponseCode::KEY_NOT_FOUND), result.unwrap_err()); in keystore2_update_subcomponent_no_key_entry_cert_fail()
Dkeystore2_client_ec_key_tests.rs473 assert_eq!(Error::Rc(ResponseCode::KEY_NOT_FOUND), result.unwrap_err()); in keystore2_key_owner_validation()
Dkeystore2_client_import_keys_tests.rs643 assert_eq!(Error::Rc(ResponseCode::KEY_NOT_FOUND), result.unwrap_err()); in keystore2_import_wrapped_key_fails_with_missing_wrapping_key()
Dkeystore2_client_authorizations_tests.rs151 assert_eq!(Error::Rc(ResponseCode::KEY_NOT_FOUND), result.unwrap_err()); in generate_key_and_perform_op_with_max_usage_limit()
/system/security/keystore2/src/
Dlegacy_importer.rs308 Some(&Error::Rc(ResponseCode::KEY_NOT_FOUND)) => {} in with_try_import()
321 return Err(Error::Rc(ResponseCode::KEY_NOT_FOUND)) in with_try_import()
327 return Err(Error::Rc(ResponseCode::KEY_NOT_FOUND)) in with_try_import()
343 Err(Error::Rc(ResponseCode::KEY_NOT_FOUND)).context("Legacy database is empty.") in with_try_import()
475 Err(Error::Rc(ResponseCode::KEY_NOT_FOUND)).context(ks_err!("Obsolete key.")) in get_super_key_id_check_unlockable_or_delete()
655 return Err(Error::Rc(ResponseCode::KEY_NOT_FOUND)) in check_and_import()
695 Err(Error::Rc(ResponseCode::KEY_NOT_FOUND)) in check_and_import()
742 Err(Error::Rc(ResponseCode::KEY_NOT_FOUND)).context(ks_err!("No key found do import.")) in check_and_import_super_key()
Draw_device.rs167 Some(&Error::Rc(ResponseCode::KEY_NOT_FOUND)) => Ok(None), in not_found_is_none()
243 .ok_or(Error::Rc(ResponseCode::KEY_NOT_FOUND)) in lookup_or_generate_key()
Dauthorization.rs74 KsResponseCode::KEY_NOT_FOUND => ResponseCode::KEY_NOT_FOUND.0, in into_logged_binder()
Dservice.rs202 Some(Error::Rc(ResponseCode::KEY_NOT_FOUND)) => Ok(None), in update_subcomponent()
222 return Err(Error::Rc(ResponseCode::KEY_NOT_FOUND)) in update_subcomponent()
Ddatabase.rs1304 Some(KsError::Rc(ResponseCode::KEY_NOT_FOUND)) => Ok(false), in key_exists()
1384 Some(KsError::Rc(ResponseCode::KEY_NOT_FOUND)) => Ok(None), in load_super_key()
1893 row.map_or_else(|| Err(KsError::Rc(ResponseCode::KEY_NOT_FOUND)), Ok)? in load_key_entry_id()
1953 row.map_or_else(|| Err(KsError::Rc(ResponseCode::KEY_NOT_FOUND)), Ok)?; in load_access_tuple()
1980 row.map_or_else(|| Err(KsError::Rc(ResponseCode::KEY_NOT_FOUND)), Ok)?; in load_access_tuple()
3433 Some(&KsError::Rc(ResponseCode::KEY_NOT_FOUND)), in test_insert_and_load_full_keyentry_domain_app()
3504 Some(&KsError::Rc(ResponseCode::KEY_NOT_FOUND)), in test_insert_and_load_certificate_entry_domain_app()
3561 Some(&KsError::Rc(ResponseCode::KEY_NOT_FOUND)), in test_insert_and_load_full_keyentry_domain_selinux()
3609 Some(&KsError::Rc(ResponseCode::KEY_NOT_FOUND)), in test_insert_and_load_full_keyentry_domain_key_id()
3710 Some(&KsError::Rc(ResponseCode::KEY_NOT_FOUND)), in test_insert_and_load_full_keyentry_from_grant()
[all …]
Derror.rs169 Some(Error::Rc(ResponseCode::KEY_NOT_FOUND)) in into_logged_binder()
Dsuper_key.rs213 .ok_or(Error::Rc(ResponseCode::KEY_NOT_FOUND)) in decrypt()
/system/hardware/interfaces/wifi/keystore/1.0/default/
Dkeystore.cpp142 if (rc.getServiceSpecificError() != int32_t(ks2::ResponseCode::KEY_NOT_FOUND)) { in keyStore2GetCert()
/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/
DVtsHalWifiKeystoreV1_0TargetTest.cpp120 rc.getServiceSpecificError() != int32_t(ks2::ResponseCode::KEY_NOT_FOUND)) { in deleteKey()
/system/security/keystore/
Dkeystore_cli_v2.cpp248 if (ks2::ResponseCode(error) == ks2::ResponseCode::KEY_NOT_FOUND && create) { in loadOrCreateAndVerifyEncryptionKey()
301 if (ks2::ResponseCode(error) == ks2::ResponseCode::KEY_NOT_FOUND && create) { in loadOrCreateAndVerifyAuthenticationKey()
849 if (ks2::ResponseCode(responseCode) == ks2::ResponseCode::KEY_NOT_FOUND) { in DoesKeyExist()