Searched refs:getRate (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | RateEstimatorTest.java | 52 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/ |
D | RateEstimator.java | 47 public float getRate(long now) { in getRate() method in RateEstimator
|
D | NotificationUsageStats.java | 610 return enqueueRate.getRate(now); in getEnqueueRate()
|
/frameworks/av/media/libmediametrics/ |
D | MediaMetrics.cpp | 157 return item->getRate(attr, count, duration, rate); in mediametrics_getRate()
|
/frameworks/av/services/mediametrics/tests/ |
D | mediametrics_tests.cpp | 339 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/ |
D | MediaMetricsItem.h | 1037 bool getRate(const char *key, int64_t *count, int64_t *duration, double *rate) const { in getRate() function
|