Searched refs:isGuest (Results 1 – 14 of 14) sorted by relevance
208 if (info.isGuest()) { in refreshUsers()344 if (record.isGuest && record.info == null) { in switchTo()362 if (record.isGuest) { in switchTo()431 if (userInfo != null && userInfo.isGuest()) { in listenForCallState()453 if (userInfo != null && userInfo.isGuest()) {475 if (shouldBeCurrent && !record.isGuest) {500 if (UserManager.isSplitSystemUser() && userInfo != null && !userInfo.isGuest()504 if (userInfo != null && userInfo.isGuest()) {600 if (item.isGuest) return context.getString(R.string.guest_nickname); in getCurrentUserName()653 if (item.isGuest) { in getName()[all …]
131 final boolean isGuest = userInfo.isGuest(); in queryForUserInformation()154 avatar = UserIcons.getDefaultUserIcon(isGuest? UserHandle.USER_NULL : userId, in queryForUserInformation()
290 if (user.isCurrent && !user.isGuest) { in onClick()
128 public boolean isGuest() { in isGuest() method in UserInfo197 if (isManagedProfile() || isGuest() || isRestricted()) { in canHaveProfile()
61 if (record.isGuest || record.isAddUser) { in init()83 if (record.isGuest) { in init()
73 if (!currentUser.isGuest()) { in onReceive()109 if (!currentUser.isGuest()) { in wipeGuestSession()
180 + (info.isGuest(this)?" GUEST":"")); in dump()528 if (!service.isSystem && !service.isGuest(this)) { in rebindServices()786 if (info != null && info.connection != null && !info.isGuest(this)) { in unregisterServiceImpl()848 public boolean isGuest(ManagedServices host) { in isGuest() method in ManagedServices.ManagedServiceInfo
1443 && !user.isGuest() && !user.partial) { in getAliveUsersExcludingGuestsCountLU()2162 final boolean isGuest = (flags & UserInfo.FLAG_GUEST) != 0; in createUserInternalUnchecked()2182 if (!isGuest && !isManagedProfile && isUserLimitReached()) { in createUserInternalUnchecked()2188 if (isGuest && findCurrentGuestUser() != null) { in createUserInternalUnchecked()2217 && !isGuest && !isManagedProfile && getPrimaryUser() == null) { in createUserInternalUnchecked()2233 if ((isGuest && ephemeralGuests) || mForceEphemeralUsers in createUserInternalUnchecked()2277 if (isGuest) { in createUserInternalUnchecked()2289 MetricsLogger.count(mContext, isGuest ? TRON_GUEST_CREATED : TRON_USER_CREATED, 1); in createUserInternalUnchecked()2330 if (user.isGuest() && !user.guestToRemove && !mRemovingUserIds.get(user.id)) { in findCurrentGuestUser()2363 if (!userData.info.isGuest()) { in markGuestForDeletion()[all …]
66 } else if (info.isGuest()) { in getUserLabel()
94 && user.isGuest() in testAddUser()
858 return user != null ? user.isGuest() : false; in isGuestUser()1596 if (!user.isGuest()) { in canAddMoreUsers()
363 if (info != null && info.isGuest()) {
676 if (userInfo.isGuest() || userInfo.isEphemeral()) { in stopGuestOrEphemeralUserIfBackground()
6201 if (info.isGuest()) { in enforceCanSetProfileOwnerLocked()