Home
last modified time | relevance | path

Searched refs:doubleValue (Results 1 – 8 of 8) 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.java538 assertEquals(12.57, Half.valueOf(12.57f).doubleValue(), 1e-3); in numberInterface()
545 assertEquals(-12.57, Half.valueOf(-12.57f).doubleValue(), 1e-3); in numberInterface()
552 assertTrue(+0.0 == Half.valueOf(POSITIVE_ZERO).doubleValue()); in numberInterface()
559 assertTrue(-0.0 == Half.valueOf(NEGATIVE_ZERO).doubleValue()); in numberInterface()
566 assertTrue(Double.POSITIVE_INFINITY == Half.valueOf(POSITIVE_INFINITY).doubleValue()); in numberInterface()
573 assertTrue(Double.NEGATIVE_INFINITY == Half.valueOf(NEGATIVE_INFINITY).doubleValue()); in numberInterface()
582 Double.doubleToRawLongBits(Half.valueOf(NaN).doubleValue())); in numberInterface()
DRationalTest.java420 expected, object.doubleValue(), 0.0f); in verifyValueEquals()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DExifInterfaceTest.java296 double doubleValue = exifInterface.getAttributeDouble(tag, 0.0); in assertFloatTag() local
297 assertEquals(expectedValue, doubleValue, DIFFERENCE_TOLERANCE); in assertFloatTag()
/cts/tests/tests/database/src/android/database/cts/
DAbstractCursorTest.java676 return num.doubleValue(); in getDouble()
/cts/tools/release-parser/tests/resources/
DCtsJniTestCases.apk.pb.txt2660 name: "doubleValue"
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt49911 method public double doubleValue();
50230 method public double doubleValue();