Searched refs:check_grant_permission (Results 1 – 3 of 3) sorted by relevance
/system/security/keystore2/src/ |
D | permission.rs | 453 pub fn check_grant_permission( in check_grant_permission() function 705 check_grant_permission(&system_server_ctx, SYSTEM_SERVER_PERMISSIONS_NO_GRANT, &key) in check_grant_permission_app() 709 assert_perm_failed!(check_grant_permission( in check_grant_permission_app() 715 assert_perm_failed!(check_grant_permission(&shell_ctx, UNPRIV_PERMS, &key)); in check_grant_permission_app() 729 assert!(check_grant_permission(&sctx, NOT_GRANT_PERMS, &key).is_ok()); in check_grant_permission_selinux() 731 assert_perm_failed!(check_grant_permission(&sctx, KeyPerm::grant().into(), &key)); in check_grant_permission_selinux() 734 assert_perm_failed!(check_grant_permission(&sctx, UNPRIV_PERMS, &key)); in check_grant_permission_selinux()
|
D | utils.rs | 58 pub fn check_grant_permission(access_vec: KeyPermSet, key: &KeyDescriptor) -> anyhow::Result<()> { in check_grant_permission() function 60 permission::check_grant_permission( in check_grant_permission()
|
D | service.rs | 24 check_grant_permission, check_key_permission, check_keystore_permission, 336 |k, av| check_grant_permission(*av, k).context("During grant."), in grant()
|