Home
last modified time | relevance | path

Searched defs:tolerance (Results 1 – 22 of 22) sorted by relevance

/cts/common/device-side/util/src/com/android/compatibility/common/util/
DColorUtils.java34 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/
DColorUtils.java34 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/
DSweepGradientTest.java99 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
DBitmapTest.java784 int tolerance = 1; in testEraseColorLong() local
1153 int tolerance = 2; in testSetColorSpace() local
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
DSamplePointVerifier.java40 public SamplePointVerifier(Point[] testPoints, int[] expectedColors, int tolerance) { in SamplePointVerifier()
83 int tolerance, VerifyPixelColor verifier) { in create()
DRectVerifier.java32 public RectVerifier(int outerColor, int innerColor, Rect innerRect, int tolerance) { in RectVerifier()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/bitmapverifiers/
DSamplePointVerifier.java40 public SamplePointVerifier(Point[] testPoints, int[] expectedColors, int tolerance) { in SamplePointVerifier()
83 int tolerance, VerifyPixelColor verifier) { in create()
DRectVerifier.java32 public RectVerifier(int outerColor, int innerColor, Rect innerRect, int tolerance) { in RectVerifier()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DGetPasswordExpirationTest.java51 private void checkPasswordExpiration(String error, long timeout, long tolerance) { in checkPasswordExpiration()
/cts/tests/tests/media/src/android/media/cts/
DFaceDetector_FaceTest.java57 float tolerance = 5f; in testFaceProperties() local
DMediaRecorderTest.java747 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()
DMediaPlayerTest.java203 final int tolerance = 70; in testPlayAudioFromDataURI() local
406 final int tolerance = 70; in testPlayMidi() local
943 final int tolerance = 150; in testVideoSurfaceResetting() local
DMediaSyncTest.java441 final double tolerance = state.mMediaDurationUs in playAV() local
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dfloat16_gen.c122 void getErrorBar(unsigned short value, int tolerance, unsigned short bounds[2]) { in getErrorBar()
226 int tolerance) { in printReferenceOutput()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_MediaVulkanGpuTest.cpp38 bool fuzzyMatch(uint32_t value1, uint32_t value2, int32_t tolerance) { in fuzzyMatch()
/cts/tests/tests/view/src/android/view/cts/
DVelocityTrackerTest.java219 private void assertVelocity(float tolerance, String message) { in assertVelocity()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java276 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/
DCameraErrorCollector.java287 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/
DImageReaderTest.java631 double tolerance = IMAGE_DIFFERENCE_TOLERANCE; in testAllOutputYUVResolutions() local
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DRawConverter.java593 double tolerance = 0.0001; in findDngInterpolationFactor() local
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java1590 final int tolerance = 2; in testGetContentHeight() local
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2535 double tolerance = expected * EXIF_EXPOSURE_TIME_ERROR_MARGIN_RATIO; in verifyJpegExifExtraTags() local