Home
last modified time | relevance | path

Searched refs:doubleValue (Results 1 – 7 of 7) sorted by relevance

/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java93 sum += value.doubleValue(); in getMean()
109 double difference = mean - value.doubleValue(); in getVariance()
147 return 1000000000 / (TimeUnit.NANOSECONDS.convert(1, unit) * period.doubleValue()); in getFrequency()
154 return 1000000000 / (TimeUnit.NANOSECONDS.convert(1, unit) * frequency.doubleValue()); in getPeriod()
162 return Math.min(max.doubleValue(), Math.max(min.doubleValue(), val.doubleValue())); in clamp()
/cts/tests/tests/proto/src/android/util/proto/cts/
DProtoOutputStreamSwitchedWriteTest.java54 po.writeDouble(fieldId, val.doubleValue());
152 po.write(fieldId, val.doubleValue()); in SWITCHED.add()
/cts/tests/tests/util/src/android/util/cts/
DHalfTest.java512 assertEquals(12.57, Half.valueOf(12.57f).doubleValue(), 1e-3); in numberInterface()
519 assertEquals(-12.57, Half.valueOf(-12.57f).doubleValue(), 1e-3); in numberInterface()
526 assertTrue(+0.0 == Half.valueOf(POSITIVE_ZERO).doubleValue()); in numberInterface()
533 assertTrue(-0.0 == Half.valueOf(NEGATIVE_ZERO).doubleValue()); in numberInterface()
540 assertTrue(Double.POSITIVE_INFINITY == Half.valueOf(POSITIVE_INFINITY).doubleValue()); in numberInterface()
547 assertTrue(Double.NEGATIVE_INFINITY == Half.valueOf(NEGATIVE_INFINITY).doubleValue()); in numberInterface()
556 Double.doubleToRawLongBits(Half.valueOf(NaN).doubleValue())); in numberInterface()
DRationalTest.java420 expected, object.doubleValue(), 0.0f); in verifyValueEquals()
/cts/tests/tests/media/src/android/media/cts/
DExifInterfaceTest.java271 double doubleValue = exifInterface.getAttributeDouble(tag, 0.0); in assertFloatTag() local
272 assertEquals(expectedValue, doubleValue, DIFFERENCE_TOLERANCE); in assertFloatTag()
/cts/tests/tests/database/src/android/database/cts/
DAbstractCursorTest.java603 return num.doubleValue(); in getDouble()
/cts/tools/release-parser/tests/resources/
DCtsJniTestCases.apk.pb.txt2660 name: "doubleValue"