Home
last modified time | relevance | path

Searched refs:nextEventTime (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DRateEstimatorTest.java76 final float rate = mEstimator.getRate(nextEventTime); in testInstantaneousBurstIsEstimatedUnderTwoPercent()
85 final float rate = mEstimator.getRate(nextEventTime); in testCompactBurstIsEstimatedUnderTwoPercent()
94 final float rate = mEstimator.getRate(nextEventTime); in testSustained1000HzBurstIsEstimatedOverNinetyPercent()
103 final float rate = mEstimator.getRate(nextEventTime); in testSustained100HzBurstIsEstimatedOverNinetyPercent()
122 final float rate = mEstimator.getRate(nextEventTime); in testEstimateShouldNotOvershoot()
143 final float firstBurstRate = mEstimator.getRate(nextEventTime); in testEstimateCatchesUpQuickly()
146 nextEventTime += HOURS.toMillis(3); // 3 hours later... in testEstimateCatchesUpQuickly()
147 nextEventTime = postEvents(nextEventTime, 100, 30); // same burst of 30 events at 10Hz in testEstimateCatchesUpQuickly()
150 float secondBurstRate = mEstimator.getRate(nextEventTime); in testEstimateCatchesUpQuickly()
154 nextEventTime = postEvents(nextEventTime, 100, 10); // 10 more events at 10Hz in testEstimateCatchesUpQuickly()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/input/
H A DInputShellCommand.java362 final long nextEventTime = now + ViewConfiguration.getLongPressTimeout(); in sendKeyEvent() local
363 injectKeyEvent(KeyEvent.changeTimeRepeat(event, nextEventTime, 1 /* repeatCount */, in sendKeyEvent()