Searched refs:epsilon (Results 1 – 14 of 14) sorted by relevance
/frameworks/native/libs/math/tests/ |
D | mat_test.cpp | 420 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()
|
D | quat_test.cpp | 275 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/ |
D | AdbDebuggingManagerTest.java | 439 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/ |
D | CamUtils.java | 97 float epsilon = 216f / 24389f; in intFromLstar() local 100 boolean cubeExceedEpsilon = (fy * fy * fy) > epsilon; in intFromLstar()
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | numeric.h | 90 const T& tol = std::numeric_limits<T>::epsilon()) { 96 const T& tol = std::numeric_limits<T>::epsilon()) {
|
/frameworks/native/libs/gui/tests/ |
D | BLASTBufferQueue_test.cpp | 202 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/ |
D | binderTextOutputTest.cpp | 166 TypeParam eps = std::numeric_limits<TypeParam>::epsilon(); in TYPED_TEST()
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | shared.rsh | 77 /* Absolute epsilon used for floats. Value is similar to float.h. */
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | LayoutTest.java | 606 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/ |
D | shared.rsh | 96 /* Absolute epsilon used for floats. Value is similar to float.h. */
|
/frameworks/native/libs/math/include/math/ |
D | half.h | 199 …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/ |
D | shared.rsh | 98 /* Absolute epsilon used for floats. Value is similar to float.h. */
|
/frameworks/av/media/libeffects/downmix/tests/ |
D | downmix_tests.cpp | 69 abs((e) * std::numeric_limits<std::decay_t<decltype(e)>>::epsilon() * 8))
|
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerRenderTypeTransaction_test.cpp | 85 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()
|