/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsFactory.java | 191 entry.rxBytes = reader.nextLong(); in readNetworkStatsSummaryDev() 192 entry.rxPackets = reader.nextLong(); in readNetworkStatsSummaryDev() 193 entry.txBytes = reader.nextLong(); in readNetworkStatsSummaryDev() 194 entry.txPackets = reader.nextLong(); in readNetworkStatsSummaryDev() 198 entry.rxBytes += reader.nextLong(); in readNetworkStatsSummaryDev() 199 entry.rxPackets += reader.nextLong(); in readNetworkStatsSummaryDev() 200 entry.txBytes += reader.nextLong(); in readNetworkStatsSummaryDev() 201 entry.txPackets += reader.nextLong(); in readNetworkStatsSummaryDev() 249 entry.rxBytes = reader.nextLong(); in readNetworkStatsSummaryXt() 250 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()
|
/frameworks/base/tests/SystemMemoryTest/host/src/com/android/tests/sysmem/host/ |
D | Metrics.java | 100 long vss = sc.nextLong(); in sample() 101 long rss = sc.nextLong(); in sample() 102 long pss = sc.nextLong(); in sample()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | VerifierDeviceIdentityTest.java | 144 public void setNextLong(long nextLong) { in setNextLong() argument 145 mNextLong = nextLong; in setNextLong() 149 public long nextLong() { in nextLong() method in VerifierDeviceIdentityTest.MockRandom
|
/frameworks/base/tests/NativeProcessesMemoryTest/src/com/android/tests/nativeprocesses/ |
D | NativeProcessesMemoryTest.java | 197 long vss = sc.nextLong(); in snapMemoryUsage() 198 long rss = sc.nextLong(); in snapMemoryUsage() 199 long pss = sc.nextLong(); in snapMemoryUsage()
|
/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 | 85 final long key = r.nextLong(); in testFuzz() 86 final long value = r.nextLong(); in testFuzz()
|
/frameworks/base/core/tests/coretests/src/android/app/usage/ |
D | EventListTest.java | 71 listUnderTest.insert(getUsageEvent(random.nextLong())); in testInsertsSortedRandom() 81 final long randomTimeStamp = random.nextLong(); in testInsertsSortedWithDuplicates()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/cdc/ |
D | IsChunkBreakpointTest.java | 117 if (isChunkBreakpoint.isBreakpoint(mRandom.nextLong())) { in numberOfTrialsTillBreakpoint()
|
D | FingerprintMixerTest.java | 144 long n = mFingerprintMixer.mix(mSeededRandom.nextLong()); in mix_randomlyDistributesBits()
|
/frameworks/base/core/java/android/net/ |
D | MacAddress.java | 364 long addr = r.nextLong() & VALID_LONG_MASK; in createRandomUnicastAddress() 383 long addr = (base.mAddr & OUI_MASK) | (NIC_MASK & r.nextLong()); in createRandomUnicastAddress()
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsHistoryTest.java | 335 stats = new NetworkStatsHistory(r.nextLong()); in testFuzzing() 339 final long start = r.nextLong(); in testFuzzing() 349 stats.removeBucketsBefore(r.nextLong()); in testFuzzing() 361 final long value = r.nextLong(); in nextPositiveLong()
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | ElementLayoutActivity.java | 121 chronometer.setBase(mRandom.nextLong()); in createChronometer()
|
/frameworks/base/core/java/android/content/pm/ |
D | VerifierDeviceIdentity.java | 93 long identity = rng.nextLong(); in generate()
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_struct_field.java | 53 outer.l = r.nextLong(); in run()
|
D | UT_alloc_copyPadded.java | 604 inArray[i] = random.nextLong(); in testAllocation_Long3_1D() 639 inArray[i] = random.nextLong(); in testAllocation_Long3_2D() 675 inArray[i] = random.nextLong(); in testAllocation_Long3_3D() 879 inArray[i] = random.nextLong(); in testAllocation_copy1DRangeTo_Long3() 1080 inArray[i] = random.nextLong(); in testAllocation_copy2DRangeTo_Long3() 1284 inArray[i] = random.nextLong(); in testAllocation_copy1DRangeToUnchecked_Long3()
|
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()
|
D | UT_alloc_copy.java | 233 inArray[i] = random.nextLong(); in allocation_copy1DRangeTo_Long() 429 inArray[i] = random.nextLong(); in allocation_copy2DRangeTo_Long() 628 inArray[i] = random.nextLong(); in allocation_copy1DRangeToUnchecked_Long()
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_struct_field.java | 55 outer.l = r.nextLong(); in run()
|
D | UT_alloc_copyPadded.java | 606 inArray[i] = random.nextLong(); in testAllocation_Long3_1D() 641 inArray[i] = random.nextLong(); in testAllocation_Long3_2D() 677 inArray[i] = random.nextLong(); in testAllocation_Long3_3D() 881 inArray[i] = random.nextLong(); in testAllocation_copy1DRangeTo_Long3() 1082 inArray[i] = random.nextLong(); in testAllocation_copy2DRangeTo_Long3() 1286 inArray[i] = random.nextLong(); in testAllocation_copy1DRangeToUnchecked_Long3()
|
D | UT_math_agree.java | 177 lv[i] = rand.nextLong(); in randvec_long() 398 long rand_sl1_0 = rand.nextLong(); in initializeValues() 402 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/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | FakeGateKeeperService.java | 110 long newSid = new Random().nextLong(); in enroll()
|