Home | History | Annotate | Download | only in os

Lines Matching defs:hasUserRestriction

1180         boolean isUserSwitchDisallowed = hasUserRestriction(DISALLOW_USER_SWITCH);
1744 public boolean hasUserRestriction(String restrictionKey) {
1745 return hasUserRestriction(restrictionKey, Process.myUserHandle());
1755 public boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) {
1757 return mService.hasUserRestriction(restrictionKey,
2659 if (hasUserRestriction(DISALLOW_USER_SWITCH)) {