Home
last modified time | relevance | path

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

/system/security/keystore2/src/
Dpermission.rs283 pub fn check_grant_permission( in check_grant_permission() function
524 check_grant_permission(&system_server_ctx, SYSTEM_SERVER_PERMISSIONS_NO_GRANT, &key) in check_grant_permission_app()
528 assert_perm_failed!(check_grant_permission( in check_grant_permission_app()
534 assert_perm_failed!(check_grant_permission(&shell_ctx, UNPRIV_PERMS, &key)); in check_grant_permission_app()
548 assert!(check_grant_permission(&sctx, NOT_GRANT_PERMS, &key).is_ok()); in check_grant_permission_selinux()
550 assert_perm_failed!(check_grant_permission(&sctx, KeyPerm::Grant.into(), &key)); in check_grant_permission_selinux()
553 assert_perm_failed!(check_grant_permission(&sctx, UNPRIV_PERMS, &key)); in check_grant_permission_selinux()
Dservice.rs25 check_grant_permission, check_key_permission, check_keystore_permission, count_key_entries,
358 |k, av| check_grant_permission(*av, k).context("During grant."), in grant()
Dutils.rs73 pub fn check_grant_permission(access_vec: KeyPermSet, key: &KeyDescriptor) -> anyhow::Result<()> { in check_grant_permission() function
75 permission::check_grant_permission( in check_grant_permission()