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.java87 sum += value.doubleValue(); in getMean()
103 double difference = mean - value.doubleValue(); in getVariance()
141 return 1000000000 / (TimeUnit.NANOSECONDS.convert(1, unit) * period.doubleValue()); in getFrequency()
148 return 1000000000 / (TimeUnit.NANOSECONDS.convert(1, unit) * frequency.doubleValue()); in getPeriod()
156 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.java473 assertEquals(12.57, Half.valueOf(12.57f).doubleValue(), 1e-3); in numberInterface()
480 assertEquals(-12.57, Half.valueOf(-12.57f).doubleValue(), 1e-3); in numberInterface()
487 assertTrue(+0.0 == Half.valueOf(POSITIVE_ZERO).doubleValue()); in numberInterface()
494 assertTrue(-0.0 == Half.valueOf(NEGATIVE_ZERO).doubleValue()); in numberInterface()
501 assertTrue(Double.POSITIVE_INFINITY == Half.valueOf(POSITIVE_INFINITY).doubleValue()); in numberInterface()
508 assertTrue(Double.NEGATIVE_INFINITY == Half.valueOf(NEGATIVE_INFINITY).doubleValue()); in numberInterface()
517 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.java249 double doubleValue = exifInterface.getAttributeDouble(tag, 0.0); in assertFloatTag() local
250 assertEquals(expectedValue, doubleValue, DIFFERENCE_TOLERANCE); in assertFloatTag()
/cts/tests/tests/database/src/android/database/cts/
DAbstractCursorTest.java603 return num.doubleValue(); in getDouble()
/cts/tools/dasm/src/dasm/
DDAsm.java931 .doubleValue())); in addOpcode()
1311 .doubleValue())); in endFillArrayData()
/cts/tools/release-parser/tests/resources/
DCtsJniTestCases.apk.pb.txt2660 name: "doubleValue"