/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | ProcFileReaderTest.java | 139 assertEquals(1, reader.nextLong()); in testMinMax() 140 assertEquals(-1024, reader.nextLong()); in testMinMax() 141 assertEquals(Long.MAX_VALUE, reader.nextLong()); in testMinMax() 142 assertEquals(Long.MIN_VALUE, reader.nextLong()); in testMinMax() 165 assertEquals(1, reader.nextLong()); in testLargerThanBuffer() 179 assertEquals(123L, reader.nextLong()); in testOptionalLongs() 194 assertEquals(12L, reader.nextLong(true)); in testInvalidLongs() 195 assertEquals(34L, reader.nextLong(true)); in testInvalidLongs() 199 assertEquals(56L, reader.nextLong(true)); in testInvalidLongs() 200 assertEquals(78L, reader.nextLong(true)); in testInvalidLongs() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncStorageEngineTest.java | 83 ds.successTime = r.nextLong(); in populateDayStats() 85 ds.failureTime = r.nextLong(); in populateDayStats() 108 ss.lastSuccessTime = r.nextLong(); in populateStatus() 110 ss.lastFailureTime = r.nextLong(); in populateStatus() 113 ss.initialFailureTime = r.nextLong(); in populateStatus() 116 ss.addPeriodicSyncTime(r.nextLong()); in populateStatus() 120 lastEventInfos.add(new Pair<>(r.nextLong(), "event_" + r.nextInt())); in populateStatus() 123 ss.lastTodayResetTime = r.nextLong(); in populateStatus() 128 ss.perSourceLastSuccessTimes[j] = r.nextLong(); in populateStatus() 131 ss.perSourceLastFailureTimes[j] = r.nextLong(); in populateStatus() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ProcFileReader.java | 177 public long nextLong() throws IOException { in nextLong() method in ProcFileReader 178 return nextLong(false); in nextLong() 184 public long nextLong(boolean stopAtInvalid) throws IOException { in nextLong() method in ProcFileReader 252 final long value = nextLong(); in nextInt()
|
/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 | 148 public void setNextLong(long nextLong) { in setNextLong() argument 149 mNextLong = nextLong; in setNextLong() 153 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/services/core/java/com/android/server/locksettings/ |
D | SecureRandomUtils.java | 34 return RNG.nextLong(); in randomLong()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | LongSparseLongArrayTest.java | 94 final long key = r.nextLong(); in testFuzz() 95 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/core/java/com/android/internal/os/ |
D | ProcLocksReader.java | 85 id = mReader.nextLong(true); // lock id in handleBlockingFileLocks()
|
/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 | 94 long identity = rng.nextLong(); in generate()
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | KeyStoreCryptoOperationUtils.java | 208 return getRng().nextLong(); in getOrMakeOperationChallenge()
|
/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/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/base/services/tests/powerstatstests/src/com/android/server/power/stats/wakeups/ |
D | CpuWakeupStatsTest.java | 96 final long delta = mRandom.nextLong(retention); in removesOldWakeups() 107 final long now = mRandom.nextLong(retention + 1, 100 * retention); in removesOldWakeups() 153 final long wakeupTime = mRandom.nextLong(123456); in irqAttributionAllCombinations()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserJourneyLogger.java | 549 final long newSessionId = ThreadLocalRandom.current().nextLong(1, Long.MAX_VALUE); in logUserJourneyBegin() 573 final long newSessionId = ThreadLocalRandom.current().nextLong(1, Long.MAX_VALUE); in startSessionForDelayedJourney()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | FakeGateKeeperService.java | 110 long newSid = new Random().nextLong(); in enroll()
|
/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/ |
D | SharedPreferencesStorageTest.kt | 51 "long" to random.nextLong(), in <lambda>()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | BitUtilsTest.java | 173 0, 1, -1, 23895, -908235, Long.MAX_VALUE, Long.MIN_VALUE, new Random().nextLong(), in testBitsPacking()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | SmsStats.java | 240 proto.messageId = RANDOM.nextLong(); in getIncomingDefaultProto() 264 proto.messageId = messageId != 0L ? messageId : RANDOM.nextLong(); in getOutgoingDefaultProto()
|