Searched refs:nextDouble (Results 1 – 10 of 10) 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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | LocationUtils.java | 46 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/ |
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/libs/json/src/com/android/json/stream/ |
D | JsonReader.java | 428 public double nextDouble() throws IOException { in nextDouble() method in JsonReader
|
/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorTest.java | 549 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/ |
D | PlatformInspectableProcessorTest.java | 332 mDouble = seed.nextDouble(); in PrimitivePropertiesTest()
|