Home
last modified time | relevance | path

Searched refs:RESUME_MEDIA_TIMEOUT (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/resume/
DMediaResumeListener.kt38 import com.android.systemui.media.controls.domain.pipeline.RESUME_MEDIA_TIMEOUT
220 if (now.minus(it.second) <= RESUME_MEDIA_TIMEOUT) { in loadMediaResumptionControls()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaTimeoutListener.kt43 val RESUME_MEDIA_TIMEOUT = in <lambda>() constant
306 RESUME_MEDIA_TIMEOUT in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaTimeoutListenerTest.kt349 assertThat(executor.advanceClockToNext()).isEqualTo(RESUME_MEDIA_TIMEOUT) in testOnMediaDataLoaded_activeToResume_registersTimeout()
367 assertThat(executor.advanceClockToNext()).isEqualTo(RESUME_MEDIA_TIMEOUT) in testOnMediaDataLoaded_pausedToResume_updatesTimeout()
378 assertThat(executor.advanceClockToNext()).isEqualTo(RESUME_MEDIA_TIMEOUT) in testOnMediaDataLoaded_resumption_registersTimeout()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/resume/
DMediaResumeListenerTest.kt38 import com.android.systemui.media.controls.domain.pipeline.RESUME_MEDIA_TIMEOUT
466 val lastPlayed = clock.currentTimeMillis() - RESUME_MEDIA_TIMEOUT - 100 in capture()