Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java207 if (info.isGuest()) { in refreshUsers()
343 if (record.isGuest && record.info == null) { in switchTo()
361 if (record.isGuest) { in switchTo()
447 if (userInfo != null && userInfo.isGuest()) {
468 if (userInfo != null && userInfo.isGuest()) {
490 if (shouldBeCurrent && !record.isGuest) {
515 if (UserManager.isSplitSystemUser() && userInfo != null && !userInfo.isGuest()
519 if (userInfo != null && userInfo.isGuest()) {
615 if (item.isGuest) return context.getString(R.string.guest_nickname); in getCurrentUserName()
668 if (item.isGuest) { in getName()
[all …]
DUserInfoController.java131 final boolean isGuest = userInfo.isGuest(); in queryForUserInformation()
154 avatar = UserIcons.getDefaultUserIcon(isGuest? UserHandle.USER_NULL : userId, in queryForUserInformation()
DKeyguardUserSwitcher.java290 if (user.isCurrent && !user.isGuest) { in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DUserGridView.java61 if (record.isGuest || record.isAddUser) { in init()
83 if (record.isGuest) { in init()
/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.java133 public boolean isGuest() { in isGuest() method in UserInfo
206 if (isManagedProfile() || isGuest() || isRestricted()) { in canHaveProfile()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java180 + (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
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1489 && !user.isGuest() && !user.partial) { in getAliveUsersExcludingGuestsCountLU()
2220 final boolean isGuest = (flags & UserInfo.FLAG_GUEST) != 0; in createUserInternalUnchecked()
2241 if (!isGuest && !isManagedProfile && !isDemo && isUserLimitReached()) { in createUserInternalUnchecked()
2247 if (isGuest && findCurrentGuestUser() != null) { in createUserInternalUnchecked()
2277 && !isGuest && !isManagedProfile && getPrimaryUser() == null) { in createUserInternalUnchecked()
2293 if ((isGuest && ephemeralGuests) || mForceEphemeralUsers in createUserInternalUnchecked()
2337 if (isGuest) { in createUserInternalUnchecked()
2350 MetricsLogger.count(mContext, isGuest ? TRON_GUEST_CREATED : TRON_USER_CREATED, 1); in createUserInternalUnchecked()
2391 if (user.isGuest() && !user.guestToRemove && !mRemovingUserIds.get(user.id)) { in findCurrentGuestUser()
2424 if (!userData.info.isGuest()) { in markGuestForDeletion()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java69 } else if (info.isGuest()) { in getUserLabel()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java96 && user.isGuest() in testAddUser()
/frameworks/base/core/java/android/os/
DUserManager.java880 return user != null && user.isGuest(); in isGuestUser()
1628 if (!user.isGuest()) { in canAddMoreUsers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java367 if (info != null && (info.isGuest() || info.isDemo())) {
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java715 if (userInfo.isGuest() || userInfo.isEphemeral()) { in stopGuestOrEphemeralUserIfBackground()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java6475 if (info.isGuest()) { in enforceCanSetProfileOwnerLocked()