Home
last modified time | relevance | path

Searched refs:onMediaDataRemoved (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataCombineLatestTest.java205 mManager.onMediaDataRemoved(KEY, false); in mediaDataRemoved()
207 verify(mListener, never()).onMediaDataRemoved(eq(KEY), anyBoolean()); in mediaDataRemoved()
214 mManager.onMediaDataRemoved(KEY, false); in mediaDataRemovedAfterMediaEvent()
215 verify(mListener).onMediaDataRemoved(eq(KEY), eq(false)); in mediaDataRemovedAfterMediaEvent()
221 mManager.onMediaDataRemoved(KEY, false); in mediaDataRemovedAfterDeviceEvent()
222 verify(mListener).onMediaDataRemoved(eq(KEY), eq(false)); in mediaDataRemovedAfterDeviceEvent()
DLegacyMediaDataFilterImplTest.kt175 mediaDataFilter.onMediaDataRemoved(KEY, false) in testOnRemovedForCurrent_callsListener()
178 verify(listener).onMediaDataRemoved(eq(KEY), eq(false)) in testOnRemovedForCurrent_callsListener()
185 mediaDataFilter.onMediaDataRemoved(KEY, false) in testOnRemovedForGuest_doesNotCallListener()
188 verify(listener, never()).onMediaDataRemoved(eq(KEY), anyBoolean()) in testOnRemovedForGuest_doesNotCallListener()
200 verify(listener).onMediaDataRemoved(eq(KEY), eq(false)) in testOnUserSwitched_removesOldUserControls()
233 verify(listener).onMediaDataRemoved(eq(KEY_ALT), eq(false)) in testOnProfileChanged_profileUnavailable_loadControls()
363 mediaDataFilter.onMediaDataRemoved(KEY, false) in testOnNotificationRemoved_doesntHaveMedia()
DMediaSessionBasedFilterTest.kt168 filter.onMediaDataRemoved(KEY, false) in noMediaSession_removedEventNotFiltered()
171 verify(mediaListener).onMediaDataRemoved(eq(KEY), eq(false)) in noMediaSession_removedEventNotFiltered()
196 filter.onMediaDataRemoved(KEY, false) in matchingMediaSession_removedEventNotFiltered()
200 verify(mediaListener).onMediaDataRemoved(eq(KEY), eq(false)) in matchingMediaSession_removedEventNotFiltered()
297 verify(mediaListener).onMediaDataRemoved(eq(key2), eq(false)) in remoteAndLocalHaveDifferentKeys_localLoadedEventFiltered()
DMediaDataProcessorTest.kt386 verify(listener).onMediaDataRemoved(PACKAGE_NAME, false) in testsetInactive_resume_dismissesMedia()
569 verify(listener).onMediaDataRemoved(eq(KEY), eq(false)) in testOnNotificationRemoved_callsListener()
814 verify(listener, never()).onMediaDataRemoved(eq(KEY), anyBoolean()) in testOnNotificationRemoved_twoWithResumption()
828 verify(listener).onMediaDataRemoved(eq(KEY_2), eq(false)) in testOnNotificationRemoved_twoWithResumption()
853 verify(listener).onMediaDataRemoved(eq(KEY), eq(false)) in testOnNotificationRemoved_withResumption_butNotLocal()
903 verify(listener).onMediaDataRemoved(eq(KEY), eq(false)) in testOnNotificationRemoved_withResumption_isRcnAndRemoteAllowed()
942 verify(listener).onMediaDataRemoved(eq("0:$PACKAGE_NAME"), eq(false)) in testOnNotificationRemoved_withResumption_tooManyPlayers()
952 verify(listener, never()).onMediaDataRemoved(eq(KEY), eq(false)) in testOnNotificationRemoved_lockDownMode()
1185 verify(listener).onMediaDataRemoved(eq(PACKAGE_NAME), eq(false)) in testResumptionDisabled_dismissesResumeControls()
1199 verify(listener).onMediaDataRemoved(eq(KEY), eq(true)) in testDismissMedia_listenerCalled()
[all …]
DMediaDataFilterImplTest.kt217 mediaDataFilter.onMediaDataRemoved(KEY, false) in onRemovedForCurrent_updatesLoadedStates()
219 verify(listener).onMediaDataRemoved(eq(KEY), eq(false)) in onRemovedForCurrent_updatesLoadedStates()
231 mediaDataFilter.onMediaDataRemoved(KEY, false) in onRemovedForGuest_doesNotUpdateLoadedStates()
233 verify(listener, never()).onMediaDataRemoved(eq(KEY), eq(false)) in onRemovedForGuest_doesNotUpdateLoadedStates()
256 verify(listener).onMediaDataRemoved(eq(KEY), eq(false)) in onUserSwitched_removesOldUserControls()
315 verify(listener).onMediaDataRemoved(eq(KEY_ALT), eq(false)) in onProfileChanged_profileUnavailable_updateStates()
527 mediaDataFilter.onMediaDataRemoved(KEY, false) in onNotificationRemoved_doesNotHaveMedia()
DMediaTimeoutListenerTest.kt169 mediaTimeoutListener.onMediaDataRemoved(KEY, false) in testOnMediaDataRemoved_unregistersPlaybackListener()
174 mediaTimeoutListener.onMediaDataRemoved(KEY, false) in testOnMediaDataRemoved_unregistersPlaybackListener()
184 mediaTimeoutListener.onMediaDataRemoved(KEY, false) in testOnMediaDataRemoved_clearsTimeout()
401 mediaTimeoutListener.onMediaDataRemoved(PACKAGE, false) in testOnMediaDataRemoved_resume_timeoutCancelled()
DMediaDeviceManagerTest.kt179 manager.onMediaDataRemoved("unknown", false) in removeUnknown()
192 manager.onMediaDataRemoved(KEY, false) in loadAndRemoveMediaData()
409 manager.onMediaDataRemoved(KEY, true) in listenerReceivesKeyRemoved()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/
DNotificationMediaManagerTest.kt98 listenerCaptor.lastValue.onMediaDataRemoved(KEY, true) in mediaDataRemoved_userInitiated_dismissNotif()
107 listenerCaptor.lastValue.onMediaDataRemoved(KEY, false) in mediaDataRemoved_notUserInitiated_doesNotDismissNotif()
121 listenerCaptor.lastValue.onMediaDataRemoved(KEY, false) in mediaDataRemoved_notUserInitiated_flagOff_dismissNotif()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DLegacyMediaDataFilterImpl.kt209 override fun onMediaDataRemoved(key: String, userInitiated: Boolean) { in <lambda>() method in com.android.systemui.media.controls.domain.pipeline.LegacyMediaDataFilterImpl
213 listeners.forEach { it.onMediaDataRemoved(key, userInitiated) } in <lambda>()
249 listeners.forEach { listener -> listener.onMediaDataRemoved(key, false) } in <lambda>()
264 listenersCopy.forEach { listener -> listener.onMediaDataRemoved(it, false) } in <lambda>()
DMediaDataCombineLatest.kt56 override fun onMediaDataRemoved(key: String, userInitiated: Boolean) { in onMediaDataRemoved() method in com.android.systemui.media.controls.domain.pipeline.MediaDataCombineLatest
98 listenersCopy.forEach { it.onMediaDataRemoved(key, userInitiated) } in remove()
DMediaDataFilterImpl.kt226 override fun onMediaDataRemoved(key: String, userInitiated: Boolean) { in <lambda>() method
235 listeners.forEach { it.onMediaDataRemoved(key, userInitiated) } in <lambda>()
296 listeners.forEach { listener -> listener.onMediaDataRemoved(key, false) } in <lambda>()
314 listenersCopy.forEach { listener -> listener.onMediaDataRemoved(it, false) } in <lambda>()
DMediaSessionBasedFilter.kt154 override fun onMediaDataRemoved(key: String, userInitiated: Boolean) { in <lambda>() method
179 listeners.toSet().forEach { it.onMediaDataRemoved(key, userInitiated) } in <lambda>()
DMediaDataManager.kt139 override fun onMediaDataRemoved(key: String, userInitiated: Boolean) {} in setInactive() method
DMediaTimeoutListener.kt172 override fun onMediaDataRemoved(key: String, userInitiated: Boolean) { in <lambda>() method
DMediaDeviceManager.kt121 override fun onMediaDataRemoved(key: String, userInitiated: Boolean) { in <lambda>() method in com.android.systemui.media.controls.domain.pipeline.MediaDeviceManager
DMediaDataProcessor.kt504 internalListeners.forEach { it.onMediaDataRemoved(key, userInitiated) } in <lambda>()
1586 fun onMediaDataRemoved(key: String, userInitiated: Boolean) {} in <lambda>() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dream/
DMediaDreamSentinelTest.java107 listener.onMediaDataRemoved(mKey, false); in testOnMediaDataRemoved_complicationRemoval()
111 listener.onMediaDataRemoved(mKey, false); in testOnMediaDataRemoved_complicationRemoval()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/
DCommunalMediaRepository.kt56 override fun onMediaDataRemoved(key: String, userInitiated: Boolean) { in onMediaDataRemoved() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dream/
DMediaDreamSentinel.java51 public void onMediaDataRemoved(@NonNull String key, boolean userInitiated) {
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/
DCommunalMediaRepositoryImplTest.kt117 mediaDataListenerCaptor.value.onMediaDataRemoved("key", false) in mediaModel_updatesWhenMediaDataRemoved()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DMediaHost.kt108 override fun onMediaDataRemoved(key: String, userInitiated: Boolean) { in <lambda>() method
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/domain/interactor/
DMediaControlInteractorTest.kt231 verify(listener).onMediaDataRemoved(eq(KEY), eq(true)) in removeMediaControl()
/frameworks/base/packages/SystemUI/docs/
Dmedia-controls.md14 …emui/media/MediaDataManager.kt#711) and receive `onMediaDataLoaded` and `onMediaDataRemoved` events
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMediaManager.java201 public void onMediaDataRemoved(@NonNull String key, boolean userInitiated) { in setupNotifPipeline()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaCarouselController.kt508 onMediaDataRemoved(key, userInitiated = MediaPlayerData.isSwipedAway) in <lambda>()
599 override fun onMediaDataRemoved(key: String, userInitiated: Boolean) { in <lambda>() method

12