Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/net/
DNetworkStatsFactory.java180 entry.rxBytes = reader.nextLong(); in readNetworkStatsSummaryDev()
181 entry.rxPackets = reader.nextLong(); in readNetworkStatsSummaryDev()
182 entry.txBytes = reader.nextLong(); in readNetworkStatsSummaryDev()
183 entry.txPackets = reader.nextLong(); in readNetworkStatsSummaryDev()
187 entry.rxBytes += reader.nextLong(); in readNetworkStatsSummaryDev()
188 entry.rxPackets += reader.nextLong(); in readNetworkStatsSummaryDev()
189 entry.txBytes += reader.nextLong(); in readNetworkStatsSummaryDev()
190 entry.txPackets += reader.nextLong(); in readNetworkStatsSummaryDev()
238 entry.rxBytes = reader.nextLong(); in readNetworkStatsSummaryXt()
239 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/core/tests/coretests/src/android/content/pm/
DVerifierDeviceIdentityTest.java143 public void setNextLong(long nextLong) { in setNextLong() argument
144 mNextLong = nextLong; in setNextLong()
148 public long nextLong() { in nextLong() method in VerifierDeviceIdentityTest.MockRandom
/frameworks/support/collection/ktx/src/test/java/androidx/collection/
DLongSparseArrayTest.kt165 assertEquals(1L, iterator.nextLong()) in <lambda>()
167 assertEquals(2L, iterator.nextLong()) in <lambda>()
169 assertEquals(6L, iterator.nextLong()) in <lambda>()
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/util/
DLongSparseArrayTest.kt175 assertEquals(1L, iterator.nextLong()) in <lambda>()
177 assertEquals(2L, iterator.nextLong()) in <lambda>()
179 assertEquals(6L, iterator.nextLong()) in <lambda>()
/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.java70 listUnderTest.insert(getUsageEvent(random.nextLong())); in testInsertsSortedRandom()
80 final long randomTimeStamp = random.nextLong(); in testInsertsSortedWithDuplicates()
/frameworks/base/core/java/android/net/
DMacAddress.java357 long addr = r.nextLong() & VALID_LONG_MASK; in createRandomUnicastAddress()
376 long addr = (base.mAddr & OUI_MASK) | (NIC_MASK & r.nextLong()); in createRandomUnicastAddress()
/frameworks/support/collection/ktx/src/main/java/androidx/collection/
DLongSparseArray.kt79 override fun nextLong() = keyAt(index++) in keyIterator() method
/frameworks/support/core/ktx/src/main/java/androidx/core/util/
DSparseLongArray.kt106 override fun nextLong() = valueAt(index++) in valueIterator() method
DLongSparseArray.kt99 override fun nextLong() = keyAt(index++) in keyIterator() method
/frameworks/base/tests/net/java/android/net/
DNetworkStatsHistoryTest.java334 stats = new NetworkStatsHistory(r.nextLong()); in testFuzzing()
338 final long start = r.nextLong(); in testFuzzing()
348 stats.removeBucketsBefore(r.nextLong()); in testFuzzing()
360 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()
/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_alloc_copy.java235 inArray[i] = random.nextLong(); in allocation_copy1DRangeTo_Long()
431 inArray[i] = random.nextLong(); in allocation_copy2DRangeTo_Long()
630 inArray[i] = random.nextLong(); in allocation_copy1DRangeToUnchecked_Long()
/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