/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | ColorUtils.java | 34 public static void verifyColor(int expected, int observed, int tolerance) { in verifyColor() 46 public static void verifyColor(@NonNull String s, int expected, int observed, int tolerance) { in verifyColor() 72 int tolerance, IntUnaryOperator f) { in verifyChannel() 91 float tolerance) { in verifyColor() 107 float tolerance, Function<Color, Float> f) { in verifyChannel()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ColorUtils.java | 34 public static void verifyColor(int expected, int observed, int tolerance) { in verifyColor() 46 public static void verifyColor(@NonNull String s, int expected, int observed, int tolerance) { in verifyColor() 72 int tolerance, IntUnaryOperator f) { in verifyChannel() 91 float tolerance) { in verifyColor() 107 float tolerance, Function<Color, Float> f) { in verifyChannel()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | SweepGradientTest.java | 99 private void verifyColors(int[] colors, float[] positions, int tolerance) { in verifyColors() 141 assertEquals(Color.alpha(color), Color.alpha(pixel), tolerance); in verifyColors() local 142 assertEquals(Color.red(color), Color.red(pixel), tolerance); in verifyColors() local 143 assertEquals(Color.green(color), Color.green(pixel), tolerance); in verifyColors() local 144 assertEquals(Color.blue(color), Color.blue(pixel), tolerance); in verifyColors() local
|
D | BitmapTest.java | 784 int tolerance = 1; in testEraseColorLong() local 1153 int tolerance = 2; in testSetColorSpace() local
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | SamplePointVerifier.java | 40 public SamplePointVerifier(Point[] testPoints, int[] expectedColors, int tolerance) { in SamplePointVerifier() 83 int tolerance, VerifyPixelColor verifier) { in create()
|
D | RectVerifier.java | 32 public RectVerifier(int outerColor, int innerColor, Rect innerRect, int tolerance) { in RectVerifier()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/bitmapverifiers/ |
D | SamplePointVerifier.java | 40 public SamplePointVerifier(Point[] testPoints, int[] expectedColors, int tolerance) { in SamplePointVerifier() 83 int tolerance, VerifyPixelColor verifier) { in create()
|
D | RectVerifier.java | 32 public RectVerifier(int outerColor, int innerColor, Rect innerRect, int tolerance) { in RectVerifier()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | GetPasswordExpirationTest.java | 51 private void checkPasswordExpiration(String error, long timeout, long tolerance) { in checkPasswordExpiration()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | FaceDetector_FaceTest.java | 57 float tolerance = 5f; in testFaceProperties() local
|
D | MediaRecorderTest.java | 747 private void checkRecordedTime(long expectedMs, long actualMs, long tolerance) { in checkRecordedTime() 766 long fileSize, long tolerance) throws Exception { in testSetMaxFileSize() 981 long tolerance = 50 * 1024; in testRecordExceedFileSizeLimit() local 1119 private void checkOutputFileSize(final String fileName, long fileSize, long tolerance) { in checkOutputFileSize()
|
D | MediaPlayerTest.java | 203 final int tolerance = 70; in testPlayAudioFromDataURI() local 406 final int tolerance = 70; in testPlayMidi() local 943 final int tolerance = 150; in testVideoSurfaceResetting() local
|
D | MediaSyncTest.java | 441 final double tolerance = state.mMediaDurationUs in playAV() local
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | float16_gen.c | 122 void getErrorBar(unsigned short value, int tolerance, unsigned short bounds[2]) { in getErrorBar() 226 int tolerance) { in printReferenceOutput()
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_MediaVulkanGpuTest.cpp | 38 bool fuzzyMatch(uint32_t value1, uint32_t value2, int32_t tolerance) { in fuzzyMatch()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | VelocityTrackerTest.java | 219 private void assertVelocity(float tolerance, String message) { in assertVelocity()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | NetworkUsageStatsTest.java | 276 NetworkCallback(long tolerance, URL url) { in NetworkCallback() 304 private boolean shouldTestThisNetworkType(int networkTypeIndex, final long tolerance) in shouldTestThisNetworkType()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraErrorCollector.java | 287 public <T> boolean expectEquals(String msg, float expected, float actual, float tolerance) { in expectEquals() 310 public <T> boolean expectEquals(String msg, double expected, double actual, double tolerance) { in expectEquals()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ImageReaderTest.java | 631 double tolerance = IMAGE_DIFFERENCE_TOLERANCE; in testAllOutputYUVResolutions() local
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | RawConverter.java | 593 double tolerance = 0.0001; in findDngInterpolationFactor() local
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewTest.java | 1590 final int tolerance = 2; in testGetContentHeight() local
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 2535 double tolerance = expected * EXIF_EXPOSURE_TIME_ERROR_MARGIN_RATIO; in verifyJpegExifExtraTags() local
|