/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() {
|
/frameworks/volley/src/test/java/com/android/volley/utils/ |
CacheTestUtils.java | 26 entry.etag = String.valueOf(random.nextLong()); 27 entry.lastModified = random.nextLong();
|
/frameworks/base/core/java/com/android/internal/net/ |
NetworkStatsFactory.java | 111 entry.rxBytes = reader.nextLong(); 112 entry.rxPackets = reader.nextLong(); 113 entry.txBytes = reader.nextLong(); 114 entry.txPackets = reader.nextLong(); 118 entry.rxBytes += reader.nextLong(); 119 entry.rxPackets += reader.nextLong(); 120 entry.txBytes += reader.nextLong(); 121 entry.txPackets += reader.nextLong(); 166 entry.rxBytes = reader.nextLong(); 167 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...] |
/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...] |
/external/jetty/src/java/org/eclipse/jetty/server/session/ |
AbstractSessionIdManager.java | 144 :_random.nextLong(); 159 _random.setSeed(_random.nextLong()^System.currentTimeMillis()^request.hashCode()^Runtime.getRuntime().freeMemory()); 165 :_random.nextLong(); 216 _random.setSeed(_random.nextLong()^System.currentTimeMillis()^hashCode()^Runtime.getRuntime().freeMemory());
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timescale/ |
TimeScaleMonkeyTest.java | 67 value = ran.nextLong() % ranInt; 76 value = ran.nextLong();
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/ |
TimeScaleMonkeyTest.java | 63 value = ran.nextLong() % ranInt; 72 value = ran.nextLong();
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
VerifierDeviceIdentityTest.java | 141 public void setNextLong(long nextLong) { 142 mNextLong = nextLong; 146 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 | 82 final long key = r.nextLong(); 83 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 | 207 assertEquals(1L, reader.nextLong()); 345 assertEquals(0L, reader.nextLong()); 348 assertEquals(1L, reader.nextLong()); 351 assertEquals(-1L, reader.nextLong()); 359 assertEquals(Long.MIN_VALUE, reader.nextLong()); 365 assertEquals(Long.MAX_VALUE, reader.nextLong()); 366 assertEquals(5, reader.nextLong()); 367 assertEquals(100, reader.nextLong()); 368 assertEquals(11, reader.nextLong()); 369 assertEquals(5, reader.nextLong()); [all...] |
/external/guava/guava-tests/benchmark/com/google/common/math/ |
LessThanBenchmark.java | 58 xLongs[i] = random.nextLong() & NONNEGATIVE_LONG_MASK; 59 yLongs[i] = random.nextLong() & NONNEGATIVE_LONG_MASK;
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
SimpleTempStorage.java | 64 long n = Math.abs(random.nextLong()); 93 long n = Math.abs(random.nextLong());
|