Home
last modified time | relevance | path

Searched refs:isNaN (Results 1 – 25 of 25) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DPowerManager_ThermalTest.java133 if (Float.isNaN(headroom)) { in testGetThermalHeadroom()
142 assertFalse("Expected data to still be available", Float.isNaN(headroom)); in testGetThermalHeadroom()
150 assertTrue("Abusive calls get rate limited", Float.isNaN(headroom)); in testGetThermalHeadroom()
/cts/tests/tests/util/src/android/util/cts/
DHalfTest.java194 public void isNaN() { in isNaN() method in HalfTest
195 assertFalse(Half.isNaN(POSITIVE_INFINITY)); in isNaN()
196 assertFalse(Half.isNaN(NEGATIVE_INFINITY)); in isNaN()
197 assertFalse(Half.isNaN(POSITIVE_ZERO)); in isNaN()
198 assertFalse(Half.isNaN(NEGATIVE_ZERO)); in isNaN()
199 assertTrue(Half.isNaN(NaN)); in isNaN()
200 assertTrue(Half.isNaN((short) 0x7c01)); in isNaN()
201 assertTrue(Half.isNaN((short) 0x7c18)); in isNaN()
202 assertTrue(Half.isNaN((short) 0xfc01)); in isNaN()
203 assertTrue(Half.isNaN((short) 0xfc98)); in isNaN()
[all …]
DJsonReaderTest.java251 assertTrue(Double.isNaN(reader.nextDouble())); in testDoubles()
272 assertTrue(Double.isNaN(reader.nextDouble())); in testLenientDoubles()
DRationalTest.java447 verifyAction("NaN", object, expected, object.isNaN()); in verifyNaN()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFloat16Utils.java134 if (Double.isNaN(value) || Double.isInfinite(value)) { in roundToFloat16()
293 } else if (Double.isNaN(value)) { in convertDoubleToFloat16()
DFloatyUnitTest.java395 if (Double.isNaN(absoluteValue)) { in validateFloat16Ulp()
396 assertTrue("Ulp for NaN is not NaN", Double.isNaN(ulp)); in validateFloat16Ulp()
480 if (Double.isNaN(result[i]) && Double.isNaN(expected[i])) in validateRoundToFloat16()
DTarget.java344 if (Double.isNaN(f)) { in Floaty()
576 if (Double.isNaN(a)) { in couldBe()
DCoreMathVerifier.java3048 if (Float.isNaN(expected.remainder)) {
3050 if (!Float.isNaN(args.out)) {
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/float_to_double/
DTest_float_to_double.java80 assertTrue(Double.isNaN(t.run(Float.NaN))); in testB4()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/double_to_float/
DTest_double_to_float.java78 assertTrue(Float.isNaN(t.run(Double.NaN))); in testB4()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_float/
DTest_add_float.java63 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY, in testB2()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_float_2addr/
DTest_add_float_2addr.java63 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY, in testB2()
/cts/tests/tests/proto/src/android/util/proto/cts/
DProtoOutputStreamDoubleTest.java34 if (Double.isNaN(expected)) { in assertEquals()
35 if (!Double.isNaN(actual)) { in assertEquals()
DProtoOutputStreamFloatTest.java35 if (Float.isNaN(expected)) { in assertEquals()
36 if (!Float.isNaN(actual)) { in assertEquals()
/cts/libs/json/src/com/android/json/stream/
DJsonWriter.java314 if (Double.isNaN(value) || Double.isInfinite(value)) { in value()
/cts/tests/tests/display/src/android/display/cts/
DBrightnessTest.java404 assertFalse(Float.isNaN(event.luxValues[i]));
501 assertFalse(Float.isNaN(values[i])); in assertInRange()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DWavAnalyzer.java100 if (Double.isNaN(dB[i])) { in responsePassesHifiTest()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/
DGnssPseudorangeVerificationTest.java317 if (Double.isNaN(calculatedLatLngAlt[0])) { in testPseudoPosition()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedVectorDrawableParameterizedTest.java102 if (!Float.isNaN(sTransitionScaleBefore)) { in tearDownClass()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java469 if (((Float) keyValue).isInfinite() || ((Float) keyValue).isNaN()) { in serializeEntry()
DStaticMetadata.java1871 maxZoom >= 1.0f && !Float.isNaN(maxZoom) && !Float.isInfinite(maxZoom)); in getAvailableMaxDigitalZoomChecked()
/cts/tests/tests/graphics/src/android/graphics/text/cts/
DLineBreakerTest.java599 assertFalse(Float.isNaN(lw)); in testLineBreak_ZeroWidthTab()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java315 if (((Float)keyValue).isInfinite() || ((Float)keyValue).isNaN()) { in serializeEntry()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java2123 if (Float.isNaN(map[j]) || map[j] < 1.0f) { in verifyShadingMap()
/cts/tools/release-parser/tests/resources/
DCtsJniTestCases.apk.pb.txt2664 name: "isNaN"