Home
last modified time | relevance | path

Searched refs:nextDouble (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/util/src/android/util/cts/
DJsonReaderTest.java216 assertEquals(1.0, reader.nextDouble(), 0.0f); in testIntegersWithFractionalPartSpecified()
240 assertEquals(-0.0, reader.nextDouble(), 0.0f); in testDoubles()
241 assertEquals(1.0, reader.nextDouble(), 0.0f); in testDoubles()
242 assertEquals(1.7976931348623157E308, reader.nextDouble(), 0.0f); in testDoubles()
243 assertEquals(4.9E-324, reader.nextDouble(), 0.0f); in testDoubles()
244 assertEquals(0.0, reader.nextDouble(), 0.0f); in testDoubles()
245 assertEquals(-0.5, reader.nextDouble(), 0.0f); in testDoubles()
246 assertEquals(2.2250738585072014E-308, reader.nextDouble(), 0.0f); in testDoubles()
247 assertEquals(3.141592653589793, reader.nextDouble(), 0.0f); in testDoubles()
248 assertEquals(2.718281828459045, reader.nextDouble(), 0.0f); in testDoubles()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DLocationUtils.java46 MIN_LATITUDE + random.nextDouble() * (MAX_LATITUDE - MIN_LATITUDE), in createLocation()
47 MIN_LONGITUDE + random.nextDouble() * (MAX_LONGITUDE - MIN_LONGITUDE), in createLocation()
/cts/tests/tests/keystore/src/android/keystore/cts/
DCountingSecureRandom.java77 public double nextDouble() { in nextDouble() method in CountingSecureRandom
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/
DRSUtils.java57 double mantissa = r.nextDouble(); in genRandomDoubles()
69 double rand = r.nextDouble(); in genRandomDoubles()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DRSUtils.java79 double mantissa = r.nextDouble(); in genRandomDoubles()
91 double rand = r.nextDouble(); in genRandomDoubles()
DVLoadTest.java365 tmp[i] = random.nextDouble(); in testVload_double()
377 tmp[i] = random.nextDouble(); in testVload_double_relaxed()
DGetSetTest.java284 t[i] = random.nextDouble(); in randomDoubleArray()
/cts/libs/json/src/com/android/json/stream/
DJsonReader.java428 public double nextDouble() throws IOException { in nextDouble() method in JsonReader
/cts/tests/media/src/android/mediav2/cts/
DExtractorTest.java549 long pts = (long) (randNum.nextDouble() * maxEstDuration); in isSeekOk()
920 long pts = (long) (mRandNum.nextDouble() * maxEstDuration);
944 indices[i] = (int) (mRandNum.nextDouble() * (MAX_SEEK_POINTS - 1) + 1);
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DPlatformInspectableProcessorTest.java332 mDouble = seed.nextDouble(); in PrimitivePropertiesTest()