Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DRateEstimatorTest.java76 long nextEventTime = postEvents(eventStart, 0, 5); // five events at \inf in testInstantaneousBurstIsEstimatedUnderTwoPercent() local
77 final float rate = mEstimator.getRate(nextEventTime); in testInstantaneousBurstIsEstimatedUnderTwoPercent()
85 long nextEventTime = postEvents(eventStart, 1, 5); // five events at 1000Hz in testCompactBurstIsEstimatedUnderTwoPercent() local
86 final float rate = mEstimator.getRate(nextEventTime); in testCompactBurstIsEstimatedUnderTwoPercent()
94 long nextEventTime = postEvents(eventStart, 1, 100); // one hundred events at 1000Hz in testSustained1000HzBurstIsEstimatedOverNinetyPercent() local
95 final float rate = mEstimator.getRate(nextEventTime); in testSustained1000HzBurstIsEstimatedOverNinetyPercent()
103 long nextEventTime = postEvents(eventStart, 10, 100); // one hundred events at 100Hz in testSustained100HzBurstIsEstimatedOverNinetyPercent() local
104 final float rate = mEstimator.getRate(nextEventTime); in testSustained100HzBurstIsEstimatedOverNinetyPercent()
113 long nextEventTime = postEvents(eventStart, 10, 1000); // one hundred events at 100Hz in testRecoverQuicklyAfterSustainedBurst() local
114 final float rate = mEstimator.getRate(nextEventTime + 5000L); // two seconds later in testRecoverQuicklyAfterSustainedBurst()
[all …]
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
H A DRecurrentTimer.h101 auto nextEventTime = kInvalidTime; in loop() local
114 if (nextEventTime > event.absoluteTime) { in loop()
115 nextEventTime = event.absoluteTime; in loop()
125 mCond.wait_until(g, nextEventTime); // nextEventTime can be nanoseconds::max() in loop()
/aosp12/frameworks/base/services/core/java/com/android/server/input/
H A DInputShellCommand.java317 final long nextEventTime = now + ViewConfiguration.getGlobalActionKeyTimeout(); in sendKeyEvent() local
318 injectKeyEvent(KeyEvent.changeTimeRepeat(event, nextEventTime, 1 /* repeatCount */, in sendKeyEvent()