Home
last modified time | relevance | path

Searched refs:canSwitchUsers (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java202 boolean canSwitchUsers = mUserManager.canSwitchUsers(); in refreshUsers()
211 boolean switchToEnabled = canSwitchUsers || isCurrent; in refreshUsers()
218 false /* isRestricted */, canSwitchUsers); in refreshUsers()
257 false /* isAddUser */, createIsRestricted, canSwitchUsers); in refreshUsers()
270 createIsRestricted, canSwitchUsers); in refreshUsers()
587 boolean canSwitchUsers = mUserManager.canSwitchUsers(); in showGuestNotification()
589 PendingIntent removeGuestPI = canSwitchUsers ? PendingIntent.getBroadcastAsUser(mContext, in showGuestNotification()
/frameworks/base/core/java/android/os/
DUserManager.java877 public boolean canSwitchUsers() { in canSwitchUsers() method in UserManager