Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
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 …]
/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.cpp330 nsecs_t nextEventTime = INT64_MAX; in computeNextEventTimeLocked() local
334 if (t < nextEventTime) { in computeNextEventTimeLocked()
335 nextEventTime = t; in computeNextEventTimeLocked()
339 ALOGV("[%s] nextEventTime = %" PRId64, mName, ns2us(nextEventTime)); in computeNextEventTimeLocked()
340 return nextEventTime; in computeNextEventTimeLocked()