/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaSessionBasedFilterTest.kt | 159 filter.onMediaDataLoaded(KEY, null, mediaData1) in noMediaSession_loadedEventNotFiltered() 163 .onMediaDataLoaded(eq(KEY), eq(null), eq(mediaData1), eq(true), eq(0), eq(false)) in noMediaSession_loadedEventNotFiltered() 181 filter.onMediaDataLoaded(KEY, null, mediaData1) in matchingMediaSession_loadedEventNotFiltered() 186 .onMediaDataLoaded(eq(KEY), eq(null), eq(mediaData1), eq(true), eq(0), eq(false)) in matchingMediaSession_loadedEventNotFiltered() 211 filter.onMediaDataLoaded(KEY, null, mediaData1) in remoteSession_loadedEventNotFiltered() 216 .onMediaDataLoaded(eq(KEY), eq(null), eq(mediaData1), eq(true), eq(0), eq(false)) in remoteSession_loadedEventNotFiltered() 227 filter.onMediaDataLoaded(KEY, null, mediaData1) in remoteAndLocalSessions_localLoadedEventFiltered() 232 .onMediaDataLoaded(eq(KEY), eq(null), eq(mediaData1), eq(true), eq(0), eq(false)) in remoteAndLocalSessions_localLoadedEventFiltered() 234 filter.onMediaDataLoaded(KEY, null, mediaData2) in remoteAndLocalSessions_localLoadedEventFiltered() 239 .onMediaDataLoaded( in remoteAndLocalSessions_localLoadedEventFiltered() [all …]
|
D | MediaDataCombineLatestTest.java | 89 mManager.onMediaDataLoaded(KEY, null, mMediaData, true /* immediately */, in eventNotEmittedWithoutDevice() 92 verify(mListener, never()).onMediaDataLoaded(eq(KEY), any(), any(), anyBoolean(), in eventNotEmittedWithoutDevice() 101 verify(mListener, never()).onMediaDataLoaded(eq(KEY), any(), any(), anyBoolean(), in eventNotEmittedWithoutMedia() 110 mManager.onMediaDataLoaded(KEY, null, mMediaData, true /* immediately */, in emitEventAfterDeviceFirst() 114 verify(mListener).onMediaDataLoaded(eq(KEY), any(), captor.capture(), anyBoolean(), in emitEventAfterDeviceFirst() 122 mManager.onMediaDataLoaded(KEY, null, mMediaData, true /* immediately */, in emitEventAfterMediaFirst() 128 verify(mListener).onMediaDataLoaded(eq(KEY), any(), captor.capture(), anyBoolean(), in emitEventAfterMediaFirst() 136 mManager.onMediaDataLoaded(OLD_KEY, null, mMediaData, true /* immediately */, in migrateKeyMediaFirst() 141 mManager.onMediaDataLoaded(KEY, OLD_KEY, mMediaData, true /* immediately */, in migrateKeyMediaFirst() 145 verify(mListener).onMediaDataLoaded(eq(KEY), eq(OLD_KEY), captor.capture(), anyBoolean(), in migrateKeyMediaFirst() [all …]
|
D | LegacyMediaDataFilterImplTest.kt | 154 mediaDataFilter.onMediaDataLoaded(KEY, null, dataMain) in testOnDataLoadedForCurrentUser_callsListener() 158 .onMediaDataLoaded(eq(KEY), eq(null), eq(dataMain), eq(true), eq(0), eq(false)) in testOnDataLoadedForCurrentUser_callsListener() 164 mediaDataFilter.onMediaDataLoaded(KEY, null, dataGuest) in testOnDataLoadedForGuest_doesNotCallListener() 168 .onMediaDataLoaded(any(), any(), any(), anyBoolean(), anyInt(), anyBoolean()) in testOnDataLoadedForGuest_doesNotCallListener() 174 mediaDataFilter.onMediaDataLoaded(KEY, null, dataMain) in testOnRemovedForCurrent_callsListener() 184 mediaDataFilter.onMediaDataLoaded(KEY, null, dataGuest) in testOnRemovedForGuest_doesNotCallListener() 194 mediaDataFilter.onMediaDataLoaded(KEY, null, dataMain) in testOnUserSwitched_removesOldUserControls() 206 mediaDataFilter.onMediaDataLoaded(KEY, null, dataMain) in testOnUserSwitched_addsNewUserControls() 207 mediaDataFilter.onMediaDataLoaded(KEY_ALT, null, dataGuest) in testOnUserSwitched_addsNewUserControls() 215 .onMediaDataLoaded(eq(KEY_ALT), eq(null), eq(dataGuest), eq(true), eq(0), eq(false)) in testOnUserSwitched_addsNewUserControls() [all …]
|
D | MediaDeviceManagerTest.kt | 185 manager.onMediaDataLoaded(KEY, null, mediaData) in loadMediaData() 191 manager.onMediaDataLoaded(KEY, null, mediaData) in loadAndRemoveMediaData() 200 manager.onMediaDataLoaded(KEY, null, mediaData.copy(token = null)) in loadMediaDataWithNullToken() 211 manager.onMediaDataLoaded(KEY_OLD, null, mediaData) in loadWithNewKey() 214 manager.onMediaDataLoaded(KEY, KEY_OLD, mediaData) in loadWithNewKey() 229 manager.onMediaDataLoaded(KEY, null, mediaData) in newKeySameAsOldKey() 232 manager.onMediaDataLoaded(KEY, KEY, mediaData) in newKeySameAsOldKey() 240 manager.onMediaDataLoaded(KEY, oldKey, mediaData) in unknownOldKey() 249 manager.onMediaDataLoaded(KEY, null, mediaData.copy(token = null)) in updateToSessionTokenWithNullRoute() 257 manager.onMediaDataLoaded(KEY, null, mediaData) in updateToSessionTokenWithNullRoute() [all …]
|
D | MediaDataFilterImplTest.kt | 179 mediaDataFilter.onMediaDataLoaded(KEY, null, dataMain) in onDataLoadedForCurrentUser_updatesLoadedStates() 182 .onMediaDataLoaded(eq(KEY), eq(null), eq(dataMain), eq(true), eq(0), eq(false)) in onDataLoadedForCurrentUser_updatesLoadedStates() 195 mediaDataFilter.onMediaDataLoaded(KEY, null, dataGuest) in onDataLoadedForGuest_doesNotUpdateLoadedStates() 198 .onMediaDataLoaded(any(), any(), any(), anyBoolean(), anyInt(), anyBoolean()) in onDataLoadedForGuest_doesNotUpdateLoadedStates() 211 mediaDataFilter.onMediaDataLoaded(KEY, null, dataMain) in onRemovedForCurrent_updatesLoadedStates() 230 mediaDataFilter.onMediaDataLoaded(KEY, null, dataGuest) in onRemovedForGuest_doesNotUpdateLoadedStates() 246 mediaDataFilter.onMediaDataLoaded(KEY, null, dataMain) in onUserSwitched_removesOldUserControls() 269 mediaDataFilter.onMediaDataLoaded(KEY, null, dataMain) in onUserSwitched_addsNewUserControls() 270 mediaDataFilter.onMediaDataLoaded(KEY_ALT, null, dataGuest) in onUserSwitched_addsNewUserControls() 277 .onMediaDataLoaded(eq(KEY_ALT), eq(null), eq(dataGuest), eq(true), eq(0), eq(false)) in onUserSwitched_addsNewUserControls() [all …]
|
D | MediaTimeoutListenerTest.kt | 146 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testOnMediaDataLoaded_registersPlaybackListener() 152 mediaTimeoutListener.onMediaDataLoaded(KEY, KEY, mediaData) in testOnMediaDataLoaded_registersPlaybackListener() 158 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testOnMediaDataLoaded_registersTimeout_whenPaused() 168 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testOnMediaDataRemoved_unregistersPlaybackListener() 181 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testOnMediaDataRemoved_clearsTimeout() 193 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testOnMediaDataLoaded_migratesKeys() 200 mediaTimeoutListener.onMediaDataLoaded(newKey, KEY, mediaData) in testOnMediaDataLoaded_migratesKeys() 213 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testOnMediaDataLoaded_migratesKeys_noTimeoutExtension() 220 mediaTimeoutListener.onMediaDataLoaded(newKey, KEY, mediaData) in testOnMediaDataLoaded_migratesKeys_noTimeoutExtension() 277 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testIsTimedOut() [all …]
|
D | MediaDataProcessorTest.kt | 370 .onMediaDataLoaded( in testsetInactive_resume_dismissesMedia() 412 .onMediaDataLoaded( in testLoadMetadata_withExplicitIndicator() 430 .onMediaDataLoaded( in testOnMetaDataLoaded_withoutExplicitIndicator() 460 .onMediaDataLoaded( in testOnMetaDataLoaded_conservesActiveFlag() 505 .onMediaDataLoaded( in testOnNotificationAdded_hasSubstituteName_isUsed() 592 .onMediaDataLoaded( in testOnNotificationAdded_emptyTitle_hasPlaceholder() 623 .onMediaDataLoaded( in testOnNotificationAdded_blankTitle_hasPlaceholder() 665 .onMediaDataLoaded( in testOnNotificationAdded_emptyMetadata_usesNotificationTitle() 683 mediaDataProcessor.onMediaDataLoaded( in testOnNotificationRemoved_emptyTitle_notConverted() 695 .onMediaDataLoaded( in testOnNotificationRemoved_emptyTitle_notConverted() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dream/ |
D | MediaDreamSentinelTest.java | 83 listener.onMediaDataLoaded(mKey, mOldKey, mData, /* immediately= */ true, in testOnMediaDataLoaded_complicationAddition() 88 listener.onMediaDataLoaded(mKey, mOldKey, mData, /* immediately= */true, in testOnMediaDataLoaded_complicationAddition() 104 listener.onMediaDataLoaded(mKey, mOldKey, mData, /* immediately= */true, in testOnMediaDataRemoved_complicationRemoval() 124 listener.onMediaDataLoaded(mKey, mOldKey, mData, /* immediately= */true, in testOnMediaDataLoaded_complicationRemoval() 128 listener.onMediaDataLoaded(mKey, mOldKey, mData, /* immediately= */true, in testOnMediaDataLoaded_complicationRemoval() 133 listener.onMediaDataLoaded(mKey, mOldKey, mData, /* immediately= */true, in testOnMediaDataLoaded_complicationRemoval() 149 listener.onMediaDataLoaded(mKey, mOldKey, mData, /* immediately= */true, in testOnMediaDataLoaded_mediaComplicationDisabled_doesNotAddComplication()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/resume/ |
D | MediaResumeListenerTest.kt | 205 listener.onMediaDataLoaded(KEY, OLD_KEY, data) in capture() 213 resumeListener.onMediaDataLoaded(KEY, null, data) in capture() 226 resumeListener.onMediaDataLoaded(KEY, null, data) in capture() 237 resumeListener.onMediaDataLoaded(KEY, null, dataCast) in capture() 247 resumeListener.onMediaDataLoaded(KEY, null, dataRcn) in capture() 260 resumeListener.onMediaDataLoaded(KEY, null, dataCast) in capture() 273 resumeListener.onMediaDataLoaded(KEY, null, dataRcn) in capture() 291 resumeListener.onMediaDataLoaded(KEY, null, dataCopy) in capture() 310 resumeListener.onMediaDataLoaded(KEY, null, dataCopy) in capture() 321 resumeListener.onMediaDataLoaded(KEY, null, data) in capture() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/ |
D | LegacyMediaDataFilterImpl.kt | 104 override fun onMediaDataLoaded( in <lambda>() method in com.android.systemui.media.controls.domain.pipeline.LegacyMediaDataFilterImpl 130 listeners.forEach { it.onMediaDataLoaded(key, oldKey, data) } in <lambda>() 182 it.onMediaDataLoaded( in <lambda>() 226 it.onMediaDataLoaded(lastActiveKey, lastActiveKey, mediaData, immediately) in <lambda>() 271 listenersCopy.forEach { listener -> listener.onMediaDataLoaded(key, null, data) } in <lambda>()
|
D | MediaDataFilterImpl.kt | 99 override fun onMediaDataLoaded( in <lambda>() method 127 listeners.forEach { it.onMediaDataLoaded(key, oldKey, data) } in <lambda>() 192 listener.onMediaDataLoaded( in <lambda>() 256 listener.onMediaDataLoaded(lastActiveKey, lastActiveKey, it, immediately) in <lambda>() 329 listenersCopy.forEach { listener -> listener.onMediaDataLoaded(key, null, data) } in <lambda>()
|
D | MediaDataCombineLatest.kt | 31 override fun onMediaDataLoaded( in onMediaDataLoaded() method in com.android.systemui.media.controls.domain.pipeline.MediaDataCombineLatest 91 listenersCopy.forEach { it.onMediaDataLoaded(key, oldKey, data) } in addListener()
|
D | MediaSessionBasedFilter.kt | 95 override fun onMediaDataLoaded( in <lambda>() method 173 listeners.toSet().forEach { it.onMediaDataLoaded(key, oldKey, info, immediately) } in <lambda>()
|
D | MediaDataManager.kt | 116 override fun onMediaDataLoaded( in setInactive() method
|
D | MediaDataProcessor.kt | 484 internalListeners.forEach { it.onMediaDataLoaded(key, oldKey, info) } in <lambda>() 546 onMediaDataLoaded(key, key, it) in <lambda>() 581 onMediaDataLoaded(key, key, data) in <lambda>() 695 onMediaDataLoaded( in <lambda>() 875 onMediaDataLoaded( in <lambda>() 1312 fun onMediaDataLoaded(key: String, oldKey: String?, data: MediaData) = in <lambda>() method 1563 fun onMediaDataLoaded( in <lambda>() method
|
D | LegacyMediaDataManagerImpl.kt | 529 internalListeners.forEach { it.onMediaDataLoaded(key, oldKey, info) } in addInternalListener() 591 onMediaDataLoaded(key, key, it) in setInactive() 626 onMediaDataLoaded(key, key, data) in updateState() 749 onMediaDataLoaded( in loadMediaDataInBgForResumption() 929 onMediaDataLoaded( in loadMediaDataInBg() 1367 fun onMediaDataLoaded(key: String, oldKey: String?, data: MediaData) = in onMediaDataLoaded() method
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaCarouselControllerTest.kt | 444 listener.value.onMediaDataLoaded( in testPlayingExistingMediaPlayerFromCarousel_visibleMediaPlayersNotUpdated() 454 listener.value.onMediaDataLoaded( in testPlayingExistingMediaPlayerFromCarousel_visibleMediaPlayersNotUpdated() 550 listener.value.onMediaDataLoaded( in testMediaLoaded_ScrollToActivePlayer() 560 listener.value.onMediaDataLoaded( in testMediaLoaded_ScrollToActivePlayer() 578 listener.value.onMediaDataLoaded( in testMediaLoaded_ScrollToActivePlayer() 588 listener.value.onMediaDataLoaded( in testMediaLoaded_ScrollToActivePlayer() 612 listener.value.onMediaDataLoaded( in testMediaLoadedFromRecommendationCard_ScrollToActivePlayer() 633 listener.value.onMediaDataLoaded( in testMediaLoadedFromRecommendationCard_ScrollToActivePlayer() 1024 listener.value.onMediaDataLoaded(PAUSED_LOCAL, PAUSED_LOCAL, pausedMedia) in swipeToDismiss_pausedAndResumeOff_userInitiated() 1030 listener.value.onMediaDataLoaded(PAUSED_LOCAL, PAUSED_LOCAL, inactiveMedia) in swipeToDismiss_pausedAndResumeOff_userInitiated() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/ |
D | CommunalMediaRepositoryImplTest.kt | 92 mediaDataListenerCaptor.value.onMediaDataLoaded("key", null, mediaData) in mediaModel_updatesWhenMediaDataLoaded() 108 mediaDataListenerCaptor.value.onMediaDataLoaded("key", null, mediaData) in mediaModel_updatesWhenMediaDataRemoved()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/domain/interactor/ |
D | MediaControlInteractorTest.kt | 86 mediaDataFilter.onMediaDataLoaded(KEY, KEY, mediaData) in onMediaDataUpdated() 93 mediaDataFilter.onMediaDataLoaded(KEY, KEY, mediaData) in onMediaDataUpdated() 105 mediaDataFilter.onMediaDataLoaded(KEY, KEY, mediaData) in onMediaDataUpdated()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/ |
D | CommunalMediaRepository.kt | 45 override fun onMediaDataLoaded( in onMediaDataLoaded() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dream/ |
D | MediaDreamSentinel.java | 76 public void onMediaDataLoaded(@NonNull String key, @Nullable String oldKey,
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/ui/viewmodel/ |
D | MediaControlViewModelTest.kt | 80 mediaDataFilter.onMediaDataLoaded(KEY, KEY, mediaData) in addMediaControl_mediaControlViewModelIsLoaded()
|
D | MediaCarouselViewModelTest.kt | 181 mediaDataFilter.onMediaDataLoaded(key, key, mediaData) in loadMediaControl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/ |
D | MediaHost.kt | 87 override fun onMediaDataLoaded( in <lambda>() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/resume/ |
D | MediaResumeListener.kt | 236 override fun onMediaDataLoaded( in onMediaDataLoaded() method
|