Lines Matching defs:hasUserRestriction
553 if (currentGuestUser != null && !hasUserRestriction(
1280 if (hasUserRestriction(UserManager.DISALLOW_SET_USER_ICON, userId)) {
1499 public boolean hasUserRestriction(String restrictionKey, int userId) {
1554 if (!hasUserRestriction(restrictionKey, userId)) {
2593 if (hasUserRestriction(restriction, UserHandle.getCallingUserId())) {