Home
last modified time | relevance | path

Searched refs:mAnomalyTrackers (Results 1 – 10 of 10) sorted by relevance

/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DDurationTracker.h93 mAnomalyTrackers(anomalyTrackers), in DurationTracker()
102 mAnomalyTrackers.clear(); in onConfigUpdated()
147 mAnomalyTrackers.push_back(anomalyTracker); in addAnomalyTracker()
173 for (auto& anomalyTracker : mAnomalyTrackers) { in startAnomalyAlarm()
186 for (auto& anomalyTracker : mAnomalyTrackers) { in stopAnomalyAlarm()
195 for (auto& anomalyTracker : mAnomalyTrackers) { in addPastBucketToAnomalyTrackers()
204 for (auto& anomalyTracker : mAnomalyTrackers) { in detectAndDeclareAnomaly()
269 std::vector<sp<AnomalyTracker>> mAnomalyTrackers; variable
DOringDurationTracker.cpp201 if (isFullBucket || mAnomalyTrackers.empty()) { in flushCurrentBucket()
239 return mStarted.empty() && mPaused.empty() && (isFullBucket || mAnomalyTrackers.size() == 0); in flushCurrentBucket()
/packages/modules/StatsD/statsd/src/metrics/
DCountMetricProducer.cpp394 for (auto& tracker : mAnomalyTrackers) { in onMatchedLogEventInternalLocked()
475 if (mAnomalyTrackers.size() > 0) { in flushCurrentBucketLocked()
483 for (auto& tracker : mAnomalyTrackers) { in flushCurrentBucketLocked()
489 for (auto& tracker : mAnomalyTrackers) { in flushCurrentBucketLocked()
DNumericValueMetricProducer.cpp515 for (auto& tracker : mAnomalyTrackers) { in aggregateFields()
555 if (mAnomalyTrackers.size() > 0) { in closeCurrentBucket()
596 for (auto& tracker : mAnomalyTrackers) { in appendToFullBucket()
606 for (auto& tracker : mAnomalyTrackers) { in appendToFullBucket()
DGaugeMetricProducer.cpp595 if (mAnomalyTrackers.size() > 0) { in onMatchedLogEventInternalLocked()
604 for (auto& tracker : mAnomalyTrackers) { in onMatchedLogEventInternalLocked()
700 if (mAnomalyTrackers.size() > 0) { in flushCurrentBucketLocked()
705 for (auto& tracker : mAnomalyTrackers) { in flushCurrentBucketLocked()
DMetricProducer.h371 mAnomalyTrackers.push_back(anomalyTracker); in addAnomalyTracker()
378 mAnomalyTrackers.push_back(anomalyTracker); in addAnomalyTracker()
559 std::vector<sp<AnomalyTracker>> mAnomalyTrackers; variable
DDurationMetricProducer.cpp314 mAnomalyTrackers.push_back(anomalyTracker); in addAnomalyTrackerLocked()
356 mConditionSliced, mHasLinksToAllConditionDimensionsInTracker, mAnomalyTrackers); in createDurationTracker()
361 mConditionSliced, mHasLinksToAllConditionDimensionsInTracker, mAnomalyTrackers); in createDurationTracker()
DMetricProducer.cpp114 mAnomalyTrackers.clear(); in onConfigUpdatedLocked()
/packages/modules/StatsD/statsd/tests/metrics/
DMaxDurationTracker_test.cpp229 EXPECT_TRUE(tracker.mAnomalyTrackers.empty()); in TEST()
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dconfig_update_utils_test.cpp3850 EXPECT_THAT(newMetricProducers[0]->mAnomalyTrackers, in TEST_F()
3856 durationProducer->mAnomalyTrackers, in TEST_F()
3861 EXPECT_EQ(durationTrackerIt.second->mAnomalyTrackers, durationProducer->mAnomalyTrackers); in TEST_F()