Lines Matching refs:assert_perm_failed

648     macro_rules! assert_perm_failed {  macro
687 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::add_auth())); in check_keystore_permission_test()
688 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::clear_ns())); in check_keystore_permission_test()
690 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::list())); in check_keystore_permission_test()
691 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::lock())); in check_keystore_permission_test()
692 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::reset())); in check_keystore_permission_test()
693 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::unlock())); in check_keystore_permission_test()
694 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::change_user())); in check_keystore_permission_test()
695 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::change_password())); in check_keystore_permission_test()
696 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::clear_uid())); in check_keystore_permission_test()
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()
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()
743 assert_perm_failed!(check_key_permission( in check_key_permission_domain_grant()
788 assert_perm_failed!(check_key_permission(0, &shell_ctx, KeyPerm::grant(), &key, &None)); in check_key_permission_domain_app()
789 assert_perm_failed!(check_key_permission( in check_key_permission_domain_app()
796 assert_perm_failed!(check_key_permission( in check_key_permission_domain_app()
803 assert_perm_failed!(check_key_permission( in check_key_permission_domain_app()
810 assert_perm_failed!(check_key_permission( in check_key_permission_domain_app()
819 assert_perm_failed!(check_key_permission( in check_key_permission_domain_app()
836 assert_perm_failed!(check_key_permission( in check_key_permission_domain_app()
874 assert_perm_failed!(check_key_permission(0, &sctx, KeyPerm::grant(), &key, &None)); in check_key_permission_domain_selinux()
875 assert_perm_failed!(check_key_permission( in check_key_permission_domain_selinux()
882 assert_perm_failed!(check_key_permission( in check_key_permission_domain_selinux()
889 assert_perm_failed!(check_key_permission(0, &sctx, KeyPerm::use_dev_id(), &key, &None)); in check_key_permission_domain_selinux()
890 assert_perm_failed!(check_key_permission( in check_key_permission_domain_selinux()
914 assert_perm_failed!(check_key_permission(0, &sctx, KeyPerm::use_(), &key, &None)); in check_key_permission_domain_blob()