Searched defs:restrictionKey (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/core/java/android/os/ |
H A D | UserManager.java | 1105 * @param restrictionKey the string key representing the restriction 1113 public int getUserRestrictionSource(String restrictionKey, UserHandle userHandle) { argument 1115 return mService.getUserRestrictionSource(restrictionKey, userHandle.getIdentifier()); 1147 * @param restrictionKey the string key representing the restriction 1150 public boolean hasBaseUserRestriction(String restrictionKey, UserHandle userHandle) { argument 1152 return mService.hasBaseUserRestriction(restrictionKey, userHandle.getIdentifier()); 1218 * @param restrictionKey The string key representing the restriction. 1221 public boolean hasUserRestriction(String restrictionKey) { argument 1222 return hasUserRestriction(restrictionKey, Process.myUserHandle()); 1229 * @param restrictionKey th 1232 hasUserRestriction(String restrictionKey, UserHandle userHandle) argument [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserManagerService.java | 1192 public boolean hasUserRestriction(String restrictionKey, int userId) { argument 1193 if (!UserRestrictionsUtils.isValidRestriction(restrictionKey)) { 1197 return restrictions != null && restrictions.getBoolean(restrictionKey); 1205 * @param restrictionKey the string key representing the restriction 1214 public int getUserRestrictionSource(String restrictionKey, int userId) { argument 1219 if (!hasUserRestriction(restrictionKey, userId)) { 1223 if (hasBaseUserRestriction(restrictionKey, userId)) { 1230 && localRestrictions.getBoolean(restrictionKey)) { 1240 && mDevicePolicyGlobalUserRestrictions.getBoolean(restrictionKey)) { 1258 public boolean hasBaseUserRestriction(String restrictionKey, in argument [all...] |
H A D | PackageManagerService.java | 11834 boolean isUserRestricted(int userId, String restrictionKey) { argument 11836 if (restrictions.getBoolean(restrictionKey, false)) { 11837 Log.w(TAG, "User is restricted: " + restrictionKey);
|
Completed in 361 milliseconds