/frameworks/base/core/java/com/android/internal/net/ |
D | NetworkStatsFactory.java | 180 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/ |
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/core/tests/coretests/src/android/content/pm/ |
D | VerifierDeviceIdentityTest.java | 143 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/ |
D | LongSparseArrayTest.kt | 165 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/ |
D | LongSparseArrayTest.kt | 175 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/ |
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 | 70 listUnderTest.insert(getUsageEvent(random.nextLong())); in testInsertsSortedRandom() 80 final long randomTimeStamp = random.nextLong(); in testInsertsSortedWithDuplicates()
|
/frameworks/base/core/java/android/net/ |
D | MacAddress.java | 357 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/ |
D | LongSparseArray.kt | 79 override fun nextLong() = keyAt(index++) in keyIterator() method
|
/frameworks/support/core/ktx/src/main/java/androidx/core/util/ |
D | SparseLongArray.kt | 106 override fun nextLong() = valueAt(index++) in valueIterator() method
|
D | LongSparseArray.kt | 99 override fun nextLong() = keyAt(index++) in keyIterator() method
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsHistoryTest.java | 334 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/ |
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()
|
/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_alloc_copy.java | 235 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/ |
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()
|