Lines Matching defs:hasUserRestriction
490 if (currentGuestUser != null && !hasUserRestriction(
1085 if (hasUserRestriction(UserManager.DISALLOW_SET_USER_ICON, userId)) {
1304 public boolean hasUserRestriction(String restrictionKey, int userId) {
1342 if (!hasUserRestriction(restrictionKey, userId)) {
2377 if (hasUserRestriction(restriction, UserHandle.getCallingUserId())) {