Searched refs:checkCallAuthorization (Results 1 – 4 of 4) sorted by relevance
1552 Preconditions.checkCallAuthorization(mIsAutomotive || isAdb(callerIdentity), "can only set " in setDevicePolicySafetyChecker()1603 Preconditions.checkCallAuthorization( in setNextOperationSafety()1622 Preconditions.checkCallAuthorization( in listAllOwners()2815 Preconditions.checkCallAuthorization(isManagedProfile(userHandle), in getActiveAdminUncheckedLocked()3781 Preconditions.checkCallAuthorization(canManageUsers(getCallerIdentity()));3821 Preconditions.checkCallAuthorization(3823 Preconditions.checkCallAuthorization(hasFullCrossUsersPermission(caller, userHandle));3968 Preconditions.checkCallAuthorization(areAllUsersAffiliatedWithDeviceLocked(),3980 Preconditions.checkCallAuthorization(hasFullCrossUsersPermission(caller, userHandle));3995 Preconditions.checkCallAuthorization(hasFullCrossUsersPermission(caller, userHandle));[all …]
65 Preconditions.checkCallAuthorization(mContext.checkCallingOrSelfPermission( in factoryReset()
46 Preconditions.checkCallAuthorization(context.checkCallingOrSelfPermission( in setFactoryResetting()
252 public static void checkCallAuthorization(final boolean expression) { in checkCallAuthorization() method in Preconditions266 public static void checkCallAuthorization(final boolean expression, final String message) { in checkCallAuthorization() method in Preconditions282 public static void checkCallAuthorization( in checkCallAuthorization() method in Preconditions