Searched refs:nextDouble (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/util/src/android/util/cts/ |
D | JsonReaderTest.java | 216 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/tests/tests/keystore/src/android/keystore/cts/ |
D | CountingSecureRandom.java | 77 public double nextDouble() { in nextDouble() method in CountingSecureRandom
|
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
D | RSUtils.java | 57 double mantissa = r.nextDouble(); in genRandomDoubles() 69 double rand = r.nextDouble(); in genRandomDoubles()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | RSUtils.java | 79 double mantissa = r.nextDouble(); in genRandomDoubles() 91 double rand = r.nextDouble(); in genRandomDoubles()
|
D | VLoadTest.java | 365 tmp[i] = random.nextDouble(); in testVload_double() 377 tmp[i] = random.nextDouble(); in testVload_double_relaxed()
|
D | GetSetTest.java | 284 t[i] = random.nextDouble(); in randomDoubleArray()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorTest.java | 444 long pts = (long) (randNum.nextDouble() * maxEstDuration); in isSeekOk() 751 long pts = (long) (mRandNum.nextDouble() * maxEstDuration); 775 indices[i] = (int) (mRandNum.nextDouble() * (MAX_SEEK_POINTS - 1) + 1);
|
/cts/libs/json/src/com/android/json/stream/ |
D | JsonReader.java | 428 public double nextDouble() throws IOException { in nextDouble() method in JsonReader
|
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/ |
D | PlatformInspectableProcessorTest.java | 332 mDouble = seed.nextDouble(); in PrimitivePropertiesTest()
|