Home
last modified time | relevance | path

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

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrack_ListenerTest.java198 final int toleranceMs = isLowLatencyDevice() ? 80 : 100; in doTest() local
199 final int toleranceInFrames = toleranceMs * TEST_SR / 1000; in doTest()
DAudioTrackTest.java2353 final int toleranceMs = isLowLatencyDevice() ? 60 : 100; in testVariableRatePlayback() local
2354 final int toleranceInFrames = toleranceMs * sampleRate / 1000; in testVariableRatePlayback()
/cts/tests/tests/media/recorder/src/android/media/recorder/cts/
DMediaRecorderTest.java530 float toleranceMs = RECORDED_DUR_TOLERANCE_FRAMES * (1000f / frameRate); in checkTracksAndDuration() local
532 duration, targetMs, toleranceMs), in checkTracksAndDuration()
533 duration <= targetMs + toleranceMs); in checkTracksAndDuration()
801 private void testSetMaxDuration(long durationMs, long toleranceMs) throws Exception { in testSetMaxDuration() argument
809 if (!mMaxDurationCond.block(durationMs + toleranceMs)) { in testSetMaxDuration()
815 checkRecordedTime(durationMs, actualDurationMs, toleranceMs); in testSetMaxDuration()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java611 final int toleranceMs = 500;
625 " is over tolerance " + toleranceMs,
626 (posMs >= startMs - toleranceMs) &&
627 (posMs < startMs + durationMs + toleranceMs) );
1366 final int toleranceMs = 1000; in testPlaybackRate() local
1394 if (diff > toleranceMs) { in testPlaybackRate()