/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserSwitcherController.java | 213 if (info.isGuest()) { in refreshUsers() 353 if (record.isGuest && record.info == null) { in switchTo() 372 if (record.isGuest) { in switchTo() 381 if (currUserInfo != null && currUserInfo.isGuest()) { in switchTo() 471 if (userInfo != null && userInfo.isGuest()) { 492 if (userInfo != null && userInfo.isGuest()) { 514 if (shouldBeCurrent && !record.isGuest) { 539 if (UserManager.isSplitSystemUser() && userInfo != null && !userInfo.isGuest() 543 if (userInfo != null && userInfo.isGuest()) { 641 if (item.isGuest) return context.getString(R.string.guest_nickname); in getCurrentUserName() [all …]
|
D | UserInfoControllerImpl.java | 132 final boolean isGuest = userInfo.isGuest(); in queryForUserInformation() 156 avatar = UserIcons.getDefaultUserIcon(isGuest? UserHandle.USER_NULL : userId, in queryForUserInformation()
|
D | KeyguardUserSwitcher.java | 294 if (user.isCurrent && !user.isGuest) { in onClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | GuestResumeSessionReceiver.java | 73 if (!currentUser.isGuest()) { in onReceive() 109 if (!currentUser.isGuest()) { in wipeGuestSession()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
D | UserGridView.java | 61 if (record.isGuest || record.isAddUser) { in init() 83 if (record.isGuest) { in init()
|
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 140 public boolean isGuest() { in isGuest() method in UserInfo 212 if (isManagedProfile() || isGuest() || isRestricted()) { in canHaveProfile()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 194 + (info.isGuest(this)?" GUEST":"")); in dump() 543 if (!service.isSystem && !service.isGuest(this)) { in rebindServices() 814 if (info != null && info.connection != null && !info.isGuest(this)) { in unregisterServiceImpl() 876 public boolean isGuest(ManagedServices host) { in isGuest() method in ManagedServices.ManagedServiceInfo
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 1592 if (!mRemovingUserIds.get(user.id) && !user.isGuest()) { in getAliveUsersExcludingGuestsCountLU() 2393 final boolean isGuest = (flags & UserInfo.FLAG_GUEST) != 0; in createUserInternalUnchecked() 2414 if (!isGuest && !isManagedProfile && !isDemo && isUserLimitReached()) { in createUserInternalUnchecked() 2420 if (isGuest && findCurrentGuestUser() != null) { in createUserInternalUnchecked() 2450 && !isGuest && !isManagedProfile && getPrimaryUser() == null) { in createUserInternalUnchecked() 2466 if ((isGuest && ephemeralGuests) || mForceEphemeralUsers in createUserInternalUnchecked() 2513 if (isGuest) { in createUserInternalUnchecked() 2526 MetricsLogger.count(mContext, isGuest ? TRON_GUEST_CREATED : TRON_USER_CREATED, 1); in createUserInternalUnchecked() 2585 if (user.isGuest() && !user.guestToRemove && !mRemovingUserIds.get(user.id)) { in findCurrentGuestUser() 2618 if (!userData.info.isGuest()) { in markGuestForDeletion() [all …]
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 1014 return user != null && user.isGuest(); in isGuestUser() 1024 return user != null && user.isGuest(); in isGuestUser() 1860 if (!user.isGuest()) { in canAddMoreUsers()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 83 } else if (info.isGuest()) { in getUserLabel()
|
D | SuggestionParser.java | 234 final boolean guestUserCondtionMet = userInfo.isGuest() in satisifesRequiredUserType()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 132 && user.isGuest() in testAddUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardViewMediator.java | 367 if (info != null && (info.isGuest() || info.isDemo())) {
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 750 if (userInfo.isGuest() || userInfo.isEphemeral()) {
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 7131 if (info.isGuest()) { in enforceCanSetProfileOwnerLocked()
|