Home
last modified time | relevance | path

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

/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/coretests/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/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_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/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/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java254 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.java167 Long.toString(Math.abs(new Random().nextLong()), 36); in getRecentTasks()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java918 salt = SecureRandom.getInstance("SHA1PRNG").nextLong(); in getSalt()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java1680 String androidId = Long.toHexString(new SecureRandom().nextLong()); in ensureSecureSettingAndroidIdSetLocked()
/frameworks/base/docs/html/google/play/billing/v2/
Dbilling_integrate.jd1056 long nonce = RANDOM.nextLong();
/frameworks/base/api/
Dsystem-current.txt36320 method public long nextLong() throws java.io.IOException;
54042 method public long nextLong();
54141 method public long nextLong();
54142 method public long nextLong(int);
55163 method public long nextLong(long);
55164 method public long nextLong(long, long);
Dcurrent.txt34028 method public long nextLong() throws java.io.IOException;
51436 method public long nextLong();
51535 method public long nextLong();
51536 method public long nextLong(int);
52557 method public long nextLong(long);
52558 method public long nextLong(long, long);