HomeSort by relevance Sort by last modified time
    Searched refs:nextLong (Results 1 - 25 of 249) sorted by null

1 2 3 4 5 6 7 8 910

  /external/apache-commons-math/src/main/java/org/apache/commons/math/random/
RandomGenerator.java 102 long nextLong();
RandomData.java 83 long nextLong(long lower, long upper);
132 * <code>nextLong</code> should be used instead of this method.</p>
RandomAdaptor.java 172 public long nextLong() {
173 return randomGenerator.nextLong();
AbstractRandomGenerator.java 178 public long nextLong() {
  /external/volley/src/test/java/com/android/volley/utils/
CacheTestUtils.java 40 entry.etag = String.valueOf(random.nextLong());
41 entry.lastModified = random.nextLong();
  /frameworks/base/core/java/com/android/internal/net/
NetworkStatsFactory.java 180 entry.rxBytes = reader.nextLong();
181 entry.rxPackets = reader.nextLong();
182 entry.txBytes = reader.nextLong();
183 entry.txPackets = reader.nextLong();
187 entry.rxBytes += reader.nextLong();
188 entry.rxPackets += reader.nextLong();
189 entry.txBytes += reader.nextLong();
190 entry.txPackets += reader.nextLong();
238 entry.rxBytes = reader.nextLong();
239 entry.rxPackets = reader.nextLong();
    [all...]
  /frameworks/base/core/tests/utiltests/src/com/android/internal/util/
ProcFileReaderTest.java 121 assertEquals(1, reader.nextLong());
122 assertEquals(-1024, reader.nextLong());
123 assertEquals(Long.MAX_VALUE, reader.nextLong());
124 assertEquals(Long.MIN_VALUE, reader.nextLong());
145 assertEquals(1, reader.nextLong());
158 assertEquals(123L, reader.nextLong());
  /libcore/ojluni/src/main/java/java/util/
PrimitiveIterator.java 168 long nextLong();
180 * action.accept(nextLong());
189 action.accept(nextLong());
196 * {@link #nextLong()}, and returns that boxed result.
201 Tripwire.trip(getClass(), "{0} calling PrimitiveIterator.OfLong.nextLong()");
202 return nextLong();
274 Tripwire.trip(getClass(), "{0} calling PrimitiveIterator.OfDouble.nextLong()");
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeyEventQueue.java 45 throttle = mRandom.nextLong();
  /libcore/jsr166-tests/src/test/java/jsr166/
ThreadLocalRandomTest.java 71 * Repeated calls to nextLong produce at least two distinct results
74 long f = ThreadLocalRandom.current().nextLong();
76 while (i < NCALLS && ThreadLocalRandom.current().nextLong() == f)
198 * nextLong(non-positive) throws IllegalArgumentException
204 rnd.nextLong(bound);
211 * nextLong(least >= bound) throws IllegalArgumentException
222 rnd.nextLong(badBounds[0], badBounds[1]);
229 * nextLong(bound) returns 0 <= value < bound;
234 long f = ThreadLocalRandom.current().nextLong(bound);
239 (j = ThreadLocalRandom.current().nextLong(bound)) == f)
    [all...]
  /libcore/ojluni/src/test/java/time/jdk/testlibrary/
RandomFactory.java 60 return new Random().nextLong();
  /external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
CpuMonitor.java 250 number = scannerC.nextLong();
278 long user = scanner.nextLong();
279 long nice = scanner.nextLong();
280 long sys = scanner.nextLong();
282 idleTime = scanner.nextLong();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
RandomTest.java 209 * java.util.Random#nextLong()
212 // Test for method long java.util.Random.nextLong()
213 long lastNum = r.nextLong();
217 nextNum = r.nextLong();
222 assertTrue("Calling nextLong 100 times resulted in same number",
244 random1Values[i] = random1.nextLong();
245 random2Values[i] = random2.nextLong();
246 random3Values[i] = random3.nextLong();
256 random3Values[i] = random3.nextLong();
295 mr.nextLong();
    [all...]
ScannerTest.java     [all...]
  /platform_testing/libraries/longevity/src/android/longevity/core/scheduler/
Shuffle.java 40 Long.parseLong(args.get(SEED_OPTION_NAME)) : new Random().nextLong();
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timescale/
TimeScaleMonkeyTest.java 73 value = ran.nextLong() % ranInt;
82 value = ran.nextLong();
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/
TimeScaleMonkeyTest.java 70 value = ran.nextLong() % ranInt;
79 value = ran.nextLong();
  /frameworks/base/core/tests/coretests/src/android/content/pm/
VerifierDeviceIdentityTest.java 143 public void setNextLong(long nextLong) {
144 mNextLong = nextLong;
148 public long nextLong() {
  /external/guava/guava-tests/benchmark/com/google/common/primitives/
UnsignedLongsBenchmark.java 118 return RANDOM_SOURCE.nextLong();
127 long r = RANDOM_SOURCE.nextLong();
  /external/nist-sip/java/gov/nist/javax/sip/
Utils.java 138 + rand.nextLong());
173 long num = rand.nextLong() + Utils.counter++ + System.currentTimeMillis();
  /frameworks/base/core/java/com/android/internal/util/
ProcFileReader.java 161 public long nextLong() throws IOException {
222 final long value = nextLong();
  /frameworks/base/core/tests/coretests/src/android/util/
LongSparseLongArrayTest.java 85 final long key = r.nextLong();
86 final long value = r.nextLong();
  /cts/tests/tests/keystore/src/android/keystore/cts/
CountingSecureRandom.java 102 public long nextLong() {
  /cts/tests/tests/util/src/android/util/cts/
JsonReaderTest.java 217 assertEquals(1L, reader.nextLong());
362 assertEquals(0L, reader.nextLong());
365 assertEquals(1L, reader.nextLong());
368 assertEquals(-1L, reader.nextLong());
376 assertEquals(Long.MIN_VALUE, reader.nextLong());
382 assertEquals(Long.MAX_VALUE, reader.nextLong());
383 assertEquals(5, reader.nextLong());
384 assertEquals(100, reader.nextLong());
385 assertEquals(11, reader.nextLong());
386 assertEquals(5, reader.nextLong());
    [all...]
  /frameworks/support/collection/ktx/src/test/java/androidx/collection/
LongSparseArrayTest.kt 165 assertEquals(1L, iterator.nextLong())
167 assertEquals(2L, iterator.nextLong())
169 assertEquals(6L, iterator.nextLong())

Completed in 1051 milliseconds

1 2 3 4 5 6 7 8 910