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

1 2

  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
RandomTest.java 195 * @tests java.util.Random#nextLong()
198 // Test for method long java.util.Random.nextLong()
199 long lastNum = r.nextLong();
203 nextNum = r.nextLong();
208 assertTrue("Calling nextLong 100 times resulted in same number",
227 aLong = aRandom.nextLong();
228 anotherLong = anotherRandom.nextLong();
230 "Two randoms with same seeds gave differing nextLong values",
232 yetAnotherLong = yetAnotherRandom.nextLong();
244 aRandom.nextLong() == randomArray[counter])
    [all...]
ScannerTest.java     [all...]
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeyEventQueue.java 45 throttle = mRandom.nextLong();
  /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());
  /libcore/luni/src/test/java/tests/api/java/util/
RandomTest.java 195 * java.util.Random#nextLong()
198 // Test for method long java.util.Random.nextLong()
199 long lastNum = r.nextLong();
203 nextNum = r.nextLong();
208 assertTrue("Calling nextLong 100 times resulted in same number",
227 aLong = aRandom.nextLong();
228 anotherLong = anotherRandom.nextLong();
230 "Two randoms with same seeds gave differing nextLong values",
232 yetAnotherLong = yetAnotherRandom.nextLong();
244 aRandom.nextLong() == randomArray[counter])
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
SecureRandom2Test.java 315 assertTrue(sr1.nextLong() == sr2.nextLong());
340 assertTrue(sr1.nextLong() == sr2.nextLong());
358 assertEquals(6180693691264871500l, sr1.nextLong());
374 assertTrue(6180693691264871500l != sr1.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/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 155 public long nextLong() throws IOException {
189 final long value = nextLong();
  /libcore/luni/src/main/java/java/util/
Random.java 193 public long nextLong() {
Scanner.java     [all...]
  /frameworks/base/core/tests/coretests/src/android/util/
JsonReaderTest.java 171 assertEquals(1L, reader.nextLong());
309 assertEquals(0L, reader.nextLong());
312 assertEquals(1L, reader.nextLong());
315 assertEquals(-1L, reader.nextLong());
323 assertEquals(Long.MIN_VALUE, reader.nextLong());
329 assertEquals(Long.MAX_VALUE, reader.nextLong());
330 assertEquals(5, reader.nextLong());
331 assertEquals(100, reader.nextLong());
332 assertEquals(11, reader.nextLong());
333 assertEquals(5, reader.nextLong());
    [all...]
  /packages/apps/Email/emailcommon/src/org/apache/james/mime4j/util/
SimpleTempStorage.java 64 long n = Math.abs(random.nextLong());
93 long n = Math.abs(random.nextLong());
  /frameworks/base/core/java/android/content/pm/
VerifierDeviceIdentity.java 90 long identity = rng.nextLong();
  /frameworks/base/core/java/com/android/internal/net/
NetworkStatsFactory.java 284 entry.rxBytes = reader.nextLong();
285 entry.rxPackets = reader.nextLong();
286 entry.txBytes = reader.nextLong();
287 entry.txPackets = reader.nextLong();
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/heap/
NativeHeapDataImporter.java 160 long address = sc.nextLong(16);
  /sdk/sdkstats/src/com/android/sdkstats/
DdmsPreferenceStore.java 170 long id = rnd.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();
  /frameworks/base/core/tests/coretests/src/android/net/
NetworkStatsHistoryTest.java 316 stats = new NetworkStatsHistory(r.nextLong());
320 final long start = r.nextLong();
330 stats.removeBucketsBefore(r.nextLong());
342 final long value = r.nextLong();
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
AlbumSetView.java 39 private final long mSeed = mRandom.nextLong();
  /packages/providers/MediaProvider/src/com/android/providers/media/
MediaThumbRequest.java 220 magic = sRandom.nextLong();
  /frameworks/base/core/java/android/util/
JsonReader.java 118 * id = reader.nextLong();
478 public long nextLong() throws IOException {
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/
BackupTestActivity.java 208 editor.putLong(LONG_PREF, random.nextLong());
  /packages/apps/Gallery2/tests/src/com/android/gallery3d/common/
BlobCacheTest.java 632 bc.insert(rand.nextLong(), data);
698 bc.insert(rand.nextLong(), data);

Completed in 870 milliseconds

1 2