Searched refs:mCurrentProfiles (Results 1 – 4 of 4) sorted by relevance
502 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 …]
281 protected final SparseArray<UserInfo> mCurrentProfiles = new SparseArray<>(); field in NotificationLockscreenUserManagerImpl464 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()
2006 private final SparseArray<UserInfo> mCurrentProfiles = new SparseArray<>(); field in ManagedServices.UserProfiles2013 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 …]
220 private SparseArray<UserInfo> mCurrentProfiles; field in BubbleController514 mCurrentProfiles = userProfiles; in onInit()684 mCurrentProfiles = currentProfiles; in onCurrentProfilesChanged()757 || (mCurrentProfiles != null && mCurrentProfiles.get(userId) != null); in isCurrentProfile()