Home
last modified time | relevance | path

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

/aosp12/packages/modules/StatsD/statsd/tests/condition/
H A 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()
/aosp12/packages/modules/StatsD/statsd/src/condition/
H A DConditionTimer.h52 int64_t newBucketStart(int64_t nextBucketStartNs) { in newBucketStart() function
/aosp12/packages/modules/StatsD/statsd/src/metrics/
H A DValueMetricProducer.cpp176 mConditionTimer.newBucketStart(mCurrentBucketStartTimeNs); in ValueMetricProducer()
1084 int64_t conditionTrueDuration = mConditionTimer.newBucketStart(bucketEndTime); in flushCurrentBucketLocked()
1097 currentValueBucket.conditionTimer.newBucketStart(bucketEndTime); in flushCurrentBucketLocked()
1134 mConditionTimer.newBucketStart(nextBucketStartTimeNs); in flushCurrentBucketLocked()
1140 currentValueBucket.conditionTimer.newBucketStart(nextBucketStartTimeNs); in flushCurrentBucketLocked()