Searched refs:isGuest (Results 1 – 11 of 11) sorted by relevance
179 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 …]
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
608 return user != null ? user.isGuest() : false; in isGuestUser()986 if (!user.isGuest()) { in canAddMoreUsers()
85 && user.isGuest() in testAddUser()
642 && !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()
345 if (info != null && info.isGuest()) {
4640 if (info.isGuest()) { in enforceCanSetProfileOwner()
20112 if (userInfo.isGuest()) { in stopGuestUserIfBackground()