Home
last modified time | relevance | path

Searched refs:mediaSessionManager (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/
DMediaControllerRepository.kt55 private val mediaSessionManager: MediaSessionManager, constant
63 mediaSessionManager.defaultRemoteSessionChanged.map { in <lambda>()
64 mediaSessionManager.getActiveSessions(null) in <lambda>()
66 mediaSessionManager.activeMediaChanges.filterNotNull(),
68 mediaSessionManager.getActiveSessions(null) in <lambda>()
72 .map { mediaSessionManager.getActiveSessions(null) }, in <lambda>()
74 .onStart { emit(mediaSessionManager.getActiveSessions(null)) } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaSessionBasedFilterTest.kt69 @Mock private lateinit var mediaSessionManager: MediaSessionManager variable in com.android.systemui.media.controls.domain.pipeline.MediaSessionBasedFilterTest
100 filter = MediaSessionBasedFilter(context, mediaSessionManager, fgExecutor, bgExecutor) in setUp()
103 whenever(mediaSessionManager.getActiveSessions(any())).thenReturn(emptyList()) in setUp()
142 verify(mediaSessionManager) in setUp()
178 whenever(mediaSessionManager.getActiveSessions(any())).thenReturn(controllers) in matchingMediaSession_loadedEventNotFiltered()
193 whenever(mediaSessionManager.getActiveSessions(any())).thenReturn(controllers) in matchingMediaSession_removedEventNotFiltered()
208 whenever(mediaSessionManager.getActiveSessions(any())).thenReturn(controllers) in remoteSession_loadedEventNotFiltered()
224 whenever(mediaSessionManager.getActiveSessions(any())).thenReturn(controllers) in remoteAndLocalSessions_localLoadedEventFiltered()
254 whenever(mediaSessionManager.getActiveSessions(any())).thenReturn(controllers) in remoteAndLocalSessions_remoteSessionWithoutNotification()
273 whenever(mediaSessionManager.getActiveSessions(any())).thenReturn(controllers) in remoteAndLocalHaveDifferentKeys_localLoadedEventFiltered()
[all …]
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/data/repository/
DMediaControllerRepositoryImplTest.kt46 @Mock private lateinit var mediaSessionManager: MediaSessionManager variable in com.android.settingslib.volume.data.repository.MediaControllerRepositoryImplTest
89 mediaSessionManager, in setup()
99 `when`(mediaSessionManager.getActiveSessions(any())) in mediaDevicesAvailable_returnsAllActiveOnes()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/dagger/
DMediaDevicesModule.kt56 mediaSessionManager: MediaSessionManager, in bindLocalMediaRepositoryFactory()
63 mediaSessionManager, in bindLocalMediaRepositoryFactory()
/frameworks/base/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/
DPipAppHelper.kt44 private val mediaSessionManager: MediaSessionManager in <lambda>() constant
51 mediaSessionManager.getActiveSessions(null).firstOrNull { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputController.java186 MediaSessionManager mediaSessionManager, in MediaOutputController() argument
200 mMediaSessionManager = mediaSessionManager; in MediaOutputController()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlService.java4251 MediaSessionManager mediaSessionManager = getContext() in pauseActiveMediaSessions() local
4253 List<MediaController> mediaControllers = mediaSessionManager.getActiveSessions(null); in pauseActiveMediaSessions()