Home
last modified time | relevance | path

Searched refs:epsilon (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/libs/math/tests/
Dmat_test.cpp420 TEST_MATRIX_INVERSE(m4, 20.0 * std::numeric_limits<TypeParam>::epsilon()); in TYPED_TEST()
421 TEST_MATRIX_INVERSE(m5, 20.0 * std::numeric_limits<TypeParam>::epsilon()); in TYPED_TEST()
453 TEST_MATRIX_INVERSE(m4, 20.0 * std::numeric_limits<TypeParam>::epsilon()); in TYPED_TEST()
454 TEST_MATRIX_INVERSE(m5, 20.0 * std::numeric_limits<TypeParam>::epsilon()); in TYPED_TEST()
477 TEST_MATRIX_INVERSE(m3, 20.0 * std::numeric_limits<TypeParam>::epsilon()); in TYPED_TEST()
478 TEST_MATRIX_INVERSE(m4, 20.0 * std::numeric_limits<TypeParam>::epsilon()); in TYPED_TEST()
543 static constexpr T value_eps = T(100) * std::numeric_limits<T>::epsilon(); in verifyOrthonormal()
635 TypeParam(1000) * std::numeric_limits<TypeParam>::epsilon(); in TYPED_TEST()
663 TypeParam(1000) * std::numeric_limits<TypeParam>::epsilon(); in TYPED_TEST()
Dquat_test.cpp275 static constexpr double value_eps = double(1000) * std::numeric_limits<double>::epsilon(); in TEST_F()
/frameworks/base/services/tests/servicestests/src/com/android/server/adb/
DAdbDebuggingManagerTest.java439 final long epsilon = 5000; in testKeystoreExpirationTimes() local
454 > epsilon) { in testKeystoreExpirationTimes()
465 if (Math.abs(delay - expectedValue) > epsilon) { in testKeystoreExpirationTimes()
477 if (Math.abs(expirationTime - newExpirationTime) > epsilon) { in testKeystoreExpirationTimes()
482 if (Math.abs(delay - newExpirationTime) > epsilon) { in testKeystoreExpirationTimes()
607 final long epsilon = 5000; in testUntrackedUserKeysAddedToKeystore() local
630 if (Math.abs(connectionTime - connectionTime) > epsilon) { in testUntrackedUserKeysAddedToKeystore()
/frameworks/base/core/java/com/android/internal/graphics/cam/
DCamUtils.java97 float epsilon = 216f / 24389f; in intFromLstar() local
100 boolean cubeExceedEpsilon = (fy * fy * fy) > epsilon; in intFromLstar()
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dnumeric.h90 const T& tol = std::numeric_limits<T>::epsilon()) {
96 const T& tol = std::numeric_limits<T>::epsilon()) {
/frameworks/native/libs/gui/tests/
DBLASTBufferQueue_test.cpp202 const auto epsilon = 3; in checkScreenCapture() local
224 ASSERT_GE(epsilon, abs(r - *(pixel))); in checkScreenCapture()
225 ASSERT_GE(epsilon, abs(g - *(pixel + 1))); in checkScreenCapture()
226 ASSERT_GE(epsilon, abs(b - *(pixel + 2))); in checkScreenCapture()
228 ASSERT_GE(epsilon, abs(r - *(pixel))); in checkScreenCapture()
229 ASSERT_GE(epsilon, abs(g - *(pixel + 1))); in checkScreenCapture()
230 ASSERT_GE(epsilon, abs(b - *(pixel + 2))); in checkScreenCapture()
/frameworks/native/libs/binder/tests/
DbinderTextOutputTest.cpp166 TypeParam eps = std::numeric_limits<TypeParam>::epsilon(); in TYPED_TEST()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dshared.rsh77 /* Absolute epsilon used for floats. Value is similar to float.h. */
/frameworks/base/core/tests/coretests/src/android/text/
DLayoutTest.java606 final float epsilon = 1.0f; in testGetCursorPath() local
611 assertTrue(bounds.top >= layout.getLineTop(i) - epsilon); in testGetCursorPath()
612 assertTrue(bounds.bottom <= layout.getLineBottom(i) + epsilon); in testGetCursorPath()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dshared.rsh96 /* Absolute epsilon used for floats. Value is similar to float.h. */
/frameworks/native/libs/math/include/math/
Dhalf.h199 …inline static constexpr type epsilon() noexcept { return android::half(android::half::binary, 0x14…
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dshared.rsh98 /* Absolute epsilon used for floats. Value is similar to float.h. */
/frameworks/av/media/libeffects/downmix/tests/
Ddownmix_tests.cpp69 abs((e) * std::numeric_limits<std::decay_t<decltype(e)>>::epsilon() * 8))
/frameworks/native/services/surfaceflinger/tests/
DLayerRenderTypeTransaction_test.cpp85 const float epsilon = 1.0f / 16.0f; in TEST_P() local
86 Transaction().setPosition(layer, 0.5f - epsilon, 0.5f - epsilon).apply(); in TEST_P()
92 Transaction().setPosition(layer, 0.5f + epsilon, 0.5f + epsilon).apply(); in TEST_P()