Searched refs:mediaTimeoutListener (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaTimeoutListenerTest.kt | 89 private lateinit var mediaTimeoutListener: MediaTimeoutListener variable in com.android.systemui.media.controls.domain.pipeline.MediaTimeoutListenerTest 99 mediaTimeoutListener = in setup() 108 mediaTimeoutListener.timeoutCallback = timeoutCallback in setup() 109 mediaTimeoutListener.stateCallback = stateCallback in setup() 110 mediaTimeoutListener.sessionCallback = sessionCallback in setup() 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() 169 mediaTimeoutListener.onMediaDataRemoved(KEY, false) in testOnMediaDataRemoved_unregistersPlaybackListener() [all …]
|
D | MediaDataProcessorTest.kt | 144 @Mock lateinit var mediaTimeoutListener: MediaTimeoutListener variable in com.android.systemui.media.controls.domain.pipeline.MediaDataProcessorTest 246 mediaTimeoutListener = mediaTimeoutListener, in setup() 256 verify(mediaTimeoutListener).stateCallback = capture(stateCallbackCaptor) in setup() 257 verify(mediaTimeoutListener).sessionCallback = capture(sessionCallbackCaptor) in setup()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/domain/pipeline/interactor/ |
D | MediaCarouselInteractorKosmos.kt | 28 import com.android.systemui.media.controls.domain.pipeline.mediaTimeoutListener 36 mediaTimeoutListener = mediaTimeoutListener, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/ |
D | MediaCarouselInteractor.kt | 57 private val mediaTimeoutListener: MediaTimeoutListener, in <lambda>() constant 117 addInternalListener(mediaTimeoutListener) in <lambda>() 126 mediaTimeoutListener.timeoutCallback = { key: String, timedOut: Boolean -> in <lambda>() 129 mediaTimeoutListener.stateCallback = { key: String, state: PlaybackState -> in <lambda>() 132 mediaTimeoutListener.sessionCallback = { key: String -> in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaTimeoutListenerKosmos.kt | 27 val Kosmos.mediaTimeoutListener by constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/ |
D | LegacyMediaDataManagerImpl.kt | 175 mediaTimeoutListener: MediaTimeoutListener, 253 mediaTimeoutListener: MediaTimeoutListener, 277 mediaTimeoutListener, 320 addInternalListener(mediaTimeoutListener) 329 mediaTimeoutListener.timeoutCallback = { key: String, timedOut: Boolean -> in timedOut() 332 mediaTimeoutListener.stateCallback = { key: String, state: PlaybackState -> in state() 335 mediaTimeoutListener.sessionCallback = { key: String -> onSessionDestroyed(key) } in key()
|