Home
last modified time | relevance | path

Searched refs:getCurrentBucketEndTimeNs (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DDurationTracker.h120 int64_t getCurrentBucketEndTimeNs() const { in getCurrentBucketEndTimeNs() function
166 int64_t getCurrentBucketEndTimeNs() { in getCurrentBucketEndTimeNs() function
DOringDurationTracker.cpp147 int64_t fullBucketEnd = getCurrentBucketEndTimeNs(); in flushCurrentBucket()
211 if (eventTimeNs < getCurrentBucketEndTimeNs()) { in flushIfNeeded()
334 const int64_t currentBucketEndNs = getCurrentBucketEndTimeNs(); in predictAnomalyTimestampNs()
DMaxDurationTracker.cpp195 int64_t fullBucketEnd = getCurrentBucketEndTimeNs(); in flushCurrentBucket()
242 if (eventTimeNs < getCurrentBucketEndTimeNs()) { in flushIfNeeded()
/frameworks/base/cmds/statsd/src/metrics/
DValueMetricProducer.cpp149 mPullerManager->RegisterReceiver(mPullTagId, this, getCurrentBucketEndTimeNs(), in ValueMetricProducer()
483 bool isEventLate = originalPullTimeNs < getCurrentBucketEndTimeNs(); in onDataPulled()
824 int64_t currentBucketEndTimeNs = getCurrentBucketEndTimeNs(); in flushIfNeededLocked()
836 int64_t currentBucketEndTimeNs = getCurrentBucketEndTimeNs(); in calcBucketsForwardCount()
860 int64_t fullBucketEndTimeNs = getCurrentBucketEndTimeNs(); in flushCurrentBucketLocked()
DMetricProducer.h110 if (eventTimeNs > getCurrentBucketEndTimeNs()) { in notifyAppUpgrade()
308 int64_t getCurrentBucketEndTimeNs() const { in getCurrentBucketEndTimeNs() function
DCountMetricProducer.cpp317 int64_t currentBucketEndTimeNs = getCurrentBucketEndTimeNs(); in flushIfNeededLocked()
334 int64_t fullBucketEndTimeNs = getCurrentBucketEndTimeNs(); in flushCurrentBucketLocked()
DGaugeMetricProducer.cpp136 mPullerManager->RegisterReceiver(mPullTagId, this, getCurrentBucketEndTimeNs(), in GaugeMetricProducer()
540 int64_t currentBucketEndTimeNs = getCurrentBucketEndTimeNs(); in flushIfNeededLocked()
560 int64_t fullBucketEndTimeNs = getCurrentBucketEndTimeNs(); in flushCurrentBucketLocked()
DGaugeMetricProducer.h81 if (eventTimeNs > getCurrentBucketEndTimeNs()) { in notifyAppUpgrade()
DDurationMetricProducer.cpp600 int64_t currentBucketEndTimeNs = getCurrentBucketEndTimeNs(); in flushIfNeededLocked()
/frameworks/base/cmds/statsd/tests/metrics/
DCountMetricProducer_test.cpp50 EXPECT_EQ(660000000005, countProducer.getCurrentBucketEndTimeNs()); in TEST()
256 int64_t lastEndTimeNs = countProducer.getCurrentBucketEndTimeNs(); in TEST()
DDurationMetricProducer_test.cpp56 EXPECT_EQ(660000000005, durationProducer.getCurrentBucketEndTimeNs()); in TEST()
DGaugeMetricProducer_test.cpp87 EXPECT_EQ(660000000005, gaugeProducer.getCurrentBucketEndTimeNs()); in TEST()
DValueMetricProducer_test.cpp206 EXPECT_EQ(660000000005, valueProducer.getCurrentBucketEndTimeNs()); in TEST()