Home
last modified time | relevance | path

Searched refs:errorPercent (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraErrorCollector.java442 float errorPercent) { in expectMeteringRegionsAreSimilar() argument
465 msg, expected[i].getRect(), actual[i].getRect(), errorPercent)) { in expectMeteringRegionsAreSimilar()
495 float errorPercent) { in expectRectsAreSimilar() argument
498 msg, expected, actual, errorPercent); in expectRectsAreSimilar()
502 errorPercent)) return false; in expectRectsAreSimilar()
506 errorPercent)) return false; in expectRectsAreSimilar()
510 errorPercent)) return false; in expectRectsAreSimilar()
514 actual.right, expected.right, errorPercent)) return false; in expectRectsAreSimilar()
518 errorPercent)) return false; in expectRectsAreSimilar()
522 errorPercent)) return false; in expectRectsAreSimilar()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DLinkBandwidthEstimator.java780 long errorPercent = 100L * (inKbps - bwSampleKbps) / bwSampleKbps; in calculateErrorPercent() local
781 return (int) Math.max(-MAX_ERROR_PERCENT, Math.min(errorPercent, MAX_ERROR_PERCENT)); in calculateErrorPercent()