Home
last modified time | relevance | path

Searched refs:mCurrentProfiles (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerTest.java502 mLockscreenUserManager.mCurrentProfiles.append(0, mock(UserInfo.class)); in testUpdateIsPublicMode()
898 mLockscreenUserManager.mCurrentProfiles.clear(); in testProfileAvailabilityIntent()
899 assertEquals(0, mLockscreenUserManager.mCurrentProfiles.size()); in testProfileAvailabilityIntent()
900 mLockscreenUserManager.mCurrentProfiles.append(0, mock(UserInfo.class)); in testProfileAvailabilityIntent()
903 assertEquals(numProfiles, mLockscreenUserManager.mCurrentProfiles.size()); in testProfileAvailabilityIntent()
909 mLockscreenUserManager.mCurrentProfiles.clear(); in testProfileUnAvailabilityIntent()
910 assertEquals(0, mLockscreenUserManager.mCurrentProfiles.size()); in testProfileUnAvailabilityIntent()
911 mLockscreenUserManager.mCurrentProfiles.append(0, mock(UserInfo.class)); in testProfileUnAvailabilityIntent()
914 assertEquals(numProfiles, mLockscreenUserManager.mCurrentProfiles.size()); in testProfileUnAvailabilityIntent()
920 mLockscreenUserManager.mCurrentProfiles.clear(); in testManagedProfileAvailabilityIntent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java281 protected final SparseArray<UserInfo> mCurrentProfiles = new SparseArray<>(); field in NotificationLockscreenUserManagerImpl
464 return userId == USER_ALL || mCurrentProfiles.get(userId) != null; in isCurrentProfile()
692 mCurrentProfiles.clear(); in updateCurrentProfilesCache()
699 mCurrentProfiles.put(user.id, user); in updateCurrentProfilesCache()
708 listener.onCurrentProfilesChanged(mCurrentProfiles); in updateCurrentProfilesCache()
718 for (int i = mCurrentProfiles.size() - 1; i >= 0; i--) { in isAnyProfilePublicMode()
719 if (isLockscreenPublicMode(mCurrentProfiles.valueAt(i).id)) { in isAnyProfilePublicMode()
735 return mCurrentProfiles; in getCurrentProfiles()
838 for (int i = mCurrentProfiles.size() - 1; i >= 0; i--) { in dump()
839 final int userId = mCurrentProfiles.valueAt(i).id; in dump()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java2006 private final SparseArray<UserInfo> mCurrentProfiles = new SparseArray<>(); field in ManagedServices.UserProfiles
2013 synchronized (mCurrentProfiles) { in updateCache()
2014 mCurrentProfiles.clear(); in updateCache()
2016 mCurrentProfiles.put(user.id, user); in updateCache()
2026 synchronized (mCurrentProfiles) { in getCurrentProfileIds()
2027 IntArray users = new IntArray(mCurrentProfiles.size()); in getCurrentProfileIds()
2028 final int N = mCurrentProfiles.size(); in getCurrentProfileIds()
2030 users.add(mCurrentProfiles.keyAt(i)); in getCurrentProfileIds()
2037 synchronized (mCurrentProfiles) { in isCurrentProfile()
2038 return mCurrentProfiles.get(userId) != null; in isCurrentProfile()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleController.java220 private SparseArray<UserInfo> mCurrentProfiles; field in BubbleController
514 mCurrentProfiles = userProfiles; in onInit()
684 mCurrentProfiles = currentProfiles; in onCurrentProfilesChanged()
757 || (mCurrentProfiles != null && mCurrentProfiles.get(userId) != null); in isCurrentProfile()