/frameworks/volley/tests/src/com/android/volley/utils/ |
CacheTestUtils.java | 26 entry.etag = String.valueOf(random.nextLong()); 27 entry.serverDate = 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...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ThreadLocalRandom.java | 129 public long nextLong(long n) { 159 public long nextLong(long least, long bound) { 162 return nextLong(bound - least) + least;
|
/frameworks/base/core/tests/coretests/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());
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyEventQueue.java | 45 throttle = mRandom.nextLong();
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
ThreadLocalRandomTest.java | 57 * Repeated calls to nextLong produce at least one different result 60 long f = ThreadLocalRandom.current().nextLong(); 62 while (i < NCALLS && ThreadLocalRandom.current().nextLong() == f) 173 * nextLong(negative) throws IllegalArgumentException; 177 long f = ThreadLocalRandom.current().nextLong(-17); 183 * nextLong(least >= bound) throws IllegalArgumentException; 187 long f = ThreadLocalRandom.current().nextLong(17, 2); 193 * nextLong(bound) returns 0 <= value < bound; 198 long f = ThreadLocalRandom.current().nextLong(bound); 203 (j = ThreadLocalRandom.current().nextLong(bound)) == f) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
RandomTest.java | 197 * java.util.Random#nextLong() 200 // Test for method long java.util.Random.nextLong() 201 long lastNum = r.nextLong(); 205 nextNum = r.nextLong(); 210 assertTrue("Calling nextLong 100 times resulted in same number", 229 aLong = aRandom.nextLong(); 230 anotherLong = anotherRandom.nextLong(); 232 "Two randoms with same seeds gave differing nextLong values", 234 yetAnotherLong = yetAnotherRandom.nextLong(); 246 aRandom.nextLong() == randomArray[counter]) [all...] |
ScannerTest.java | [all...] |
/external/smack/src/com/kenai/jbosh/ |
RequestIDSequence.java | 112 result = RAND.nextLong() & MASK;
|
/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/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();
|
/external/guava/guava-tests/test/com/google/common/hash/ |
HashingTest.java | 47 checkConsistentHashCorrectness(r.nextLong()); 66 countRemaps(r.nextLong(), map); 147 hashCodes.add(HashCodes.fromLong(random.nextLong())); 196 hashCodes.add(HashCodes.fromLong(random.nextLong()));
|
/libcore/luni/src/main/java/java/util/ |
Random.java | 198 public long nextLong() {
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
SecureRandom2Test.java | 315 assertTrue(sr1.nextLong() == sr2.nextLong()); 335 assertEquals(6180693691264871500l, sr1.nextLong()); 351 assertTrue(6180693691264871500l != sr1.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/test/com/google/common/primitives/ |
UnsignedLongsTest.java | 84 long dividend = r.nextLong(); 85 long divisor = r.nextLong();
|
/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());
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
DefaultVideoPosterRequestHandler.java | 107 String path = String.valueOf(randomGenerator.nextLong());
|
/frameworks/base/core/java/android/content/pm/ |
VerifierDeviceIdentity.java | 90 long identity = rng.nextLong();
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
RSUtils.java | 154 array[i] = (int) (min + r.nextLong() % range); 169 long l = r.nextLong();
|
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
RSUtils.java | 154 array[i] = (int) (min + r.nextLong() % range); 169 long l = r.nextLong();
|
/cts/libs/json/src/com/android/json/stream/ |
JsonReader.java | 112 * id = reader.nextLong(); 449 public long nextLong() throws IOException { [all...] |
/cts/libs/vogar-expect/src/vogar/ |
ExpectationStore.java | 174 buganizerBug = reader.nextLong();
|