Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java103 private final SparseArray<UserRecord> mUserRecords = new SparseArray<>(); field in MediaRouterService
430 final int count = mUserRecords.size(); in dump()
432 UserRecord userRecord = mUserRecords.valueAt(i); in dump()
617 UserRecord userRecord = mUserRecords.get( in restoreRoute()
646 UserRecord oldUser = mUserRecords.get(oldUserId); in switchUser()
652 UserRecord newUser = mUserRecords.get(userId); in switchUser()
673 UserRecord userRecord = mUserRecords.get(userId); in registerClientLocked()
686 mUserRecords.put(userId, userRecord); in registerClientLocked()
842 mUserRecords.remove(userRecord.mUserId); in disposeUserIfNeededLocked()
892 UserRecord userRecord = mUserRecords.get(mCurrentUserId); in onReceive()
DMediaSessionService.java128 private final SparseArray<FullUserRecord> mUserRecords = new SparseArray<FullUserRecord>(); field in MediaSessionService
256 int size = mUserRecords.size(); in getActiveSessionsLocked()
258 records.addAll(mUserRecords.valueAt(i).mPriorityStack.getActiveSessions(userId)); in getActiveSessionsLocked()
280 int size = mUserRecords.size(); in getSession2TokensLocked()
282 list.addAll(mUserRecords.valueAt(i).mPriorityStack.getSession2Tokens(userId)); in getSession2TokensLocked()
356 mUserRecords.remove(userId); in onCleanupUser()
396 if (mUserRecords.get(userInfo.id) == null) { in updateUser()
397 mUserRecords.put(userInfo.id, new FullUserRecord(userInfo.id)); in updateUser()
404 mCurrentFullUserRecord = mUserRecords.get(currentFullUserId); in updateUser()
408 mUserRecords.put(currentFullUserId, mCurrentFullUserRecord); in updateUser()
[all …]
DMediaRouter2ServiceImpl.java82 private final SparseArray<UserRecord> mUserRecords = new SparseArray<>(); field in MediaRouter2ServiceImpl
517 UserRecord oldUser = mUserRecords.get(oldUserId); in switchUser()
524 UserRecord newUser = mUserRecords.get(userId); in switchUser()
1008 UserRecord userRecord = mUserRecords.get(userId); in getOrCreateUserRecordLocked()
1011 mUserRecords.put(userId, userRecord); in getOrCreateUserRecordLocked()
1032 mUserRecords.remove(userRecord.mUserId); in disposeUserIfNeededLocked()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java453 private final SparseArray<UserRecord> mUserRecords = new SparseArray<>(); field in IpSecService.UserResourceTracker
459 UserRecord r = mUserRecords.get(uid); in getUserRecord()
462 mUserRecords.put(uid, r); in getUserRecord()
477 return mUserRecords.toString(); in toString()