Searched refs:nextLong (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/java/com/android/internal/net/
H A DNetworkStatsFactory.java90 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...]
/frameworks/support/volley/tests/src/com/android/volley/utils/
H A DCacheTestUtils.java26 entry.etag = String.valueOf(random.nextLong());
27 entry.serverDate = random.nextLong();
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DProcFileReaderTest.java121 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());
H A DFileRotatorTest.java340 currentTime += Math.abs(random.nextLong()) % DAY_IN_MILLIS;
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DVerifierDeviceIdentityTest.java141 public void setNextLong(long nextLong) { argument
142 mNextLong = nextLong;
146 public long nextLong() { method in class:VerifierDeviceIdentityTest.MockRandom
/frameworks/base/core/java/com/android/internal/util/
H A DProcFileReader.java155 public long nextLong() throws IOException { method in class:ProcFileReader
189 final long value = nextLong();
/frameworks/base/core/tests/coretests/src/android/util/
H A DJsonReaderTest.java171 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...]
/frameworks/base/core/java/android/content/pm/
H A DVerifierDeviceIdentity.java90 long identity = rng.nextLong();
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkStatsHistoryTest.java314 stats = new NetworkStatsHistory(r.nextLong());
318 final long start = r.nextLong();
328 stats.removeBucketsBefore(r.nextLong());
340 final long value = r.nextLong();
/frameworks/base/core/java/android/util/
H A DJsonReader.java118 * id = reader.nextLong();
478 public long nextLong() throws IOException { method in class:JsonReader
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DUT_math_agree.java143 lv[i] = rand.nextLong();
342 long rand_sl1_0 = rand.nextLong();
346 long rand_sl1_1 = rand.nextLong();
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java814 salt = SecureRandom.getInstance("SHA1PRNG").nextLong();
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java476 final String newAndroidIdValue = Long.toHexString(random.nextLong());

Completed in 2874 milliseconds