Home
last modified time | relevance | path

Searched refs:check_keystore_permission (Results 1 – 6 of 6) sorted by relevance

/system/security/keystore2/src/
Dmaintenance.rs25 use crate::utils::{check_key_permission, check_keystore_permission, watchdog as wd};
71 check_keystore_permission(KeystorePerm::change_password()) in on_user_password_changed()
108 check_keystore_permission(KeystorePerm::change_user()).context("In add_or_remove_user.")?; in add_or_remove_user()
126 check_keystore_permission(KeystorePerm::clear_uid()).context("In clear_namespace.")?; in clear_namespace()
141 check_keystore_permission(KeystorePerm::get_state()).context("In get_state.")?; in get_state()
200 check_keystore_permission(KeystorePerm::early_boot_ended()) in early_boot_ended()
212 check_keystore_permission(KeystorePerm::report_off_body()) in on_device_off_body()
258 check_keystore_permission(KeystorePerm::delete_all_keys()) in delete_all_keys()
Dauthorization.rs21 use crate::utils::{check_keystore_permission, watchdog as wd};
122 check_keystore_permission(KeystorePerm::add_auth()).context("In add_auth_token.")?; in add_auth_token()
146 check_keystore_permission(KeystorePerm::unlock()) in on_lock_screen_event()
180 check_keystore_permission(KeystorePerm::unlock()) in on_lock_screen_event()
190 check_keystore_permission(KeystorePerm::lock()) in on_lock_screen_event()
218 check_keystore_permission(KeystorePerm::get_auth_token()) in get_auth_tokens_for_credstore()
Dpermission.rs435 pub fn check_keystore_permission(caller_ctx: &CStr, perm: KeystorePerm) -> anyhow::Result<()> { in check_keystore_permission() function
675 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::add_auth()).is_ok()); in check_keystore_permission_test()
676 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::clear_ns()).is_ok()); in check_keystore_permission_test()
677 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::get_state()).is_ok()); in check_keystore_permission_test()
678 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::lock()).is_ok()); in check_keystore_permission_test()
679 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::reset()).is_ok()); in check_keystore_permission_test()
680 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::unlock()).is_ok()); in check_keystore_permission_test()
681 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::change_user()).is_ok()); in check_keystore_permission_test()
683 check_keystore_permission(&system_server_ctx, KeystorePerm::change_password()).is_ok() in check_keystore_permission_test()
685 assert!(check_keystore_permission(&system_server_ctx, KeystorePerm::clear_uid()).is_ok()); in check_keystore_permission_test()
[all …]
Dmetrics.rs20 use crate::utils::{check_keystore_permission, watchdog as wd};
44 check_keystore_permission(KeystorePerm::pull_metrics()).context("In pull_metrics.")?; in pull_metrics()
Dutils.rs44 pub fn check_keystore_permission(perm: KeystorePerm) -> anyhow::Result<()> { in check_keystore_permission() function
46 permission::check_keystore_permission( in check_keystore_permission()
Dservice.rs24 check_grant_permission, check_key_permission, check_keystore_permission,
279 check_keystore_permission(KeystorePerm::list()) in list_entries()