/cts/tests/tests/os/src/android/os/cts/ |
D | PowerManager_ThermalTest.java | 152 if (Float.isNaN(headroom)) { in testGetThermalHeadroom() 161 assertFalse("Expected data to still be available", Float.isNaN(headroom)); in testGetThermalHeadroom() 169 assertTrue("Abusive calls get rate limited", Float.isNaN(headroom)); in testGetThermalHeadroom() 178 if (Float.isNaN(headroom)) { in testGetThermalHeadroomThresholds() 197 assertFalse(Float.isNaN(thresholds.get(status))); in testGetThermalHeadroomThresholds()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | HalfTest.java | 220 public void isNaN() { in isNaN() method in HalfTest 221 assertFalse(Half.isNaN(POSITIVE_INFINITY)); in isNaN() 222 assertFalse(Half.isNaN(NEGATIVE_INFINITY)); in isNaN() 223 assertFalse(Half.isNaN(POSITIVE_ZERO)); in isNaN() 224 assertFalse(Half.isNaN(NEGATIVE_ZERO)); in isNaN() 225 assertTrue(Half.isNaN(NaN)); in isNaN() 226 assertTrue(Half.isNaN((short) 0x7c01)); in isNaN() 227 assertTrue(Half.isNaN((short) 0x7c18)); in isNaN() 228 assertTrue(Half.isNaN((short) 0xfc01)); in isNaN() 229 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()
|
/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/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/add_float_2addr/ |
D | Test_add_float_2addr.java | 63 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY, in testB2()
|
/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/tests/camera/src/android/hardware/camera2/cts/ |
D | ZoomCaptureTest.java | 273 if ((!Float.isNaN(lastZoomRatio)) && (zoomRatio > lastZoomRatio)) { in bufferFormatZoomTestByCamera() 277 if (!Float.isNaN(lastFocalLength)) { in bufferFormatZoomTestByCamera()
|
/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/vibrator/src/android/os/cts/ |
D | VibratorTest.java | 352 float sustainFrequency = Float.isNaN(resonantFrequency) in testVibrateWaveformWithFrequencyStartsAndFinishesVibration() 503 if (!Float.isNaN(resonantFrequency)) { in testVibratorResonantFrequency() 547 if (!Float.isNaN(resonantFrequency)) { in testVibratorFrequencyProfileSupportedFrequencyRange()
|
D | VibratorManagerTest.java | 230 float sustainFrequency = Float.isNaN(resonantFrequency) in testCombinedVibrationWaveformWithFrequencyStartsAndFinishesVibration()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/ |
D | GnssPseudorangeVerificationTest.java | 320 if (Double.isNaN(calculatedLatLngAlt[0])) { in testPseudoPosition()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | WavAnalyzer.java | 102 if (Double.isNaN(dB[i])) { in responsePassesHifiTest()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | BrightnessTest.java | 504 assertFalse(Float.isNaN(event.luxValues[i])); in assertValidLuxData() 613 assertFalse(Float.isNaN(values[i])); in assertInRange()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableParameterizedTest.java | 109 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()
|
/cts/tests/tests/graphics/src/android/graphics/text/cts/ |
D | LineBreakerTest.java | 821 assertFalse(Float.isNaN(lw)); in testLineBreak_ZeroWidthTab()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 2177 if (!Double.isNaN(zoomRatio)) { 2277 if (!Double.isNaN(zoomRatio)) { 3067 zoomRatio = (Double.isNaN(zoomRatio)) ? cmdObj.optDouble("zoomStart") : zoomRatio; 3570 if (!Double.isNaN(zoomRatio)) { 3725 if (!Double.isNaN(zoomRatio)) {
|
D | ItsSerializer.java | 335 if (((Float)keyValue).isInfinite() || ((Float)keyValue).isNaN()) { in serializeEntry()
|