Home
last modified time | relevance | path

Searched refs:isInfinite (Results 1 – 11 of 11) sorted by relevance

/cts/tools/vm-tests-tf/src/dot/junit/opcodes/double_to_float/
DTest_double_to_float.java86 assertTrue(Float.isInfinite(t.run(Double.POSITIVE_INFINITY))); in testB5()
94 assertTrue(Float.isInfinite(t.run(Double.NEGATIVE_INFINITY))); in testB6()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/float_to_double/
DTest_float_to_double.java88 assertTrue(Double.isInfinite(t.run(Float.POSITIVE_INFINITY))); in testB5()
96 assertTrue(Double.isInfinite(t.run(Float.NEGATIVE_INFINITY))); in testB6()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DStandardDeviationVerification.java79 if (Float.isInfinite(currOperatingFreq)) { in getDefault()
83 if (currOperatingFreq > maxBandWidth && !Float.isInfinite(maxBandWidth)) { in getDefault()
87 if (currOperatingFreq < minBandWidth && !Float.isInfinite(minBandWidth)) { in getDefault()
/cts/tests/tests/util/src/android/util/cts/
DHalfTest.java165 public void isInfinite() { in isInfinite() method in HalfTest
166 assertTrue(Half.isInfinite(POSITIVE_INFINITY)); in isInfinite()
167 assertTrue(Half.isInfinite(NEGATIVE_INFINITY)); in isInfinite()
168 assertFalse(Half.isInfinite(POSITIVE_ZERO)); in isInfinite()
169 assertFalse(Half.isInfinite(NEGATIVE_ZERO)); in isInfinite()
170 assertFalse(Half.isInfinite(NaN)); in isInfinite()
171 assertFalse(Half.isInfinite(MAX_VALUE)); in isInfinite()
172 assertFalse(Half.isInfinite(LOWEST_VALUE)); in isInfinite()
173 assertFalse(Half.isInfinite(toHalf(-128.3f))); in isInfinite()
174 assertFalse(Half.isInfinite(toHalf(128.3f))); in isInfinite()
DRationalTest.java443 verifyAction("infinite", object, expected, object.isInfinite()); in verifyInfinite()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DRSUtils.java184 if (Double.isInfinite(minValueInHalf)) { in genRandomFloat16s()
187 if (Double.isInfinite(maxValueInHalf)) { in genRandomFloat16s()
DFloat16Utils.java134 if (Double.isNaN(value) || Double.isInfinite(value)) { in roundToFloat16()
/cts/libs/json/src/com/android/json/stream/
DJsonWriter.java314 if (Double.isNaN(value) || Double.isInfinite(value)) { in value()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java469 if (((Float) keyValue).isInfinite() || ((Float) keyValue).isNaN()) { in serializeEntry()
DStaticMetadata.java1813 maxZoom >= 1.0f && !Float.isNaN(maxZoom) && !Float.isInfinite(maxZoom)); in getAvailableMaxDigitalZoomChecked()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java315 if (((Float)keyValue).isInfinite() || ((Float)keyValue).isNaN()) { in serializeEntry()