Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/net/
DNetworkStatsFactory.java117 entry.rxBytes = reader.nextLong(); in readNetworkStatsSummaryDev()
118 entry.rxPackets = reader.nextLong(); in readNetworkStatsSummaryDev()
119 entry.txBytes = reader.nextLong(); in readNetworkStatsSummaryDev()
120 entry.txPackets = reader.nextLong(); in readNetworkStatsSummaryDev()
124 entry.rxBytes += reader.nextLong(); in readNetworkStatsSummaryDev()
125 entry.rxPackets += reader.nextLong(); in readNetworkStatsSummaryDev()
126 entry.txBytes += reader.nextLong(); in readNetworkStatsSummaryDev()
127 entry.txPackets += reader.nextLong(); in readNetworkStatsSummaryDev()
170 entry.rxBytes = reader.nextLong(); in readNetworkStatsSummaryXt()
171 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/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/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/util/
DLongSparseLongArrayTest.java82 final long key = r.nextLong(); in testFuzz()
83 final long value = r.nextLong(); in testFuzz()
/frameworks/base/core/java/android/bluetooth/
DBluetoothHidDeviceAppConfiguration.java30 mHash = rnd.nextLong(); in BluetoothHidDeviceAppConfiguration()
/frameworks/base/tests/net/java/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/tests/java_api/RsTest/src/com/android/rs/test/
DUT_struct_field.java54 outer.l = r.nextLong(); in run()
DUT_math_agree.java175 lv[i] = rand.nextLong(); in randvec_long()
396 long rand_sl1_0 = rand.nextLong(); in initializeValues()
400 long rand_sl1_1 = rand.nextLong(); in initializeValues()
/frameworks/rs/tests/java_api/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/tests/java_api/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiVendorHalTest.java676 pstats.rxMpdu = r.nextLong() & 0xFFFFFFFFFFL; // more than 32 bits in randomizePacketStats()
677 pstats.txMpdu = r.nextLong() & 0xFFFFFFFFFFL; in randomizePacketStats()
678 pstats.lostMpdu = r.nextLong() & 0xFFFFFFFFFFL; in randomizePacketStats()
679 pstats.retries = r.nextLong() & 0xFFFFFFFFFFL; in randomizePacketStats()
1163 fateReport.frameInfo.driverTimestampUsec = new Random().nextLong(); in testGetTxPktFates()
1205 fateReport.frameInfo.driverTimestampUsec = new Random().nextLong(); in testGetTxPktFatesExceedsInputArrayLength()
1247 fateReport.frameInfo.driverTimestampUsec = new Random().nextLong(); in testGetRxPktFates()
1289 fateReport.frameInfo.driverTimestampUsec = new Random().nextLong(); in testGetRxPktFatesExceedsInputArrayLength()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMockGateKeeperService.java109 long newSid = new Random().nextLong(); in enroll()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java307 private final String mBrowserBailOutToken = Long.toString(new Random().nextLong());
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java316 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/services/core/java/com/android/server/
DSyntheticPasswordManager.java652 result = rng.nextLong(); in generateHandle()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java1007 salt = SecureRandom.getInstance("SHA1PRNG").nextLong(); in getSalt()

12