/frameworks/base/core/java/com/android/internal/net/ |
D | NetworkStatsFactory.java | 117 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/ |
D | ProcFileReaderTest.java | 121 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()
|
D | FileRotatorTest.java | 342 currentTime += Math.abs(random.nextLong()) % DAY_IN_MILLIS; in testFuzz()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | VerifierDeviceIdentityTest.java | 141 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/ |
D | ProcFileReader.java | 161 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/ |
D | LongSparseLongArrayTest.java | 82 final long key = r.nextLong(); in testFuzz() 83 final long value = r.nextLong(); in testFuzz()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothHidDeviceAppConfiguration.java | 30 mHash = rnd.nextLong(); in BluetoothHidDeviceAppConfiguration()
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsHistoryTest.java | 314 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/ |
D | VerifierDeviceIdentity.java | 90 long identity = rng.nextLong(); in generate()
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | ElementLayoutActivity.java | 121 chronometer.setBase(mRandom.nextLong()); in createChronometer()
|
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
D | UT_struct_field.java | 54 outer.l = r.nextLong(); in run()
|
D | UT_math_agree.java | 175 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/ |
D | UT_alloc_copyPadded.java | 603 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()
|
D | UT_math_agree.java | 143 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()
|
D | UT_alloc_copy.java | 231 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/ |
D | UT_alloc_copyPadded.java | 603 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()
|
D | UT_math_agree.java | 143 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()
|
D | UT_alloc_copy.java | 231 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/ |
D | WifiVendorHalTest.java | 676 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/ |
D | MockGateKeeperService.java | 109 long newSid = new Random().nextLong(); in enroll()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 307 private final String mBrowserBailOutToken = Long.toString(new Random().nextLong());
|
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 316 private final String mBrowserBailOutToken = Long.toString(new Random().nextLong());
|
/frameworks/base/core/java/android/util/ |
D | JsonReader.java | 478 public long nextLong() throws IOException { in nextLong() method in JsonReader
|
/frameworks/base/services/core/java/com/android/server/ |
D | SyntheticPasswordManager.java | 652 result = rng.nextLong(); in generateHandle()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 1007 salt = SecureRandom.getInstance("SHA1PRNG").nextLong(); in getSalt()
|