/frameworks/base/core/java/com/android/internal/net/ |
NetworkStatsFactory.java | 90 entry.rxBytes = reader.nextLong(); 91 entry.rxPackets = reader.nextLong(); 92 entry.txBytes = reader.nextLong(); 93 entry.txPackets = reader.nextLong(); 97 entry.rxBytes += reader.nextLong(); 98 entry.rxPackets += reader.nextLong(); 99 entry.txBytes += reader.nextLong(); 100 entry.txPackets += reader.nextLong(); 147 entry.rxBytes = reader.nextLong(); 148 entry.rxPackets = reader.nextLong(); [all...] |
/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...] |
/frameworks/support/volley/tests/src/com/android/volley/utils/ |
CacheTestUtils.java | 26 entry.etag = String.valueOf(random.nextLong()); 27 entry.serverDate = random.nextLong();
|
/libcore/luni/src/main/java/java/util/concurrent/ |
ThreadLocalRandom.java | 130 public long nextLong(long n) { 160 public long nextLong(long least, long bound) { 163 return nextLong(bound - least) + least;
|
/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...] |
/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();
|
/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()));
|
HashTestUtils.java | 127 long value = random.nextLong();
|
/libcore/luni/src/main/java/java/util/ |
Random.java | 191 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());
|
/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...] |
/external/guava/guava-tests/test/com/google/common/primitives/ |
UnsignedLongsTest.java | 84 long dividend = r.nextLong(); 85 long divisor = r.nextLong();
|
/packages/apps/Email/src/org/apache/james/mime4j/util/ |
SimpleTempStorage.java | 64 long n = Math.abs(random.nextLong());
93 long n = Math.abs(random.nextLong());
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
HillHeightMap.java | 113 this(size, iterations, minRadius, maxRadius, new Random().nextLong());
|
MidpointDisplacementHeightMap.java | 109 this(size, range, persistence, new Random().nextLong());
|
/frameworks/base/core/java/android/content/pm/ |
VerifierDeviceIdentity.java | 90 long identity = rng.nextLong();
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/heap/ |
NativeHeapDataImporter.java | 161 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();
|