Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libdvrcommon/tests/
Dpose_test.cpp29 const auto tolerance = FT(0.0001); in TYPED_TEST() local
48 const auto tolerance = FT(0.0001); in TYPED_TEST() local
72 const auto tolerance = FT(0.0001); in TYPED_TEST() local
96 const auto tolerance = FT(0.0001); in TYPED_TEST() local
127 const auto tolerance = FT(0.0001); in TYPED_TEST() local
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/test/
Dtest_macros.h16 const A& expected, const B& actual, const T& tolerance) { in CmpArrayLikeFloatEq()
34 const A& expected, const B& actual, const T& tolerance) { in CmpMatrixLikeFloatEq()
54 const A& expected, const B& actual, const T& tolerance) { in CmpArrayLikeFloatNe()
72 const A& expected, const B& actual, const T& tolerance) { in CmpMatrixLikeFloatNe()
/frameworks/base/core/tests/utillib/src/android/test/
DBandwidthTestCase.java73 final int tolerance = runCount; in runTest() local
116 private void runMethod(Method runMethod, int tolerance, boolean isRepetitive) throws Throwable { in runMethod()
/frameworks/base/test-base/src/android/test/
DFlakyTest.java46 int tolerance() default 1; in tolerance() method
DInstrumentationTestCase.java188 final int tolerance = runCount; in runTest() local
210 private void runMethod(Method runMethod, int tolerance) throws Throwable { in runMethod()
214 private void runMethod(Method runMethod, int tolerance, boolean isRepetitive) throws Throwable { in runMethod()
/frameworks/base/test-base/hiddenapi/src/android/test/
DInstrumentationTestCase.java36 private void runMethod(Method runMethod, int tolerance) throws Throwable { in runMethod()
/frameworks/base/graphics/java/android/graphics/
DAvoidXfermode.java54 public AvoidXfermode(int opColor, int tolerance, Mode mode) { in AvoidXfermode()
/frameworks/base/tools/aapt/
DMain.cpp282 int tolerance = 0; in main() local
/frameworks/native/libs/gui/tests/
DGLTest.cpp178 int r, int g, int b, int a, int tolerance) { in checkPixel()
219 int tolerance) { in assertRectEq()
/frameworks/av/media/libaaudio/tests/
Dtest_flowgraph.cpp96 constexpr float tolerance = 0.0001f; // arbitrary in TEST() local
153 constexpr float tolerance = 0.000001f; // arbitrary in TEST() local
/frameworks/base/services/tests/servicestests/src/com/android/server/
DVector3Test.java28 private static final float tolerance = 1.0f / (1 << 12); field in Vector3Test
/frameworks/base/media/java/android/media/
DSyncParams.java231 public SyncParams setTolerance(float tolerance) { in setTolerance()
/frameworks/base/media/jni/
Dandroid_media_SyncParams.h41 jfieldID tolerance; member
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/cdc/
DFingerprintMixerTest.java140 float tolerance = 0.1f; in mix_randomlyDistributesBits() local
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DSGEMMTest.java84 float tolerance = allowedError * (l2NormOut < l2NormRef ? l2NormOut : l2NormRef); in testWithTolerance() local
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraErrorCollector.java293 public <T> boolean expectEquals(String msg, float expected, float actual, float tolerance) { in expectEquals()
316 public <T> boolean expectEquals(String msg, double expected, double actual, double tolerance) { in expectEquals()
DCameraTestUtils.java2105 double tolerance = expected * EXIF_EXPOSURE_TIME_ERROR_MARGIN_RATIO; in verifyJpegExifExtraTags() local
/frameworks/native/services/sensorservice/
Dmat.h308 static bool isPositiveSemidefinite(const mat<TYPE, C, C>& m, TYPE tolerance) { in isPositiveSemidefinite() argument
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java201 final int tolerance = 1; in testSetPixelsWithNonOpaqueAlpha() local
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp138 const Color& color, uint8_t tolerance) { in expectBufferColor()
249 void expectColor(const Rect& rect, const Color& color, uint8_t tolerance = 0) { in expectColor()
254 void expectBorder(const Rect& rect, const Color& color, uint8_t tolerance = 0) { in expectBorder()
293 uint8_t tolerance = 0) { in expectQuadrant()
1666 const uint8_t tolerance = 1; in TEST_P() local
1887 const uint8_t tolerance = 1; in TEST_P() local
1913 const uint8_t tolerance = 1; in TEST_P() local
3077 const uint8_t tolerance = 1; in TEST_P() local
3130 const uint8_t tolerance = 1; in TEST_P() local
3190 const uint8_t tolerance = 1; in TEST_P() local
/frameworks/native/libs/input/tests/
DVelocityTracker_test.cpp52 float tolerance = fabsf(target * fraction); in EXPECT_NEAR_BY_FRACTION() local