Searched refs:REQUEST_TIMEOUT_MS (Results 1 – 2 of 2) sorted by relevance
20 import static com.android.tv.TimeShiftManager.REQUEST_TIMEOUT_MS;48 long seekToTimeMs = System.currentTimeMillis() - REQUEST_TIMEOUT_MS * 3; in testOnSeekRequested()56 long seekToTimeMs = System.currentTimeMillis() - REQUEST_TIMEOUT_MS * 3; in testOnCurrentPositionChangedInvalidInput()57 long newCurrentTimeMs = seekToTimeMs + REQUEST_TIMEOUT_MS; in testOnCurrentPositionChangedInvalidInput()67 long seekToTimeMs = System.currentTimeMillis() - REQUEST_TIMEOUT_MS * 3; in testOnCurrentPositionChangedValidInput()68 long newCurrentTimeMs = seekToTimeMs + REQUEST_TIMEOUT_MS - 1; in testOnCurrentPositionChangedValidInput()
113 static final long REQUEST_TIMEOUT_MS = TimeUnit.SECONDS.toMillis(3); field in TimeShiftManager1300 boolean isValid = Math.abs(currentPositionMs - mCurrentPositionMs) < REQUEST_TIMEOUT_MS; in onCurrentPositionChanged()1301 boolean isTimeout = currentTimeMs > mSeekRequestTimeMs + REQUEST_TIMEOUT_MS; in onCurrentPositionChanged()