Searched refs:toleranceMs (Results 1 – 2 of 2) sorted by relevance
324 float toleranceMs = RECORDED_DUR_TOLERANCE_FRAMES * (1000f / frameRate); in checkTracksAndDuration() local326 duration, targetMs, toleranceMs), in checkTracksAndDuration()327 duration <= targetMs + toleranceMs); in checkTracksAndDuration()490 private void testSetMaxDuration(long durationMs, long toleranceMs) throws Exception { in testSetMaxDuration() argument498 if (!mMaxDurationCond.block(durationMs + toleranceMs)) { in testSetMaxDuration()504 checkRecordedTime(durationMs, actualDurationMs, toleranceMs); in testSetMaxDuration()
1081 final int toleranceMs = 1000;1109 if (diff > toleranceMs) {1675 final int toleranceMs = 500;1688 " is over tolerance " + toleranceMs,1689 (posMs >= startMs - toleranceMs) &&1690 (posMs < startMs + durationMs + toleranceMs) );