Searched refs:doubleValue (Results 1 – 8 of 8) sorted by relevance
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | SensorCtsHelper.java | 87 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/ |
D | ProtoOutputStreamSwitchedWriteTest.java | 54 po.writeDouble(fieldId, val.doubleValue()); 152 po.write(fieldId, val.doubleValue()); in SWITCHED.add()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | HalfTest.java | 473 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()
|
D | RationalTest.java | 420 expected, object.doubleValue(), 0.0f); in verifyValueEquals()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ExifInterfaceTest.java | 249 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/ |
D | AbstractCursorTest.java | 603 return num.doubleValue(); in getDouble()
|
/cts/tools/dasm/src/dasm/ |
D | DAsm.java | 931 .doubleValue())); in addOpcode() 1311 .doubleValue())); in endFillArrayData()
|
/cts/tools/release-parser/tests/resources/ |
D | CtsJniTestCases.apk.pb.txt | 2660 name: "doubleValue"
|