/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaDataCombineLatestTest.java | 205 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()
|
D | LegacyMediaDataFilterImplTest.kt | 175 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()
|
D | MediaSessionBasedFilterTest.kt | 168 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()
|
D | MediaDataProcessorTest.kt | 386 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 …]
|
D | MediaDataFilterImplTest.kt | 217 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()
|
D | MediaTimeoutListenerTest.kt | 169 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()
|
D | MediaDeviceManagerTest.kt | 179 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/ |
D | NotificationMediaManagerTest.kt | 98 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/ |
D | LegacyMediaDataFilterImpl.kt | 209 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>()
|
D | MediaDataCombineLatest.kt | 56 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()
|
D | MediaDataFilterImpl.kt | 226 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>()
|
D | MediaSessionBasedFilter.kt | 154 override fun onMediaDataRemoved(key: String, userInitiated: Boolean) { in <lambda>() method 179 listeners.toSet().forEach { it.onMediaDataRemoved(key, userInitiated) } in <lambda>()
|
D | MediaDataManager.kt | 139 override fun onMediaDataRemoved(key: String, userInitiated: Boolean) {} in setInactive() method
|
D | MediaTimeoutListener.kt | 172 override fun onMediaDataRemoved(key: String, userInitiated: Boolean) { in <lambda>() method
|
D | MediaDeviceManager.kt | 121 override fun onMediaDataRemoved(key: String, userInitiated: Boolean) { in <lambda>() method in com.android.systemui.media.controls.domain.pipeline.MediaDeviceManager
|
D | MediaDataProcessor.kt | 504 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/ |
D | MediaDreamSentinelTest.java | 107 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/ |
D | CommunalMediaRepository.kt | 56 override fun onMediaDataRemoved(key: String, userInitiated: Boolean) { in onMediaDataRemoved() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dream/ |
D | MediaDreamSentinel.java | 51 public void onMediaDataRemoved(@NonNull String key, boolean userInitiated) {
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/ |
D | CommunalMediaRepositoryImplTest.kt | 117 mediaDataListenerCaptor.value.onMediaDataRemoved("key", false) in mediaModel_updatesWhenMediaDataRemoved()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/ |
D | MediaHost.kt | 108 override fun onMediaDataRemoved(key: String, userInitiated: Boolean) { in <lambda>() method
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/domain/interactor/ |
D | MediaControlInteractorTest.kt | 231 verify(listener).onMediaDataRemoved(eq(KEY), eq(true)) in removeMediaControl()
|
/frameworks/base/packages/SystemUI/docs/ |
D | media-controls.md | 14 …emui/media/MediaDataManager.kt#711) and receive `onMediaDataLoaded` and `onMediaDataRemoved` events
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationMediaManager.java | 201 public void onMediaDataRemoved(@NonNull String key, boolean userInitiated) { in setupNotifPipeline()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaCarouselController.kt | 508 onMediaDataRemoved(key, userInitiated = MediaPlayerData.isSwipedAway) in <lambda>() 599 override fun onMediaDataRemoved(key: String, userInitiated: Boolean) { in <lambda>() method
|