Searched refs:mMediaSessionManager (Results 1 – 5 of 5) sorted by relevance
81 private MediaSessionManager mMediaSessionManager; field in MediaPlayerList125 mMediaSessionManager = in MediaPlayerList()127 mMediaSessionManager.addOnActiveSessionsChangedListener( in MediaPlayerList()129 mMediaSessionManager.setCallback(mButtonDispatchCallback, null); in MediaPlayerList()149 if (mMediaSessionManager == null) { in init()174 mMediaSessionManager.getActiveSessions(null); in init()189 mMediaSessionManager.removeOnActiveSessionsChangedListener(mActiveSessionsChangedListener); in cleanup()190 mMediaSessionManager.setCallback(null, null); in cleanup()191 mMediaSessionManager = null; in cleanup()506 mMediaSessionManager.dispatchMediaKeyEvent(event); in sendMediaKeyEvent()
77 private final MediaSessionManager mMediaSessionManager; field in CarMediaService134 mMediaSessionManager = mContext.getSystemService(MediaSessionManager.class); in CarMediaService()180 + mMediaSessionManager.getActiveSessionsForUser(null, in dump()222 mMediaSessionManager.removeOnActiveSessionsChangedListener(mSessionsListener); in updateMediaSessionCallbackForCurrentUser()225 mMediaSessionManager.addOnActiveSessionsChangedListener(mSessionsListener, null, in updateMediaSessionCallbackForCurrentUser()227 mMediaSessionUpdater.registerCallbacks(mMediaSessionManager.getActiveSessionsForUser( in updateMediaSessionCallbackForCurrentUser()364 updateActiveMediaController(mMediaSessionManager in setPrimaryMediaSource()
50 private MediaSessionManager mMediaSessionManager; field in VolumePanelTest68 when(mContext.getSystemService(MediaSessionManager.class)).thenReturn(mMediaSessionManager); in setUp()79 when(mMediaSessionManager.getActiveSessions(null)).thenReturn( in getSlices_hasActiveRemoteToken_containsRemoteMediaUri()
46 private MediaSessionManager mMediaSessionManager; field in RemoteVolumePreferenceController89 mMediaSessionManager = context.getSystemService(MediaSessionManager.class); in RemoteVolumePreferenceController()95 final List<MediaController> controllers = mMediaSessionManager.getActiveSessions(null); in getAvailabilityStatus()
52 private MediaSessionManager mMediaSessionManager; field in RemoteVolumePreferenceControllerTest71 when(mContext.getSystemService(MediaSessionManager.class)).thenReturn(mMediaSessionManager); in setUp()74 when(mMediaSessionManager.getActiveSessions(null)).thenReturn( in setUp()