Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java208 if (info.isGuest()) { in refreshUsers()
351 if (record.isGuest && record.info == null) { in switchTo()
370 if (record.isGuest) { in switchTo()
379 if (currUserInfo != null && currUserInfo.isGuest()) { in switchTo()
498 if (shouldBeCurrent && !record.isGuest) {
573 if (item.isGuest) return context.getString(R.string.guest_nickname); in getCurrentUserName()
613 if (mController.getUsers().get(i).isGuest) continue; in getUserCount()
659 if (item.isGuest) { in getName()
679 if (item.isGuest) { in getDrawable()
711 public final boolean isGuest; field in UserSwitcherController.UserRecord
[all …]
DUserInfoControllerImpl.java132 final boolean isGuest = userInfo.isGuest(); in queryForUserInformation()
159 isGuest? UserHandle.USER_NULL : userId, in queryForUserInformation()
DKeyguardUserSwitcher.java294 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.java140 public boolean isGuest() { in isGuest() method in UserInfo
212 if (isManagedProfile() || isGuest() || isRestricted()) { in canHaveProfile()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DUserManagerHelper.java237 return getForegroundUserInfo().isGuest(); in foregroundUserIsGuestUser()
472 Bitmap bitmap = userInfo.isGuest() ? getGuestDefaultIcon() : getUserDefaultIcon(userInfo); in assignDefaultIcon()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java221 + (info.isGuest(this)?" GUEST":"")); in dump()
819 if (!service.isSystem && !service.isGuest(this)) { in rebindServices()
1124 if (info != null && info.connection != null && !info.isGuest(this)) { in unregisterServiceImpl()
1147 public boolean isGuest(ManagedServices host) { in isGuest() method in ManagedServices.ManagedServiceInfo
1173 proto.write(ManagedServiceInfoProto.IS_GUEST, isGuest(host)); in writeToProto()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1809 if (!mRemovingUserIds.get(user.id) && !user.isGuest()) { in getAliveUsersExcludingGuestsCountLU()
2608 final boolean isGuest = (flags & UserInfo.FLAG_GUEST) != 0; in createUserInternalUnchecked()
2629 if (!isGuest && !isManagedProfile && !isDemo && isUserLimitReached()) { in createUserInternalUnchecked()
2635 if (isGuest && findCurrentGuestUser() != null) { in createUserInternalUnchecked()
2659 && !isGuest && !isManagedProfile && getPrimaryUser() == null) { in createUserInternalUnchecked()
2675 if ((isGuest && ephemeralGuests) || mForceEphemeralUsers in createUserInternalUnchecked()
2722 if (isGuest) { in createUserInternalUnchecked()
2735 MetricsLogger.count(mContext, isGuest ? TRON_GUEST_CREATED in createUserInternalUnchecked()
2795 if (user.isGuest() && !user.guestToRemove && !mRemovingUserIds.get(user.id)) { in findCurrentGuestUser()
2828 if (!userData.info.isGuest()) { in markGuestForDeletion()
[all …]
/frameworks/base/core/java/android/os/
DUserManager.java1333 return user != null && user.isGuest(); in isGuestUser()
1343 return user != null && user.isGuest(); in isGuestUser()
2241 if (!user.isGuest()) { in canAddMoreUsers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DUserGridRecyclerView.java101 if (userInfo.isGuest()) { in createUserRecords()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java128 } else if (info.isGuest()) { in getUserLabel()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionParser.java244 final boolean guestUserCondtionMet = userInfo.isGuest() in satisifesRequiredUserType()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java131 && user.isGuest() in testAddUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java380 } else if (info.isGuest() || info.isDemo()) {
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java836 if (userInfo.isGuest() || userInfo.isEphemeral()) {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java7836 if (info.isGuest()) { in enforceCanSetProfileOwnerLocked()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt1803 Landroid/content/pm/UserInfo;->isGuest()Z
Dboot-image-profile.txt18915 HSPLandroid/content/pm/UserInfo;->isGuest()Z