Searched defs:restrictionKey (Results 1 - 4 of 4) sorted by path
/frameworks/base/core/java/android/os/ |
H A D | UserManager.java | 1258 * @param restrictionKey the string key representing the restriction 1269 public int getUserRestrictionSource(String restrictionKey, UserHandle userHandle) { argument 1271 return mService.getUserRestrictionSource(restrictionKey, userHandle.getIdentifier()); 1281 * @param restrictionKey the string key representing the restriction 1288 String restrictionKey, UserHandle userHandle) { 1290 return mService.getUserRestrictionSources(restrictionKey, userHandle.getIdentifier()); 1322 * @param restrictionKey the string key representing the restriction 1325 public boolean hasBaseUserRestriction(String restrictionKey, UserHandle userHandle) { argument 1327 return mService.hasBaseUserRestriction(restrictionKey, userHandle.getIdentifier()); 1393 * @param restrictionKey Th 1287 getUserRestrictionSources( String restrictionKey, UserHandle userHandle) argument 1396 hasUserRestriction(String restrictionKey) argument 1407 hasUserRestriction(String restrictionKey, UserHandle userHandle) argument [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 14589 boolean isUserRestricted(int userId, String restrictionKey) { argument 14591 if (restrictions.getBoolean(restrictionKey, false)) { 14592 Log.w(TAG, "User is restricted: " + restrictionKey); [all...] |
H A D | UserManagerService.java | 1300 public boolean hasUserRestriction(String restrictionKey, int userId) { argument 1301 if (!UserRestrictionsUtils.isValidRestriction(restrictionKey)) { 1305 return restrictions != null && restrictions.getBoolean(restrictionKey); 1313 * @param restrictionKey the string key representing the restriction 1322 public int getUserRestrictionSource(String restrictionKey, int userId) { argument 1323 List<EnforcingUser> enforcingUsers = getUserRestrictionSources(restrictionKey, userId); 1334 String restrictionKey, @UserIdInt int userId) { 1338 if (!hasUserRestriction(restrictionKey, userId)) { 1345 if (hasBaseUserRestriction(restrictionKey, userId)) { 1353 if (UserRestrictionsUtils.contains(profileOwnerRestrictions, restrictionKey)) { 1333 getUserRestrictionSources( String restrictionKey, @UserIdInt int userId) argument 1385 hasBaseUserRestriction(String restrictionKey, int userId) argument [all...] |
H A D | UserRestrictionsUtils.java | 564 public static void moveRestriction(String restrictionKey, SparseArray<Bundle> srcRestrictions, argument 569 if (contains(from, restrictionKey)) { 570 from.remove(restrictionKey); 576 to.putBoolean(restrictionKey, true);
|
Completed in 130 milliseconds