Searched refs:getCurrentBucketEndTimeNs (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
D | DurationTracker.h | 120 int64_t getCurrentBucketEndTimeNs() const { in getCurrentBucketEndTimeNs() function 166 int64_t getCurrentBucketEndTimeNs() { in getCurrentBucketEndTimeNs() function
|
D | OringDurationTracker.cpp | 147 int64_t fullBucketEnd = getCurrentBucketEndTimeNs(); in flushCurrentBucket() 211 if (eventTimeNs < getCurrentBucketEndTimeNs()) { in flushIfNeeded() 334 const int64_t currentBucketEndNs = getCurrentBucketEndTimeNs(); in predictAnomalyTimestampNs()
|
D | MaxDurationTracker.cpp | 195 int64_t fullBucketEnd = getCurrentBucketEndTimeNs(); in flushCurrentBucket() 242 if (eventTimeNs < getCurrentBucketEndTimeNs()) { in flushIfNeeded()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | ValueMetricProducer.cpp | 149 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()
|
D | MetricProducer.h | 110 if (eventTimeNs > getCurrentBucketEndTimeNs()) { in notifyAppUpgrade() 308 int64_t getCurrentBucketEndTimeNs() const { in getCurrentBucketEndTimeNs() function
|
D | CountMetricProducer.cpp | 317 int64_t currentBucketEndTimeNs = getCurrentBucketEndTimeNs(); in flushIfNeededLocked() 334 int64_t fullBucketEndTimeNs = getCurrentBucketEndTimeNs(); in flushCurrentBucketLocked()
|
D | GaugeMetricProducer.cpp | 136 mPullerManager->RegisterReceiver(mPullTagId, this, getCurrentBucketEndTimeNs(), in GaugeMetricProducer() 540 int64_t currentBucketEndTimeNs = getCurrentBucketEndTimeNs(); in flushIfNeededLocked() 560 int64_t fullBucketEndTimeNs = getCurrentBucketEndTimeNs(); in flushCurrentBucketLocked()
|
D | GaugeMetricProducer.h | 81 if (eventTimeNs > getCurrentBucketEndTimeNs()) { in notifyAppUpgrade()
|
D | DurationMetricProducer.cpp | 600 int64_t currentBucketEndTimeNs = getCurrentBucketEndTimeNs(); in flushIfNeededLocked()
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | CountMetricProducer_test.cpp | 50 EXPECT_EQ(660000000005, countProducer.getCurrentBucketEndTimeNs()); in TEST() 256 int64_t lastEndTimeNs = countProducer.getCurrentBucketEndTimeNs(); in TEST()
|
D | DurationMetricProducer_test.cpp | 56 EXPECT_EQ(660000000005, durationProducer.getCurrentBucketEndTimeNs()); in TEST()
|
D | GaugeMetricProducer_test.cpp | 87 EXPECT_EQ(660000000005, gaugeProducer.getCurrentBucketEndTimeNs()); in TEST()
|
D | ValueMetricProducer_test.cpp | 206 EXPECT_EQ(660000000005, valueProducer.getCurrentBucketEndTimeNs()); in TEST()
|