Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java164 protected final SparseArray<UserInfo> mCurrentProfiles = new SparseArray<>(); field in NotificationLockscreenUserManagerImpl
269 synchronized (mCurrentProfiles) { in isCurrentProfile()
270 return userId == UserHandle.USER_ALL || mCurrentProfiles.get(userId) != null; in isCurrentProfile()
464 synchronized (mCurrentProfiles) { in updateCurrentProfilesCache()
465 mCurrentProfiles.clear(); in updateCurrentProfilesCache()
468 mCurrentProfiles.put(user.id, user); in updateCurrentProfilesCache()
475 for (int i = mCurrentProfiles.size() - 1; i >= 0; i--) { in isAnyProfilePublicMode()
476 if (isLockscreenPublicMode(mCurrentProfiles.valueAt(i).id)) { in isAnyProfilePublicMode()
491 return mCurrentProfiles; in getCurrentProfiles()
582 for (int i = mCurrentProfiles.size() - 1; i >= 0; i--) { in dump()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java1450 private final SparseArray<UserInfo> mCurrentProfiles = new SparseArray<>(); field in ManagedServices.UserProfiles
1457 synchronized (mCurrentProfiles) { in updateCache()
1458 mCurrentProfiles.clear(); in updateCache()
1460 mCurrentProfiles.put(user.id, user); in updateCache()
1470 synchronized (mCurrentProfiles) { in getCurrentProfileIds()
1471 IntArray users = new IntArray(mCurrentProfiles.size()); in getCurrentProfileIds()
1472 final int N = mCurrentProfiles.size(); in getCurrentProfileIds()
1474 users.add(mCurrentProfiles.keyAt(i)); in getCurrentProfileIds()
1481 synchronized (mCurrentProfiles) { in isCurrentProfile()
1482 return mCurrentProfiles.get(userId) != null; in isCurrentProfile()
[all …]