Home
last modified time | relevance | path

Searched refs:mUserRecords (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java122 private final SparseArray<UserRecord> mUserRecords = new SparseArray<>(); field in MediaRouterService
386 final int count = mUserRecords.size(); in dump()
388 UserRecord userRecord = mUserRecords.valueAt(i); in dump()
544 UserRecord userRecord = mUserRecords.get(userId); in getSystemSessionInfoForPackage()
698 UserRecord userRecord = mUserRecords.get( in restoreRoute()
731 final var userRecords = mUserRecords.clone(); in updateRunningUserAndProfiles()
767 UserRecord userRecord = mUserRecords.get(userId); in registerClientLocked()
780 mUserRecords.put(userId, userRecord); in registerClientLocked()
957 mUserRecords.remove(userRecord.mUserId); in disposeUserIfNeededLocked()
DMediaSessionService.java161 private final SparseArray<FullUserRecord> mUserRecords = new SparseArray<FullUserRecord>(); field in MediaSessionService
417 int size = mUserRecords.size(); in getActiveSessionsLocked()
419 records.addAll(mUserRecords.valueAt(i).mPriorityStack.getActiveSessions(userId)); in getActiveSessionsLocked()
442 int size = mUserRecords.size(); in getSession2TokensLocked()
444 list.addAll(mUserRecords.valueAt(i).mPriorityStack.getSession2Tokens(userId)); in getSession2TokensLocked()
532 mUserRecords.remove(userId); in onUserStopped()
573 if (mUserRecords.get(user.getIdentifier()) == null) { in updateUser()
574 mUserRecords.put(user.getIdentifier(), in updateUser()
582 mCurrentFullUserRecord = mUserRecords.get(currentFullUserId); in updateUser()
586 mUserRecords.put(currentFullUserId, mCurrentFullUserRecord); in updateUser()
[all …]
DMediaRouter2ServiceImpl.java128 private final SparseArray<UserRecord> mUserRecords = new SparseArray<>(); field in MediaRouter2ServiceImpl
139 final int count = mUserRecords.size();
141 mUserRecords.valueAt(i).mHandler.maybeUpdateDiscoveryPreferenceForUid(uid);
150 final int count = mUserRecords.size();
152 UserHandler userHandler = mUserRecords.valueAt(i).mHandler;
1008 if (mUserRecords.size() > 0) { in dump()
1009 for (int i = 0; i < mUserRecords.size(); i++) { in dump()
1010 mUserRecords.valueAt(i).dump(pw, indent + " "); in dump()
1026 final var userRecords = mUserRecords.clone(); in updateRunningUserAndProfiles()
1068 UserRecord userRecord = mUserRecords.get(userId); in revokeManagerRecordAccessIfNeededLocked()
[all …]