Home
last modified time | relevance | path

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

/aosp12/packages/apps/TV/tests/unit/src/com/android/tv/
H A DCurrentPositionMediatorTest.java20 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()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DGbaManager.java63 public static final int REQUEST_TIMEOUT_MS = 5000; field in GbaManager
343 releaseServiceAsNeeded(REQUEST_TIMEOUT_MS); in processRequests()
/aosp12/packages/apps/TV/src/com/android/tv/
H A DTimeShiftManager.java122 @VisibleForTesting static final long REQUEST_TIMEOUT_MS = TimeUnit.SECONDS.toMillis(3); field in TimeShiftManager
1352 boolean isValid = Math.abs(currentPositionMs - mCurrentPositionMs) < REQUEST_TIMEOUT_MS; in onCurrentPositionChanged()
1353 boolean isTimeout = currentTimeMs > mSeekRequestTimeMs + REQUEST_TIMEOUT_MS; in onCurrentPositionChanged()