Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java211 if (info.isGuest()) { in refreshUsers()
354 if (record.isGuest && record.info == null) { in switchTo()
373 if (record.isGuest) { in switchTo()
382 if (currUserInfo != null && currUserInfo.isGuest()) { in switchTo()
501 if (shouldBeCurrent && !record.isGuest) {
577 if (item.isGuest) return context.getString(R.string.guest_nickname); in getCurrentUserName()
619 if (mController.getUsers().get(i).isGuest) continue; in getUserCount()
665 if (item.isGuest) { in getName()
685 if (item.isGuest) { in getDrawable()
718 public final boolean isGuest; field in UserSwitcherController.UserRecord
[all …]
DUserInfoControllerImpl.java140 final boolean isGuest = userInfo.isGuest(); in queryForUserInformation()
167 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.java157 public boolean isGuest() { in isGuest() method in UserInfo
232 if (isManagedProfile() || isGuest() || isRestricted()) { in canHaveProfile()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java230 + (info.isGuest(this) ? " GUEST" : "")); in dump()
942 if (!service.isSystem && !service.isGuest(this)) { in getRemovableConnectedServices()
1268 if (info != null && info.connection != null && !info.isGuest(this)) { in unregisterServiceImpl()
1302 public boolean isGuest(ManagedServices host) { in isGuest() method in ManagedServices.ManagedServiceInfo
1328 proto.write(ManagedServiceInfoProto.IS_GUEST, isGuest(host)); in writeToProto()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1862 if (!mRemovingUserIds.get(user.id) && !user.isGuest()) { in getAliveUsersExcludingGuestsCountLU()
2686 final boolean isGuest = (flags & UserInfo.FLAG_GUEST) != 0; in createUserInternalUnchecked()
2707 if (!isGuest && !isManagedProfile && !isDemo && isUserLimitReached()) { in createUserInternalUnchecked()
2714 if (isGuest && findCurrentGuestUser() != null) { in createUserInternalUnchecked()
2739 && !isGuest && !isManagedProfile && getPrimaryUser() == null) { in createUserInternalUnchecked()
2755 if ((isGuest && ephemeralGuests) || mForceEphemeralUsers in createUserInternalUnchecked()
2802 if (isGuest) { in createUserInternalUnchecked()
2815 MetricsLogger.count(mContext, isGuest ? TRON_GUEST_CREATED in createUserInternalUnchecked()
2875 if (user.isGuest() && !user.guestToRemove && !mRemovingUserIds.get(user.id)) { in findCurrentGuestUser()
2908 if (!userData.info.isGuest()) { in markGuestForDeletion()
[all …]
/frameworks/base/core/java/android/os/
DUserManager.java1524 return user != null && user.isGuest(); in isGuestUser()
1537 return user != null && user.isGuest(); in isGuestUser()
2445 if (!user.isGuest()) { in canAddMoreUsers()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DUserGridRecyclerView.java112 if (userInfo.isGuest()) { in createUserRecords()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java118 } else if (info.isGuest()) { in getUserLabel()
/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.java391 } else if (info.isGuest() || info.isDemo()) {
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java934 if (userInfo.isGuest() || userInfo.isEphemeral()) {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java8568 if (info.isGuest()) { in enforceCanSetProfileOwnerLocked()
/frameworks/base/services/
Dart-profile9269 HSPLcom/android/server/notification/ManagedServices$ManagedServiceInfo;->isGuest(Lcom/android/serve…
/frameworks/base/config/
Dboot-image-profile.txt4616 HSPLandroid/content/pm/UserInfo;->isGuest()Z