Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/condition/
DConditionTimer_test.cpp34 EXPECT_EQ(0, timer.newBucketStart(ct_start_time)); in TEST()
41 EXPECT_EQ(95, timer.newBucketStart(ct_start_time + 100)); in TEST()
51 EXPECT_EQ(ct_start_time - time_base, timer.newBucketStart(ct_start_time)); in TEST()
59 EXPECT_EQ(5, timer.newBucketStart(ct_start_time + 100)); in TEST()
/frameworks/base/cmds/statsd/src/condition/
DConditionTimer.h54 int64_t newBucketStart(int64_t nextBucketStartNs) { in newBucketStart() function
/frameworks/base/cmds/statsd/src/metrics/
DValueMetricProducer.cpp169 mConditionTimer.newBucketStart(mCurrentBucketStartTimeNs); in ValueMetricProducer()
980 int64_t conditionTrueDuration = mConditionTimer.newBucketStart(bucketEndTime); in flushCurrentBucketLocked()
1025 mConditionTimer.newBucketStart(nextBucketStartTimeNs); in flushCurrentBucketLocked()