/frameworks/base/cmds/statsd/src/anomaly/ |
D | AnomalyTracker.cpp | 34 AnomalyTracker::AnomalyTracker(const Alert& alert, const ConfigKey& configKey) in AnomalyTracker() function in android::os::statsd::AnomalyTracker 48 AnomalyTracker::~AnomalyTracker() { in ~AnomalyTracker() 52 void AnomalyTracker::resetStorage() { in resetStorage() 60 size_t AnomalyTracker::index(int64_t bucketNum) const { in index() 67 void AnomalyTracker::advanceMostRecentBucketTo(const int64_t& bucketNum) { in advanceMostRecentBucketTo() 93 void AnomalyTracker::addPastBucket(const MetricDimensionKey& key, in addPastBucket() 123 void AnomalyTracker::addPastBucket(std::shared_ptr<DimToValMap> bucket, in addPastBucket() 142 void AnomalyTracker::subtractBucketFromSum(const shared_ptr<DimToValMap>& bucket) { in subtractBucketFromSum() 152 void AnomalyTracker::subtractValueFromSum(const MetricDimensionKey& key, in subtractValueFromSum() 164 void AnomalyTracker::addBucketToSum(const shared_ptr<DimToValMap>& bucket) { in addBucketToSum() [all …]
|
D | AnomalyTracker.h | 39 class AnomalyTracker : public virtual RefBase { 41 AnomalyTracker(const Alert& alert, const ConfigKey& configKey); 43 virtual ~AnomalyTracker();
|
D | DurationAnomalyTracker.h | 28 class DurationAnomalyTracker : public virtual AnomalyTracker {
|
D | DurationAnomalyTracker.cpp | 29 : AnomalyTracker(alert, configKey), mAlarmMonitor(alarmMonitor) { in DurationAnomalyTracker()
|
/frameworks/base/cmds/statsd/tests/ |
D | MetricsManager_test.cpp | 280 std::vector<sp<AnomalyTracker>> allAnomalyTrackers; in TEST() 312 std::vector<sp<AnomalyTracker>> allAnomalyTrackers; in TEST() 341 std::vector<sp<AnomalyTracker>> allAnomalyTrackers; in TEST() 370 std::vector<sp<AnomalyTracker>> allAnomalyTrackers; in TEST() 398 std::vector<sp<AnomalyTracker>> allAnomalyTrackers; in TEST() 426 std::vector<sp<AnomalyTracker>> allAnomalyTrackers; in TEST() 455 std::vector<sp<AnomalyTracker>> allAnomalyTrackers; in TEST()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | MetricProducer.h | 184 virtual sp<AnomalyTracker> addAnomalyTracker(const Alert &alert, in addAnomalyTracker() 187 sp<AnomalyTracker> anomalyTracker = new AnomalyTracker(alert, mConfigKey); in addAnomalyTracker() 367 std::vector<sp<AnomalyTracker>> mAnomalyTrackers;
|
D | metrics_manager_util.h | 106 vector<sp<AnomalyTracker>>& allAnomalyTrackers,
|
D | DurationMetricProducer.h | 49 sp<AnomalyTracker> addAnomalyTracker(const Alert &alert,
|
D | metrics_manager_util.cpp | 611 vector<sp<AnomalyTracker>>& allAnomalyTrackers) { in initAlerts() 632 sp<AnomalyTracker> anomalyTracker = metric->addAnomalyTracker(alert, anomalyAlarmMonitor); in initAlerts() 783 vector<sp<AnomalyTracker>>& allAnomalyTrackers, in initStatsdConfig()
|
D | MetricsManager.h | 204 std::vector<sp<AnomalyTracker>> mAllAnomalyTrackers;
|
D | DurationMetricProducer.cpp | 143 sp<AnomalyTracker> DurationMetricProducer::addAnomalyTracker( in addAnomalyTracker()
|
/frameworks/base/cmds/statsd/tests/anomaly/ |
D | AnomalyTracker_test.cpp | 69 bool detectAnomaliesPass(AnomalyTracker& tracker, in detectAnomaliesPass() 88 void detectAndDeclareAnomalies(AnomalyTracker& tracker, in detectAndDeclareAnomalies() 102 void checkRefractoryTimes(AnomalyTracker& tracker, in checkRefractoryTimes() 128 AnomalyTracker anomalyTracker(alert, kConfigKey); in TEST() 273 AnomalyTracker anomalyTracker(alert, kConfigKey); in TEST()
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | Anomaly_count_e2e_test.cpp | 73 sp<AnomalyTracker> anomalyTracker = in TEST() 176 sp<AnomalyTracker> anomalyTracker = in TEST()
|
D | Anomaly_duration_sum_e2e_test.cpp | 109 sp<AnomalyTracker> anomalyTracker = in TEST() 286 sp<AnomalyTracker> anomalyTracker = in TEST() 399 sp<AnomalyTracker> anomalyTracker = in TEST()
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | CountMetricProducer_test.cpp | 236 sp<AnomalyTracker> anomalyTracker = countProducer.addAnomalyTracker(alert, alarmMonitor); in TEST() 350 sp<AnomalyTracker> anomalyTracker = countProducer.addAnomalyTracker(alert, alarmMonitor); in TEST()
|
D | GaugeMetricProducer_test.cpp | 216 sp<AnomalyTracker> anomalyTracker = gaugeProducer.addAnomalyTracker(alert, alarmMonitor); in TEST() 595 sp<AnomalyTracker> anomalyTracker = gaugeProducer.addAnomalyTracker(alert, alarmMonitor); in TEST()
|
D | DurationMetricProducer_test.cpp | 325 sp<AnomalyTracker> anomalyTracker = durationProducer.addAnomalyTracker(alert, alarmMonitor); in TEST()
|
D | ValueMetricProducer_test.cpp | 977 sp<AnomalyTracker> anomalyTracker = valueProducer.addAnomalyTracker(alert, alarmMonitor); in TEST()
|
/frameworks/base/cmds/statsd/ |
D | Android.bp | 61 "src/anomaly/AnomalyTracker.cpp",
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 2883 * frameworks/base/cmds/statsd/src/anomaly/AnomalyTracker.cpp
|