Home
last modified time | relevance | path

Searched refs:onMediaDataLoaded (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaDataFilterTest.kt120 mediaDataFilter.onMediaDataLoaded(KEY, null, dataMain) in eq()
123 verify(listener).onMediaDataLoaded(eq(KEY), eq(null), eq(dataMain), eq(true), in eq()
130 mediaDataFilter.onMediaDataLoaded(KEY, null, dataGuest) in eq()
133 verify(listener, never()).onMediaDataLoaded(any(), any(), any(), anyBoolean(), anyBoolean()) in eq()
139 mediaDataFilter.onMediaDataLoaded(KEY, null, dataMain) in eq()
149 mediaDataFilter.onMediaDataLoaded(KEY, null, dataGuest) in eq()
159 mediaDataFilter.onMediaDataLoaded(KEY, null, dataMain) in eq()
171 mediaDataFilter.onMediaDataLoaded(KEY, null, dataMain) in eq()
172 mediaDataFilter.onMediaDataLoaded(KEY_ALT, null, dataGuest) in eq()
179 verify(listener).onMediaDataLoaded(eq(KEY_ALT), eq(null), eq(dataGuest), eq(true), in eq()
[all …]
DMediaDataCombineLatestTest.java85 mManager.onMediaDataLoaded(KEY, null, mMediaData, true /* immediately */, in eventNotEmittedWithoutDevice()
88 verify(mListener, never()).onMediaDataLoaded(eq(KEY), any(), any(), anyBoolean(), in eventNotEmittedWithoutDevice()
97 verify(mListener, never()).onMediaDataLoaded(eq(KEY), any(), any(), anyBoolean(), in eventNotEmittedWithoutMedia()
106 mManager.onMediaDataLoaded(KEY, null, mMediaData, true /* immediately */, in emitEventAfterDeviceFirst()
110 verify(mListener).onMediaDataLoaded(eq(KEY), any(), captor.capture(), anyBoolean(), in emitEventAfterDeviceFirst()
118 mManager.onMediaDataLoaded(KEY, null, mMediaData, true /* immediately */, in emitEventAfterMediaFirst()
124 verify(mListener).onMediaDataLoaded(eq(KEY), any(), captor.capture(), anyBoolean(), in emitEventAfterMediaFirst()
132 mManager.onMediaDataLoaded(OLD_KEY, null, mMediaData, true /* immediately */, in migrateKeyMediaFirst()
137 mManager.onMediaDataLoaded(KEY, OLD_KEY, mMediaData, true /* immediately */, in migrateKeyMediaFirst()
141 verify(mListener).onMediaDataLoaded(eq(KEY), eq(OLD_KEY), captor.capture(), anyBoolean(), in migrateKeyMediaFirst()
[all …]
DMediaSessionBasedFilterTest.kt185 filter.onMediaDataLoaded(KEY, null, mediaData1) in eq()
188 verify(mediaListener).onMediaDataLoaded(eq(KEY), eq(null), eq(mediaData1), eq(true), in eq()
207 filter.onMediaDataLoaded(KEY, null, mediaData1) in eq()
211 verify(mediaListener).onMediaDataLoaded(eq(KEY), eq(null), eq(mediaData1), eq(true), in eq()
237 filter.onMediaDataLoaded(KEY, null, mediaData1) in eq()
241 verify(mediaListener).onMediaDataLoaded(eq(KEY), eq(null), eq(mediaData1), eq(true), in eq()
253 filter.onMediaDataLoaded(KEY, null, mediaData1) in eq()
257 verify(mediaListener).onMediaDataLoaded(eq(KEY), eq(null), eq(mediaData1), eq(true), in eq()
260 filter.onMediaDataLoaded(KEY, null, mediaData2) in eq()
264 verify(mediaListener, never()).onMediaDataLoaded( in eq()
[all …]
DMediaDeviceManagerTest.kt123 manager.onMediaDataLoaded(KEY, null, mediaData) in eq()
129 manager.onMediaDataLoaded(KEY, null, mediaData) in eq()
137 manager.onMediaDataLoaded(KEY, null, mediaData.copy(token = null)) in eq()
148 manager.onMediaDataLoaded(KEY_OLD, null, mediaData) in eq()
151 manager.onMediaDataLoaded(KEY, KEY_OLD, mediaData) in eq()
165 manager.onMediaDataLoaded(KEY, null, mediaData) in eq()
168 manager.onMediaDataLoaded(KEY, KEY, mediaData) in eq()
176 manager.onMediaDataLoaded(KEY, oldKey, mediaData) in eq()
185 manager.onMediaDataLoaded(KEY, null, mediaData.copy(token = null)) in eq()
192 manager.onMediaDataLoaded(KEY, null, mediaData) in eq()
[all …]
DMediaDataManagerTest.kt172 mediaDataManager.onMediaDataLoaded(KEY, oldKey = null, data = data) in testSetTimedOut_deactivatesMedia()
187 mediaDataManager.onMediaDataLoaded(KEY, oldKey = null, data = mock(MediaData::class.java)) in testOnMetaDataLoaded_callsListener()
188 verify(listener).onMediaDataLoaded(eq(KEY), eq(null), anyObject(), eq(true), in testOnMetaDataLoaded_callsListener()
200 verify(listener).onMediaDataLoaded(eq(KEY), eq(null), capture(mediaDataCaptor), eq(true), in testOnMetaDataLoaded_conservesActiveFlag()
208 mediaDataManager.onMediaDataLoaded(KEY, oldKey = null, data = mock(MediaData::class.java)) in testOnNotificationRemoved_callsListener()
220 verify(listener).onMediaDataLoaded(eq(KEY), eq(null), capture(mediaDataCaptor), eq(true), in testOnNotificationRemoved_withResumption()
224 mediaDataManager.onMediaDataLoaded(KEY, null, data.copy(resumeAction = Runnable {})) in testOnNotificationRemoved_withResumption()
229 .onMediaDataLoaded(eq(PACKAGE_NAME), eq(KEY), capture(mediaDataCaptor), eq(true), in testOnNotificationRemoved_withResumption()
243 .onMediaDataLoaded(eq(KEY), eq(null), capture(mediaDataCaptor), eq(true), in testOnNotificationRemoved_twoWithResumption()
248 mediaDataManager.onMediaDataLoaded(KEY, null, resumableData) in testOnNotificationRemoved_twoWithResumption()
[all …]
DMediaTimeoutListenerTest.kt108 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testOnMediaDataLoaded_registersPlaybackListener()
113 mediaTimeoutListener.onMediaDataLoaded(KEY, KEY, mediaData) in testOnMediaDataLoaded_registersPlaybackListener()
119 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testOnMediaDataLoaded_registersTimeout_whenPaused()
127 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testOnMediaDataRemoved_unregistersPlaybackListener()
140 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testOnMediaDataRemoved_clearsTimeout()
151 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testOnMediaDataLoaded_migratesKeys()
158 mediaTimeoutListener.onMediaDataLoaded("NEWKEY", KEY, mediaData) in testOnMediaDataLoaded_migratesKeys()
169 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testOnMediaDataLoaded_migratesKeys_noTimeoutExtension()
176 mediaTimeoutListener.onMediaDataLoaded("NEWKEY", KEY, mediaData) in testOnMediaDataLoaded_migratesKeys_noTimeoutExtension()
227 mediaTimeoutListener.onMediaDataLoaded(KEY, null, mediaData) in testIsTimedOut()
[all …]
DMediaResumeListenerTest.kt172 listener.onMediaDataLoaded(KEY, OLD_KEY, data) in capture()
180 resumeListener.onMediaDataLoaded(KEY, null, data) in capture()
204 resumeListener.onMediaDataLoaded(KEY, null, data) in capture()
215 resumeListener.onMediaDataLoaded(KEY, null, dataRemote) in capture()
242 resumeListener.onMediaDataLoaded(KEY, null, dataCopy) in capture()
261 resumeListener.onMediaDataLoaded(KEY, null, dataCopy) in capture()
317 resumeListener.onMediaDataLoaded(KEY, null, dataCopy) in capture()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaDataFilter.kt82 override fun onMediaDataLoaded( in <lambda>() method in com.android.systemui.media.MediaDataFilter
105 it.onMediaDataLoaded(key, oldKey, data, isSsReactivated = isSsReactivated) in <lambda>()
148 it.onMediaDataLoaded(lastActiveKey, lastActiveKey, mediaData, in <lambda>()
182 it.onMediaDataLoaded( in <lambda>()
215 listener.onMediaDataLoaded(key, null, data) in <lambda>()
DMediaDataCombineLatest.kt30 override fun onMediaDataLoaded( in onMediaDataLoaded() method in com.android.systemui.media.MediaDataCombineLatest
96 it.onMediaDataLoaded(key, oldKey, data) in addListener()
DMediaSessionBasedFilter.kt94 override fun onMediaDataLoaded( in <lambda>() method
174 listeners.toSet().forEach { it.onMediaDataLoaded(key, oldKey, info, immediately) } in <lambda>()
DMediaDataManager.kt375 internalListeners.forEach { it.onMediaDataLoaded(key, oldKey, info) } in addInternalListener()
424 onMediaDataLoaded(token, token, it) in setTimedOut()
506 onMediaDataLoaded(packageName, null, MediaData(userId, true, bgColor, appName, in loadMediaDataInBgForResumption()
632 onMediaDataLoaded(key, oldKey, MediaData(sbn.normalizedUserId, true, bgColor, app, in loadMediaDataInBg()
707 fun onMediaDataLoaded(key: String, oldKey: String?, data: MediaData) { in onMediaDataLoaded() method
838 fun onMediaDataLoaded( in onSwipeToDismiss() method
DMediaTimeoutListener.kt53 override fun onMediaDataLoaded( in onMediaDataLoaded() method
DMediaDeviceManager.kt66 override fun onMediaDataLoaded( in <lambda>() method
DMediaHost.kt59 override fun onMediaDataLoaded( in <lambda>() method
DMediaResumeListener.kt158 override fun onMediaDataLoaded( in onMediaDataLoaded() method
DMediaCarouselController.kt207 override fun onMediaDataLoaded( in <lambda>() method
/frameworks/base/packages/SystemUI/docs/
Dmedia-controls.md14 …rc/com/android/systemui/media/MediaDataManager.kt#711) and receive `onMediaDataLoaded` and `onMedi…
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMediaManager.java247 public void onMediaDataLoaded(@NonNull String key, in setupNotifPipeline()
321 public void onMediaDataLoaded(@NonNull String key, in setupNEM()