Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java611 private final SparseArray<UserInfo> mCurrentProfiles = new SparseArray<UserInfo>(); field in ManagedServices.UserProfiles
618 synchronized (mCurrentProfiles) { in updateCache()
619 mCurrentProfiles.clear(); in updateCache()
621 mCurrentProfiles.put(user.id, user); in updateCache()
628 synchronized (mCurrentProfiles) { in getCurrentProfileIds()
629 int[] users = new int[mCurrentProfiles.size()]; in getCurrentProfileIds()
630 final int N = mCurrentProfiles.size(); in getCurrentProfileIds()
632 users[i] = mCurrentProfiles.keyAt(i); in getCurrentProfileIds()
639 synchronized (mCurrentProfiles) { in isCurrentProfile()
640 return mCurrentProfiles.get(userId) != null; in isCurrentProfile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBaseStatusBar.java164 final protected SparseArray<UserInfo> mCurrentProfiles = new SparseArray<UserInfo>(); field in BaseStatusBar
485 synchronized (mCurrentProfiles) { in updateCurrentProfilesCache()
486 mCurrentProfiles.clear(); in updateCurrentProfilesCache()
489 mCurrentProfiles.put(user.id, user); in updateCurrentProfilesCache()
690 synchronized (mCurrentProfiles) { in isCurrentProfile()
691 return userId == UserHandle.USER_ALL || mCurrentProfiles.get(userId) != null; in isCurrentProfile()