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.java149 if (info.isGuest()) { in refreshUsers()
229 if (record.isGuest && record.info == null) { in switchTo()
247 if (record.isGuest) { in switchTo()
314 if (shouldBeCurrent && !record.isGuest) {
358 if (item.isGuest) return context.getString(R.string.guest_nickname); in getCurrentUserName()
406 if (item.isGuest) { in getName()
424 return UserIcons.getDefaultUserIcon(item.isGuest ? UserHandle.USER_NULL : item.info.id, in getDrawable()
436 public final boolean isGuest; field in UserSwitcherController.UserRecord
442 public UserRecord(UserInfo info, Bitmap picture, boolean isGuest, boolean isCurrent, in UserRecord() argument
446 this.isGuest = isGuest; in 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.java505 return user != null ? user.isGuest() : false; in isGuestUser()
881 if (!user.isGuest()) { in canAddMoreUsers()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java76 && user.isGuest() in testAddUser()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java546 && !user.isGuest() && !user.partial) { in isUserLimitReachedLocked()
1155 final boolean isGuest = (flags & UserInfo.FLAG_GUEST) != 0; in createUserInternal()
1168 if (!isGuest && isUserLimitReachedLocked()) { in createUserInternal()
1172 if (isGuest && findCurrentGuestUserLocked() != null) { in createUserInternal()
1242 if (user.isGuest() && !user.guestToRemove && !mRemovingUserIds.get(user.id)) { in findCurrentGuestUserLocked()
1271 if (!user.isGuest()) { in markGuestForDeletion()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java328 if (info != null && info.isGuest()) {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java3865 if (info.isGuest()) { in setProfileOwner()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java19203 if (userInfo.isGuest()) { in stopGuestUserIfBackground()