Searched refs:mediaCallbackCaptor (Results 1 – 1 of 1) sorted by relevance
79 @Captor private lateinit var mediaCallbackCaptor: ArgumentCaptor<MediaController.Callback> variable in com.android.systemui.media.controls.domain.pipeline.MediaTimeoutListenerTest147 verify(mediaController).registerCallback(capture(mediaCallbackCaptor)) in testOnMediaDataLoaded_registersPlaybackListener()159 verify(mediaController).registerCallback(capture(mediaCallbackCaptor)) in testOnMediaDataLoaded_registersTimeout_whenPaused()233 mediaCallbackCaptor.value.onPlaybackStateChanged( in testOnPlaybackStateChanged_schedulesTimeout_whenPaused()245 mediaCallbackCaptor.value.onPlaybackStateChanged( in testOnPlaybackStateChanged_cancelsTimeout_whenResumed()257 mediaCallbackCaptor.value.onPlaybackStateChanged( in testOnPlaybackStateChanged_reusesTimeout_whenNotPlaying()286 verify(mediaController).registerCallback(capture(mediaCallbackCaptor)) in testOnSessionDestroyed_active_clearsTimeout()290 mediaCallbackCaptor.value.onSessionDestroyed() in testOnSessionDestroyed_active_clearsTimeout()326 verify(mediaController).registerCallback(capture(mediaCallbackCaptor)) in testOnSessionDestroyed_resume_continuesTimeout()330 mediaCallbackCaptor.value.onSessionDestroyed() in testOnSessionDestroyed_resume_continuesTimeout()[all …]