Searched refs:isGuest (Results 1 – 11 of 11) sorted by relevance
149 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.UserRecord442 public UserRecord(UserInfo info, Bitmap picture, boolean isGuest, boolean isCurrent, in UserRecord() argument446 this.isGuest = isGuest; in UserRecord()[all …]
133 final boolean isGuest = userInfo.isGuest(); in queryForUserInformation()156 avatar = UserIcons.getDefaultUserIcon(isGuest? UserHandle.USER_NULL : userId, in queryForUserInformation()
270 if (user.isCurrent && !user.isGuest) { in onClick()
73 if (!currentUser.isGuest()) { in onReceive()109 if (!currentUser.isGuest()) { in wipeGuestSession()
114 public boolean isGuest() { in isGuest() method in UserInfo
505 return user != null ? user.isGuest() : false; in isGuestUser()881 if (!user.isGuest()) { in canAddMoreUsers()
76 && user.isGuest() in testAddUser()
546 && !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()
328 if (info != null && info.isGuest()) {
3865 if (info.isGuest()) { in setProfileOwner()
19203 if (userInfo.isGuest()) { in stopGuestUserIfBackground()