/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 | MeanVerificationTest.java | 46 float[] threshold = {0.1f, 0.1f, 0.1f}; in testVerify() local 48 MeanVerification verification = getVerification(expected, threshold, values); in testVerify() 53 threshold = new float[]{0.6f, 0.6f, 0.6f}; in testVerify() 55 verification = getVerification(expected, threshold, values); in testVerify() 60 threshold = new float[]{0.1f, 0.6f, 0.6f}; in testVerify() 62 verification = getVerification(expected, threshold, values); in testVerify() 72 threshold = new float[]{0.6f, 0.1f, 0.6f}; in testVerify() 74 verification = getVerification(expected, threshold, values); in testVerify() 83 threshold = new float[]{0.6f, 0.6f, 0.1f}; in testVerify() 85 verification = getVerification(expected, threshold, values); in testVerify() [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 | 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 | MeanVerification.java | 51 public MeanVerification(float[] expected, float[] threshold) { in MeanVerification() argument 53 mThreshold = threshold; in MeanVerification() 68 float[] threshold = (float[]) DEFAULTS.get(sensorType)[1]; in getDefault() local 69 return new MeanVerification(expected, threshold); in getDefault()
|
D | StandardDeviationVerification.java | 59 public StandardDeviationVerification(float[] threshold) { in StandardDeviationVerification() argument 60 mThreshold = threshold; in StandardDeviationVerification()
|
/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 | 62 private void checkTtffWarmWithWifiOn(long threshold) throws Exception { in checkTtffWarmWithWifiOn() argument 67 TimeUnit.SECONDS.toMillis(threshold), softAssert); in checkTtffWarmWithWifiOn() 77 private void checkTtffHotWithWifiOn(long threshold) throws Exception { in checkTtffHotWithWifiOn() argument 80 TimeUnit.SECONDS.toMillis(threshold), softAssert); in checkTtffHotWithWifiOn() 116 long threshold, SoftAssert softAssert) throws Exception { in checkTtffByThreshold() argument 143 softAssert.assertTrue("Test case: " + testName +", TTFF should be less than " + threshold in checkTtffByThreshold() 144 + " . In current test, TTFF value is: " + ttffTimeMillis, ttffTimeMillis < threshold); in checkTtffByThreshold()
|
D | GnssPseudorangeVerificationTest.java | 187 double threshold = PSEUDORANGE_THRESHOLD_IN_SEC; in validatePseudorange() local 192 threshold = PSEUDORANGE_THRESHOLD_BEIDOU_QZSS_IN_SEC; in validatePseudorange() 200 "0.0 <= deltaiSeconds <= " + String.valueOf(threshold), in validatePseudorange() 202 (deltaiSeconds >= 0.0 && deltaiSeconds <= threshold)); in validatePseudorange()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerMemoryInfoTest.java | 40 mMemory.threshold = THRESHOLD; in testWriteToParcel() 49 assertEquals(THRESHOLD, values.threshold); in testWriteToParcel() 65 mMemory.threshold = THRESHOLD; in testReadFromParcel() 74 assertEquals(THRESHOLD, result.threshold); in testReadFromParcel()
|
D | ActivityManagerTest.java | 318 assertTrue(outInfo.lowMemory == (outInfo.availMem <= outInfo.threshold)); in testGetMemoryInfo()
|
/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/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/hostsidetests/theme/src/android/theme/cts/ |
D | ComparisonTask.java | 101 int threshold) { in compare() argument 120 if (Math.abs(db) > threshold || in compare() 121 Math.abs(dg) > threshold || in compare() 122 Math.abs(dr) > threshold) { in compare()
|
/cts/apps/CameraITS/tests/scene1/ |
D | test_locked_burst.py | 74 threshold = SPREAD_THRESH_MANUAL_SENSOR \ 76 assert(spread < threshold)
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | InfrastructureTests.java | 65 final float threshold = 0.1f; in testRenderSpecIsolation() 66 return !(new MSSIMComparer(threshold)).verifySame(ideal, given, offset, stride, in testRenderSpecIsolation()
|
/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/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/view/src/android/view/cts/ |
D | PixelCopyTest.java | 477 int bottomLeft, int bottomRight, int threshold) { in assertBitmapQuadColor() argument 480 threshold)); in assertBitmapQuadColor() 482 threshold)); in assertBitmapQuadColor() 484 threshold)); in assertBitmapQuadColor() 486 threshold)); in assertBitmapQuadColor() 509 private boolean pixelsAreSame(int ideal, int given, int threshold) { in pixelsAreSame() argument 513 return (error < threshold); in pixelsAreSame()
|
/cts/apps/CameraITS/tests/scene4/ |
D | test_aspect_ratio_and_crop.py | 271 ret3, img_bw = cv2.threshold(np.uint8(img_gray), 0, 255,
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapColorSpaceTest.java | 729 @ColorInt int pixel, int threshold, int index) { in almostEqual() argument 735 boolean pass = diffA + diffR + diffG + diffB < threshold; in almostEqual()
|
/cts/tests/libcore/javautilcollections/libs/ |
D | guava-20.0.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |