Searched refs:toleranceMs (Results 1 – 4 of 4) sorted by relevance
198 final int toleranceMs = isLowLatencyDevice() ? 80 : 100; in doTest() local199 final int toleranceInFrames = toleranceMs * TEST_SR / 1000; in doTest()
2353 final int toleranceMs = isLowLatencyDevice() ? 60 : 100; in testVariableRatePlayback() local2354 final int toleranceInFrames = toleranceMs * sampleRate / 1000; in testVariableRatePlayback()
530 float toleranceMs = RECORDED_DUR_TOLERANCE_FRAMES * (1000f / frameRate); in checkTracksAndDuration() local532 duration, targetMs, toleranceMs), in checkTracksAndDuration()533 duration <= targetMs + toleranceMs); in checkTracksAndDuration()801 private void testSetMaxDuration(long durationMs, long toleranceMs) throws Exception { in testSetMaxDuration() argument809 if (!mMaxDurationCond.block(durationMs + toleranceMs)) { in testSetMaxDuration()815 checkRecordedTime(durationMs, actualDurationMs, toleranceMs); in testSetMaxDuration()
611 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() local1394 if (diff > toleranceMs) { in testPlaybackRate()