/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | StandardDeviationVerificationTest.java | 49 float[] threshold = {2, 2, 4}; in testVerify() local 50 runVerification(threshold, values, true, standardDeviations); in testVerify() 52 threshold = new float[]{1, 2, 4}; in testVerify() 53 runVerification(threshold, values, false, standardDeviations); in testVerify() 55 threshold = new float[]{2, 1, 4}; in testVerify() 56 runVerification(threshold, values, false, standardDeviations); in testVerify() 58 threshold = new float[]{2, 2, 3}; in testVerify() 59 runVerification(threshold, values, false, standardDeviations); in testVerify() 62 private void runVerification(float[] threshold, float[][] values, boolean pass, in runVerification() argument 65 StandardDeviationVerification verification = getVerification(threshold, values); in runVerification() [all …]
|
D | MagnitudeVerificationTest.java | 52 …private void runStats(float expected, float threshold, float[][] values, boolean pass, float magni… in runStats() argument 54 MagnitudeVerification verification = getVerification(expected, threshold, values); in runStats() 69 private static MagnitudeVerification getVerification(float expected, float threshold, in getVerification() argument 75 MagnitudeVerification verification = new MagnitudeVerification(expected, threshold); in getVerification()
|
D | OffsetVerificationTest.java | 97 private void runStats(float threshold, float[][] values, boolean pass) { in runStats() argument 99 OffsetVerification verification = getVerification(threshold, values); in runStats() 114 float threshold, float[] ... values) { in getVerification() argument 120 OffsetVerification verification = new OffsetVerification(threshold); in getVerification()
|
D | MagnitudeVerification.java | 57 public MagnitudeVerification(float expected, float threshold) { in MagnitudeVerification() argument 59 mThreshold = threshold; in MagnitudeVerification() 74 Float threshold = DEFAULTS.get(sensorType)[1]; in getDefault() local 75 return new MagnitudeVerification(expected, threshold); in getDefault()
|
D | StandardDeviationVerification.java | 59 public StandardDeviationVerification(float[] threshold) { in StandardDeviationVerification() argument 60 mThreshold = threshold; in StandardDeviationVerification()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/util/ |
D | CompareUtils.java | 9 public static boolean verifyPixelWithThreshold(int color, int expectedColor, int threshold) { in verifyPixelWithThreshold() argument 13 return diff <= threshold; in verifyPixelWithThreshold() 21 public static boolean verifyPixelGrayScale(int color, int threshold) { in verifyPixelGrayScale() argument 24 return Math.abs(Color.red(color) - average) <= threshold in verifyPixelGrayScale() 25 && Math.abs(Color.green(color) - average) <= threshold in verifyPixelGrayScale() 26 && Math.abs(Color.blue(color) - average) <= threshold; in verifyPixelGrayScale()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
D | CompareUtils.java | 9 public static boolean verifyPixelWithThreshold(int color, int expectedColor, int threshold) { in verifyPixelWithThreshold() argument 13 return diff <= threshold; in verifyPixelWithThreshold() 21 public static boolean verifyPixelGrayScale(int color, int threshold) { in verifyPixelGrayScale() argument 24 return Math.abs(Color.red(color) - average) <= threshold in verifyPixelGrayScale() 25 && Math.abs(Color.green(color) - average) <= threshold in verifyPixelGrayScale() 26 && Math.abs(Color.blue(color) - average) <= threshold; in verifyPixelGrayScale()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | SensorCalibratedUncalibratedVerifier.java | 45 float threshold) { in SensorCalibratedUncalibratedVerifier() argument 50 mThreshold = threshold; in SensorCalibratedUncalibratedVerifier() 74 float threshold) { in verifyMeasurements() argument 95 threshold); in verifyMeasurements() 111 float threshold) { in verifyCalibratedUncalibratedPair() argument 126 threshold); in verifyCalibratedUncalibratedPair() 127 Assert.assertEquals(message, calibrated, uncalibrated - bias, threshold); in verifyCalibratedUncalibratedPair()
|
/cts/tests/tests/location/src/android/location/cts/ |
D | GnssTtffTests.java | 66 private void checkTtffWarmWithWifiOn(long threshold) throws Exception { in checkTtffWarmWithWifiOn() argument 71 TimeUnit.SECONDS.toMillis(threshold), softAssert); in checkTtffWarmWithWifiOn() 81 private void checkTtffHotWithWifiOn(long threshold) throws Exception { in checkTtffHotWithWifiOn() argument 84 TimeUnit.SECONDS.toMillis(threshold), softAssert); in checkTtffHotWithWifiOn() 120 long threshold, SoftAssert softAssert) throws Exception { in checkTtffByThreshold() argument 147 softAssert.assertTrue("Test case: " + testName +", TTFF should be less than " + threshold in checkTtffByThreshold() 148 + " . In current test, TTFF value is: " + ttffTimeMillis, ttffTimeMillis < threshold); in checkTtffByThreshold()
|
D | GnssPseudorangeVerificationTest.java | 220 double threshold = PSEUDORANGE_THRESHOLD_IN_SEC; in validatePseudorange() local 225 threshold = PSEUDORANGE_THRESHOLD_BEIDOU_QZSS_IN_SEC; in validatePseudorange() 233 "0.0 <= deltaiSeconds <= " + String.valueOf(threshold), in validatePseudorange() 235 (deltaiSeconds >= 0.0 && deltaiSeconds <= threshold)); in validatePseudorange()
|
/cts/hostsidetests/theme/src/android/theme/cts/ |
D | ComparisonTask.java | 91 BufferedImage generated, int threshold) { in checkNeighbors() argument 105 if (Math.abs(db) <= threshold && in checkNeighbors() 106 Math.abs(dg) <= threshold && in checkNeighbors() 107 Math.abs(dr) <= threshold) { in checkNeighbors() 130 int threshold) { in compare() argument 148 if (Math.abs(db) > threshold || in compare() 149 Math.abs(dg) > threshold || in compare() 150 Math.abs(dr) > threshold) { in compare() 152 if (!checkNeighbors(i, j, reference, generated, threshold)) { in compare()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerMemoryInfoTest.java | 41 mMemory.threshold = THRESHOLD; in testWriteToParcel() 50 assertEquals(THRESHOLD, values.threshold); in testWriteToParcel() 66 mMemory.threshold = THRESHOLD; in testReadFromParcel() 75 assertEquals(THRESHOLD, result.threshold); in testReadFromParcel()
|
/cts/suite/audio_quality/test_description/processing/ |
D | playback_sample.py | 45 threshold = inputData[2] 49 print "Expected Freq ", signalFrequency, "Actual Freq ", freq, "Threshold % ", threshold 51 if (diff < threshold):
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | InstallUpdateTest.java | 165 private void setNonChargingBatteryThreshold(int threshold) { in setNonChargingBatteryThreshold() argument 168 + threshold); in setNonChargingBatteryThreshold() 175 private void setChargingBatteryThreshold(int threshold) { in setChargingBatteryThreshold() argument 178 + threshold); in setChargingBatteryThreshold()
|
/cts/apps/CameraITS/tests/scene1/ |
D | test_locked_burst.py | 83 threshold = SPREAD_THRESH_MANUAL_SENSOR \ 86 plane, spread, threshold) 87 assert spread < threshold, e_msg
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | ColorCountVerifier.java | 26 public ColorCountVerifier(int color, int count, int threshold) { in ColorCountVerifier() argument 29 mThreshold = threshold; in ColorCountVerifier()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | Correlation.java | 100 private boolean downsampleData(double [] data, double [] dataDownsampled, double threshold) { in downsampleData() argument 127 if (value >= threshold) { in downsampleData() 134 log(String.format(" Threshold: %.3f, ignored:%d/%d (%.2f)", threshold, ignored, N, in downsampleData()
|
D | WavAnalyzer.java | 19 private double threshold; // threshold of passing, drop off compared to 2000 kHz field in WavAnalyzer 114 threshold = dB[indexOf2000Hz] + Common.PASSING_THRESHOLD_DB; in responsePassesHifiTest() 119 if (Util.mean(responseInRange) < threshold) { in responsePassesHifiTest() 249 return threshold; in getThreshold()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | InfrastructureTests.java | 57 final float threshold = 0.1f; in testRenderSpecIsolation() 58 return !(new MSSIMComparer(threshold)).verifySame(ideal, given, offset, stride, in testRenderSpecIsolation()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | VirtualDisplayTest.java | 428 final int threshold = width * height / 4; in scanImage() local 429 if (bluePixels > threshold) { in scanImage() 433 if (greenPixels > threshold) { in scanImage() 437 if (blackPixels > threshold) { in scanImage()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
D | MSSIMComparer.java | 39 public MSSIMComparer(double threshold) { in MSSIMComparer() argument 40 mThreshold = threshold; in MSSIMComparer()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyTest.java | 777 int bottomLeft, int bottomRight, int threshold) { in assertBitmapQuadColor() argument 780 threshold)); in assertBitmapQuadColor() 782 threshold)); in assertBitmapQuadColor() 784 threshold)); in assertBitmapQuadColor() 786 threshold)); in assertBitmapQuadColor() 809 private boolean pixelsAreSame(int ideal, int given, int threshold) { in pixelsAreSame() argument 813 return (error < threshold); in pixelsAreSame()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DynamicsProcessingTest.java | 963 final float threshold = index * (-12.8f); in test2_7Mbc() local 976 mbcBand.setThreshold(threshold); in test2_7Mbc() 996 threshold, mbc.getBand(i).getThreshold(), EPSILON); in test2_7Mbc() 1010 threshold, kneeWidth, noiseGateThreshold, expanderRatio, preGain, postGain); in test2_7Mbc() 1022 threshold, mbcBand2.getThreshold(), EPSILON); in test2_7Mbc() 1047 final float threshold = (-12.8f); in test2_8Limiter() local 1051 threshold, postGain); in test2_8Limiter() 1064 threshold, limiter.getThreshold(), EPSILON); in test2_8Limiter() 1074 final float newThreshold = threshold - 20f; in test2_8Limiter()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | FadeTest.java | 219 private static void verifySimilar(Bitmap expected, Bitmap real, double threshold) { in verifySimilar() argument 247 assertTrue(ssimTotal >= threshold); in verifySimilar()
|
/cts/tools/release-parser/tests/resources/ |
D | build.prop | 56 dalvik.vm.lockprof.threshold=500
|