Home
last modified time | relevance | path

Searched refs:mSeekRequestTimeMs (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TV/tests/unit/src/com/android/tv/
DCurrentPositionMediatorTest.java50 assertNotSame("Seek request time", INVALID_TIME, mMediator.mSeekRequestTimeMs); in testOnSeekRequested()
60 assertNotSame("Seek request time", INVALID_TIME, mMediator.mSeekRequestTimeMs); in testOnCurrentPositionChangedInvalidInput()
76 assertEquals("Seek request time", expectedSeekRequestTimeMs, mMediator.mSeekRequestTimeMs); in assertCurrentPositionMediator()
/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java1279 long mSeekRequestTimeMs; field in TimeShiftManager.CurrentPositionMediator
1282 mSeekRequestTimeMs = INVALID_TIME; in initialize()
1288 mSeekRequestTimeMs = System.currentTimeMillis(); in onSeekRequested()
1294 if (mSeekRequestTimeMs == INVALID_TIME) { in onCurrentPositionChanged()
1301 boolean isTimeout = currentTimeMs > mSeekRequestTimeMs + REQUEST_TIMEOUT_MS; in onCurrentPositionChanged()
1307 mCurrentPositionMs += (currentTimeMs - mSeekRequestTimeMs) in onCurrentPositionChanged()
1310 mCurrentPositionMs -= (currentTimeMs - mSeekRequestTimeMs) in onCurrentPositionChanged()