Home
last modified time | relevance | path

Searched refs:getRate (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRateEstimatorTest.java52 final float rate = mEstimator.getRate(mTestStartTime - 1000L); in testRunningTimeBackwardDoesntExplodeGet()
66 final float rate = mEstimator.getRate(mTestStartTime); in testInstantaneousEventsDontExplodeGet()
75 final float rate = mEstimator.getRate(nextEventTime); in testInstantaneousBurstIsEstimatedUnderTwoPercent()
84 final float rate = mEstimator.getRate(nextEventTime); in testCompactBurstIsEstimatedUnderTwoPercent()
93 final float rate = mEstimator.getRate(nextEventTime); in testSustained1000HzBurstIsEstimatedOverNinetyPercent()
102 final float rate = mEstimator.getRate(nextEventTime); in testSustained100HzBurstIsEstimatedOverNinetyPercent()
112 final float rate = mEstimator.getRate(nextEventTime + 5000L); // five seconds later in testRecoverQuicklyAfterSustainedBurst()
121 final float rate = mEstimator.getRate(nextEventTime); in testEstimateShouldNotOvershoot()
127 final float rate = mEstimator.getRate(mTestStartTime); in testGetRateWithoutUpdate()
134 final float rate = mEstimator.getRate(mTestStartTime+1); in testGetRateWithOneUpdate()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DRateEstimator.java47 public float getRate(long now) { in getRate() method in RateEstimator
DNotificationUsageStats.java610 return enqueueRate.getRate(now); in getEnqueueRate()
/frameworks/av/media/libmediametrics/
DMediaMetrics.cpp157 return item->getRate(attr, count, duration, rate); in mediametrics_getRate()
/frameworks/av/services/mediametrics/tests/
Dmediametrics_tests.cpp339 ASSERT_TRUE(item.getRate("burgersPerHour", &b, &h, &d)); in TEST()
345 ASSERT_TRUE(item.getRate("burgersPerHour", &b, &h, &d)); in TEST()
/frameworks/av/media/libmediametrics/include/media/
DMediaMetricsItem.h1037 bool getRate(const char *key, int64_t *count, int64_t *duration, double *rate) const { in getRate() function