Home
last modified time | relevance | path

Searched refs:mMediaSessionManager (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerList.java81 private MediaSessionManager mMediaSessionManager; field in MediaPlayerList
125 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()
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java77 private final MediaSessionManager mMediaSessionManager; field in CarMediaService
134 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/
DVolumePanelTest.java50 private MediaSessionManager mMediaSessionManager; field in VolumePanelTest
68 when(mContext.getSystemService(MediaSessionManager.class)).thenReturn(mMediaSessionManager); in setUp()
79 when(mMediaSessionManager.getActiveSessions(null)).thenReturn( in getSlices_hasActiveRemoteToken_containsRemoteMediaUri()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DRemoteVolumePreferenceController.java46 private MediaSessionManager mMediaSessionManager; field in RemoteVolumePreferenceController
89 mMediaSessionManager = context.getSystemService(MediaSessionManager.class); in RemoteVolumePreferenceController()
95 final List<MediaController> controllers = mMediaSessionManager.getActiveSessions(null); in getAvailabilityStatus()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRemoteVolumePreferenceControllerTest.java52 private MediaSessionManager mMediaSessionManager; field in RemoteVolumePreferenceControllerTest
71 when(mContext.getSystemService(MediaSessionManager.class)).thenReturn(mMediaSessionManager); in setUp()
74 when(mMediaSessionManager.getActiveSessions(null)).thenReturn( in setUp()