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