Home
last modified time | relevance | path

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

/packages/apps/TV/tests/unit/src/com/android/tv/
DCurrentPositionMediatorTest.java48 long seekToTimeMs = System.currentTimeMillis() - REQUEST_TIMEOUT_MS * 3; in testOnSeekRequested() local
49 mMediator.onSeekRequested(seekToTimeMs); in testOnSeekRequested()
51 assertEquals("Current position", seekToTimeMs, mMediator.mCurrentPositionMs); in testOnSeekRequested()
56 long seekToTimeMs = System.currentTimeMillis() - REQUEST_TIMEOUT_MS * 3; in testOnCurrentPositionChangedInvalidInput() local
57 long newCurrentTimeMs = seekToTimeMs + REQUEST_TIMEOUT_MS; in testOnCurrentPositionChangedInvalidInput()
58 mMediator.onSeekRequested(seekToTimeMs); in testOnCurrentPositionChangedInvalidInput()
61 assertNotSame("Current position", seekToTimeMs, mMediator.mCurrentPositionMs); in testOnCurrentPositionChangedInvalidInput()
67 long seekToTimeMs = System.currentTimeMillis() - REQUEST_TIMEOUT_MS * 3; in testOnCurrentPositionChangedValidInput() local
68 long newCurrentTimeMs = seekToTimeMs + REQUEST_TIMEOUT_MS - 1; in testOnCurrentPositionChangedValidInput()
69 mMediator.onSeekRequested(seekToTimeMs); in testOnCurrentPositionChangedValidInput()