Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsFactory.java191 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/
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()
/frameworks/base/tests/SystemMemoryTest/host/src/com/android/tests/sysmem/host/
DMetrics.java100 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/
DVerifierDeviceIdentityTest.java144 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/
DNativeProcessesMemoryTest.java197 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/
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.java85 final long key = r.nextLong(); in testFuzz()
86 final long value = r.nextLong(); in testFuzz()
/frameworks/base/core/tests/coretests/src/android/app/usage/
DEventListTest.java71 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/
DIsChunkBreakpointTest.java117 if (isChunkBreakpoint.isBreakpoint(mRandom.nextLong())) { in numberOfTrialsTillBreakpoint()
DFingerprintMixerTest.java144 long n = mFingerprintMixer.mix(mSeededRandom.nextLong()); in mix_randomlyDistributesBits()
/frameworks/base/core/java/android/net/
DMacAddress.java364 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/
DNetworkStatsHistoryTest.java335 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/
DElementLayoutActivity.java121 chronometer.setBase(mRandom.nextLong()); in createChronometer()
/frameworks/base/core/java/android/content/pm/
DVerifierDeviceIdentity.java93 long identity = rng.nextLong(); in generate()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_struct_field.java53 outer.l = r.nextLong(); in run()
DUT_alloc_copyPadded.java604 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()
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()
DUT_alloc_copy.java233 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/
DUT_struct_field.java55 outer.l = r.nextLong(); in run()
DUT_alloc_copyPadded.java606 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()
DUT_math_agree.java177 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/
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/base/services/tests/servicestests/src/com/android/server/locksettings/
DFakeGateKeeperService.java110 long newSid = new Random().nextLong(); in enroll()

12