/cts/tests/tests/os/src/android/os/cts/ |
D | PowerManager_ThermalTest.java | 133 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/ |
D | HalfTest.java | 194 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 …]
|
D | JsonReaderTest.java | 251 assertTrue(Double.isNaN(reader.nextDouble())); in testDoubles() 272 assertTrue(Double.isNaN(reader.nextDouble())); in testLenientDoubles()
|
D | RationalTest.java | 447 verifyAction("NaN", object, expected, object.isNaN()); in verifyNaN()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | Float16Utils.java | 134 if (Double.isNaN(value) || Double.isInfinite(value)) { in roundToFloat16() 293 } else if (Double.isNaN(value)) { in convertDoubleToFloat16()
|
D | FloatyUnitTest.java | 395 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()
|
D | Target.java | 344 if (Double.isNaN(f)) { in Floaty() 576 if (Double.isNaN(a)) { in couldBe()
|
D | CoreMathVerifier.java | 3048 if (Float.isNaN(expected.remainder)) { 3050 if (!Float.isNaN(args.out)) {
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/float_to_double/ |
D | Test_float_to_double.java | 80 assertTrue(Double.isNaN(t.run(Float.NaN))); in testB4()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/double_to_float/ |
D | Test_double_to_float.java | 78 assertTrue(Float.isNaN(t.run(Double.NaN))); in testB4()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_float/ |
D | Test_add_float.java | 63 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY, in testB2()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_float_2addr/ |
D | Test_add_float_2addr.java | 63 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY, in testB2()
|
/cts/tests/tests/proto/src/android/util/proto/cts/ |
D | ProtoOutputStreamDoubleTest.java | 34 if (Double.isNaN(expected)) { in assertEquals() 35 if (!Double.isNaN(actual)) { in assertEquals()
|
D | ProtoOutputStreamFloatTest.java | 35 if (Float.isNaN(expected)) { in assertEquals() 36 if (!Float.isNaN(actual)) { in assertEquals()
|
/cts/libs/json/src/com/android/json/stream/ |
D | JsonWriter.java | 314 if (Double.isNaN(value) || Double.isInfinite(value)) { in value()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | BrightnessTest.java | 404 assertFalse(Float.isNaN(event.luxValues[i])); 501 assertFalse(Float.isNaN(values[i])); in assertInRange()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | WavAnalyzer.java | 100 if (Double.isNaN(dB[i])) { in responsePassesHifiTest()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/ |
D | GnssPseudorangeVerificationTest.java | 317 if (Double.isNaN(calculatedLatLngAlt[0])) { in testPseudoPosition()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableParameterizedTest.java | 102 if (!Float.isNaN(sTransitionScaleBefore)) { in tearDownClass()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraMetadataGetter.java | 469 if (((Float) keyValue).isInfinite() || ((Float) keyValue).isNaN()) { in serializeEntry()
|
D | StaticMetadata.java | 1871 maxZoom >= 1.0f && !Float.isNaN(maxZoom) && !Float.isInfinite(maxZoom)); in getAvailableMaxDigitalZoomChecked()
|
/cts/tests/tests/graphics/src/android/graphics/text/cts/ |
D | LineBreakerTest.java | 599 assertFalse(Float.isNaN(lw)); in testLineBreak_ZeroWidthTab()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 315 if (((Float)keyValue).isInfinite() || ((Float)keyValue).isNaN()) { in serializeEntry()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CaptureRequestTest.java | 2123 if (Float.isNaN(map[j]) || map[j] < 1.0f) { in verifyShadingMap()
|
/cts/tools/release-parser/tests/resources/ |
D | CtsJniTestCases.apk.pb.txt | 2664 name: "isNaN"
|