/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 | BitmapFactoryTest.java | 248 public void testWebpStreamDecode(Config config, int tolerance) { in testWebpStreamDecode() 262 public void testWebpStreamEncode(Config config, int tolerance) { in testWebpStreamEncode() 280 final int tolerance = 72; in testDecodeStream5() local
|
D | BitmapTest.java | 985 int tolerance = 1; in testEraseColorLong() local 1354 int tolerance = 2; in testSetColorSpace() local
|
/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/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | RectVerifier.java | 32 public RectVerifier(int outerColor, int innerColor, Rect innerRect, int tolerance) { in RectVerifier()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ActivityManagerTest.java | 98 final double tolerance = 0.2d; in testActivityManager_appExitReasonPackageNames() local
|
/cts/tests/tests/media/src/android/media/cts/ |
D | FaceDetector_FaceTest.java | 58 float tolerance = 5f; in testFaceProperties() local
|
D | MediaRecorderTest.java | 778 private void checkRecordedTime(long expectedMs, long actualMs, long tolerance) { in checkRecordedTime() 797 long fileSize, long tolerance) throws Exception { in testSetMaxFileSize() 1016 long tolerance = 50 * 1024; in testRecordExceedFileSizeLimit() local 1167 private void checkOutputFileSize(final String fileName, long fileSize, long tolerance) { in checkOutputFileSize()
|
D | MediaPlayerTest.java | 219 final int tolerance = 70; in testPlayAudioFromDataURI() local 432 final int tolerance = 70; in runMidiTest() local 970 final int tolerance = 150; in testVideoSurfaceResetting() local
|
D | MediaSyncTest.java | 440 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 | 222 private void assertVelocity(float tolerance, String message) { in assertVelocity()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | NetworkUsageStatsTest.java | 279 NetworkCallback(long tolerance, URL url) { in NetworkCallback() 323 private boolean shouldTestThisNetworkType(int networkTypeIndex, final long tolerance) in shouldTestThisNetworkType()
|
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/ |
D | GlitchAnalyzer.h | 49 void setTolerance(double tolerance) { in setTolerance()
|
/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/media/jni/ |
D | NativeMuxerTest.cpp | 445 int tolerance = !strncmp(thisMime, "video/", strlen("video/")) ? STTS_TOLERANCE_US : 0; in isSubsetOf() local 455 int tolerance = in isSubsetOf() local
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ImageReaderTest.java | 692 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/media/src/android/mediav2/cts/ |
D | MuxerTest.java | 302 long tolerance = thisMime.startsWith("video/") ? STTS_TOLERANCE_US : 0; in isSubsetOf() local
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 3279 double tolerance = expected * EXIF_EXPOSURE_TIME_ERROR_MARGIN_RATIO; in verifyJpegExifExtraTags() local
|