Home
last modified time | relevance | path

Searched refs:nextLong (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/net/
DNetworkStatsFactory.java111 entry.rxBytes = reader.nextLong(); in readNetworkStatsSummaryDev()
112 entry.rxPackets = reader.nextLong(); in readNetworkStatsSummaryDev()
113 entry.txBytes = reader.nextLong(); in readNetworkStatsSummaryDev()
114 entry.txPackets = reader.nextLong(); in readNetworkStatsSummaryDev()
118 entry.rxBytes += reader.nextLong(); in readNetworkStatsSummaryDev()
119 entry.rxPackets += reader.nextLong(); in readNetworkStatsSummaryDev()
120 entry.txBytes += reader.nextLong(); in readNetworkStatsSummaryDev()
121 entry.txPackets += reader.nextLong(); in readNetworkStatsSummaryDev()
166 entry.rxBytes = reader.nextLong(); in readNetworkStatsSummaryXt()
167 entry.rxPackets = reader.nextLong(); in readNetworkStatsSummaryXt()
[all …]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DProcFileReaderTest.java121 assertEquals(1, reader.nextLong()); in testMinMax()
122 assertEquals(-1024, reader.nextLong()); in testMinMax()
123 assertEquals(Long.MAX_VALUE, reader.nextLong()); in testMinMax()
124 assertEquals(Long.MIN_VALUE, reader.nextLong()); in testMinMax()
145 assertEquals(1, reader.nextLong()); in testLargerThanBuffer()
158 assertEquals(123L, reader.nextLong()); in testOptionalLongs()
DFileRotatorTest.java342 currentTime += Math.abs(random.nextLong()) % DAY_IN_MILLIS; in testFuzz()
/frameworks/volley/src/test/java/com/android/volley/utils/
DCacheTestUtils.java26 entry.etag = String.valueOf(random.nextLong()); in makeRandomCacheEntry()
27 entry.lastModified = random.nextLong(); in makeRandomCacheEntry()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DVerifierDeviceIdentityTest.java141 public void setNextLong(long nextLong) { in setNextLong() argument
142 mNextLong = nextLong; in setNextLong()
146 public long nextLong() { in nextLong() method in VerifierDeviceIdentityTest.MockRandom
/frameworks/base/core/tests/coretests/src/android/util/
DLongSparseLongArrayTest.java82 final long key = r.nextLong(); in testFuzz()
83 final long value = r.nextLong(); in testFuzz()
/frameworks/base/core/java/com/android/internal/util/
DProcFileReader.java161 public long nextLong() throws IOException { in nextLong() method in ProcFileReader
222 final long value = nextLong(); in nextInt()
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkStatsHistoryTest.java314 stats = new NetworkStatsHistory(r.nextLong()); in testFuzzing()
318 final long start = r.nextLong(); in testFuzzing()
328 stats.removeBucketsBefore(r.nextLong()); in testFuzzing()
340 final long value = r.nextLong(); in nextPositiveLong()
/frameworks/base/core/java/android/content/pm/
DVerifierDeviceIdentity.java90 long identity = rng.nextLong(); in generate()
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DElementLayoutActivity.java121 chronometer.setBase(mRandom.nextLong()); in createChronometer()
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_alloc_copyPadded.java603 inArray[i] = random.nextLong(); in testAllocation_Long3_1D()
638 inArray[i] = random.nextLong(); in testAllocation_Long3_2D()
674 inArray[i] = random.nextLong(); in testAllocation_Long3_3D()
878 inArray[i] = random.nextLong(); in testAllocation_copy1DRangeTo_Long3()
1079 inArray[i] = random.nextLong(); in testAllocation_copy2DRangeTo_Long3()
1283 inArray[i] = random.nextLong(); in testAllocation_copy1DRangeToUnchecked_Long3()
DUT_math_agree.java143 lv[i] = rand.nextLong(); in randvec_long()
342 long rand_sl1_0 = rand.nextLong(); in initializeValues()
346 long rand_sl1_1 = rand.nextLong(); in initializeValues()
DUT_alloc_copy.java231 inArray[i] = random.nextLong(); in allocation_copy1DRangeTo_Long()
427 inArray[i] = random.nextLong(); in allocation_copy2DRangeTo_Long()
626 inArray[i] = random.nextLong(); in allocation_copy1DRangeToUnchecked_Long()
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_alloc_copyPadded.java603 inArray[i] = random.nextLong(); in testAllocation_Long3_1D()
638 inArray[i] = random.nextLong(); in testAllocation_Long3_2D()
674 inArray[i] = random.nextLong(); in testAllocation_Long3_3D()
878 inArray[i] = random.nextLong(); in testAllocation_copy1DRangeTo_Long3()
1079 inArray[i] = random.nextLong(); in testAllocation_copy2DRangeTo_Long3()
1283 inArray[i] = random.nextLong(); in testAllocation_copy1DRangeToUnchecked_Long3()
DUT_math_agree.java143 lv[i] = rand.nextLong(); in randvec_long()
342 long rand_sl1_0 = rand.nextLong(); in initializeValues()
346 long rand_sl1_1 = rand.nextLong(); in initializeValues()
DUT_alloc_copy.java231 inArray[i] = random.nextLong(); in allocation_copy1DRangeTo_Long()
427 inArray[i] = random.nextLong(); in allocation_copy2DRangeTo_Long()
626 inArray[i] = random.nextLong(); in allocation_copy1DRangeToUnchecked_Long()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_math_agree.java143 lv[i] = rand.nextLong(); in randvec_long()
342 long rand_sl1_0 = rand.nextLong(); in initializeValues()
346 long rand_sl1_1 = rand.nextLong(); in initializeValues()
/frameworks/base/packages/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java252 return REFERENCE_TIMESTAMP - random.nextLong() % 1000L * 60 * 60 * 24 * 30; in createRandomTime()
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java292 private final String mBrowserBailOutToken = Long.toString(new Random().nextLong());
/frameworks/base/core/java/android/util/
DJsonReader.java478 public long nextLong() throws IOException { in nextLong() method in JsonReader
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DSystemServicesProxy.java299 Long.toString(Math.abs(new Random().nextLong()), 36); in getRecentTasks()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java1085 salt = SecureRandom.getInstance("SHA1PRNG").nextLong(); in getSalt()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java1964 String androidId = Long.toHexString(new SecureRandom().nextLong()); in ensureSecureSettingAndroidIdSetLocked()
/frameworks/base/api/
Dcurrent.txt40343 method public long nextLong() throws java.io.IOException;
58632 method public abstract long nextLong();
58716 method public long nextLong();
58815 method public long nextLong();
58816 method public long nextLong(int);
59031 method public long nextLong();
59032 method public long nextLong(long);
59033 method public long nextLong(long, long);
60230 method public long nextLong(long);
60231 method public long nextLong(long, long);
Dsystem-current.txt43520 method public long nextLong() throws java.io.IOException;
62166 method public abstract long nextLong();
62250 method public long nextLong();
62349 method public long nextLong();
62350 method public long nextLong(int);
62565 method public long nextLong();
62566 method public long nextLong(long);
62567 method public long nextLong(long, long);
63764 method public long nextLong(long);
63765 method public long nextLong(long, long);

12