Home
last modified time | relevance | path

Searched refs:isGuest (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java179 if (info.isGuest()) { in refreshUsers()
266 if (record.isGuest && record.info == null) { in switchTo()
284 if (record.isGuest) { in switchTo()
344 if (userInfo != null && userInfo.isGuest()) {
351 if (userInfo != null && userInfo.isGuest()) {
369 if (shouldBeCurrent && !record.isGuest) {
442 if (item.isGuest) return context.getString(R.string.guest_nickname); in getCurrentUserName()
491 if (item.isGuest) { in getName()
509 return UserIcons.getDefaultUserIcon(item.isGuest ? UserHandle.USER_NULL : item.info.id, in getDrawable()
521 public final boolean isGuest; field in UserSwitcherController.UserRecord
[all …]
DUserInfoController.java133 final boolean isGuest = userInfo.isGuest(); in queryForUserInformation()
156 avatar = UserIcons.getDefaultUserIcon(isGuest? UserHandle.USER_NULL : userId, in queryForUserInformation()
DKeyguardUserSwitcher.java270 if (user.isCurrent && !user.isGuest) { in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestResumeSessionReceiver.java73 if (!currentUser.isGuest()) { in onReceive()
109 if (!currentUser.isGuest()) { in wipeGuestSession()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java114 public boolean isGuest() { in isGuest() method in UserInfo
/frameworks/base/core/java/android/os/
DUserManager.java608 return user != null ? user.isGuest() : false; in isGuestUser()
986 if (!user.isGuest()) { in canAddMoreUsers()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java85 && user.isGuest() in testAddUser()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java642 && !user.isGuest() && !user.partial) { in getAliveUsersExcludingGuestsCountLocked()
1241 final boolean isGuest = (flags & UserInfo.FLAG_GUEST) != 0; in createUserInternal()
1257 if (!isGuest && !isManagedProfile && isUserLimitReachedLocked()) { in createUserInternal()
1263 if (isGuest && findCurrentGuestUserLocked() != null) { in createUserInternal()
1338 if (user.isGuest() && !user.guestToRemove && !mRemovingUserIds.get(user.id)) { in findCurrentGuestUserLocked()
1367 if (!user.isGuest()) { in markGuestForDeletion()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java345 if (info != null && info.isGuest()) {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java4640 if (info.isGuest()) { in enforceCanSetProfileOwner()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java20112 if (userInfo.isGuest()) { in stopGuestUserIfBackground()