Searched refs:errorMargin (Results 1 – 4 of 4) sorted by relevance
278 final long errorMargin = receivedTimeDelta - startTimeDelta; in testMultipleLowPriorityRateLimiting() local281 if (errorMargin < -startTimeDelta / 5 || errorMargin > startTimeDelta / 5 ) { in testMultipleLowPriorityRateLimiting()
1074 float errorMargin = FOCUS_DISTANCE_ERROR_PERCENT_UNCALIBRATED; in focusDistanceTestByCamera() local1077 errorMargin = FOCUS_DISTANCE_ERROR_PERCENT_CALIBRATED; in focusDistanceTestByCamera()1080 errorMargin = FOCUS_DISTANCE_ERROR_PERCENT_APPROXIMATE; in focusDistanceTestByCamera()1084 focusDistanceTestRepeating(requestBuilder, errorMargin); in focusDistanceTestByCamera()1089 focusDistanceTestBurst(requestBuilder, errorMargin); in focusDistanceTestByCamera()1094 float errorMargin) throws Exception { in focusDistanceTestRepeating() argument1127 errorMargin); in focusDistanceTestRepeating()1147 hyperFocalDistance * (1.0f - errorMargin), in focusDistanceTestRepeating()1148 hyperFocalDistance * (1.0f + errorMargin)); in focusDistanceTestRepeating()1154 float errorMargin) throws Exception { in focusDistanceTestBurst() argument[all …]
766 float errorMargin = 0.0f; in checkEnergyUSAC()768 errorMargin = 0.25f; in checkEnergyUSAC()770 errorMargin = 0.40f; in checkEnergyUSAC()790 if ((energyRatio > (1.0f + errorMargin) ) || (energyRatio < (1.0f - errorMargin) )) { in checkEnergyUSAC()
391 long oldStats, long newStats, int expectedDelta, double errorMargin) { in assertApproxEquals() argument393 assertTrue((expectedDelta * errorMargin) > newStats - oldStats); in assertApproxEquals()