Home
last modified time | relevance | path

Searched refs:AnomalyTracker (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/cmds/statsd/src/anomaly/
DAnomalyTracker.cpp35 AnomalyTracker::AnomalyTracker(const Alert& alert, const ConfigKey& configKey) in AnomalyTracker() function in android::os::statsd::AnomalyTracker
49 AnomalyTracker::~AnomalyTracker() { in ~AnomalyTracker()
53 void AnomalyTracker::resetStorage() { in resetStorage()
61 size_t AnomalyTracker::index(int64_t bucketNum) const { in index()
68 void AnomalyTracker::advanceMostRecentBucketTo(const int64_t& bucketNum) { in advanceMostRecentBucketTo()
94 void AnomalyTracker::addPastBucket(const MetricDimensionKey& key, in addPastBucket()
124 void AnomalyTracker::addPastBucket(std::shared_ptr<DimToValMap> bucket, in addPastBucket()
143 void AnomalyTracker::subtractBucketFromSum(const shared_ptr<DimToValMap>& bucket) { in subtractBucketFromSum()
153 void AnomalyTracker::subtractValueFromSum(const MetricDimensionKey& key, in subtractValueFromSum()
165 void AnomalyTracker::addBucketToSum(const shared_ptr<DimToValMap>& bucket) { in addBucketToSum()
[all …]
DAnomalyTracker.h37 class AnomalyTracker : public virtual RefBase {
39 AnomalyTracker(const Alert& alert, const ConfigKey& configKey);
41 virtual ~AnomalyTracker();
DDurationAnomalyTracker.h28 class DurationAnomalyTracker : public virtual AnomalyTracker {
DDurationAnomalyTracker.cpp29 : AnomalyTracker(alert, configKey), mAlarmMonitor(alarmMonitor) { in DurationAnomalyTracker()
/frameworks/base/cmds/statsd/tests/
DMetricsManager_test.cpp280 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/
DMetricProducer.h177 virtual sp<AnomalyTracker> addAnomalyTracker(const Alert &alert, in addAnomalyTracker()
180 sp<AnomalyTracker> anomalyTracker = new AnomalyTracker(alert, mConfigKey); in addAnomalyTracker()
360 std::vector<sp<AnomalyTracker>> mAnomalyTrackers;
Dmetrics_manager_util.h105 vector<sp<AnomalyTracker>>& allAnomalyTrackers,
DDurationMetricProducer.h49 sp<AnomalyTracker> addAnomalyTracker(const Alert &alert,
DMetricsManager.h200 std::vector<sp<AnomalyTracker>> mAllAnomalyTrackers;
Dmetrics_manager_util.cpp609 vector<sp<AnomalyTracker>>& allAnomalyTrackers) { in initAlerts()
630 sp<AnomalyTracker> anomalyTracker = metric->addAnomalyTracker(alert, anomalyAlarmMonitor); in initAlerts()
781 vector<sp<AnomalyTracker>>& allAnomalyTrackers, in initStatsdConfig()
DDurationMetricProducer.cpp143 sp<AnomalyTracker> DurationMetricProducer::addAnomalyTracker( in addAnomalyTracker()
/frameworks/base/cmds/statsd/tests/anomaly/
DAnomalyTracker_test.cpp69 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/
DAnomaly_count_e2e_test.cpp73 sp<AnomalyTracker> anomalyTracker = in TEST()
176 sp<AnomalyTracker> anomalyTracker = in TEST()
DAnomaly_duration_sum_e2e_test.cpp109 sp<AnomalyTracker> anomalyTracker = in TEST()
286 sp<AnomalyTracker> anomalyTracker = in TEST()
399 sp<AnomalyTracker> anomalyTracker = in TEST()
/frameworks/base/cmds/statsd/tests/metrics/
DCountMetricProducer_test.cpp236 sp<AnomalyTracker> anomalyTracker = countProducer.addAnomalyTracker(alert, alarmMonitor); in TEST()
350 sp<AnomalyTracker> anomalyTracker = countProducer.addAnomalyTracker(alert, alarmMonitor); in TEST()
DGaugeMetricProducer_test.cpp216 sp<AnomalyTracker> anomalyTracker = gaugeProducer.addAnomalyTracker(alert, alarmMonitor); in TEST()
595 sp<AnomalyTracker> anomalyTracker = gaugeProducer.addAnomalyTracker(alert, alarmMonitor); in TEST()
DDurationMetricProducer_test.cpp325 sp<AnomalyTracker> anomalyTracker = durationProducer.addAnomalyTracker(alert, alarmMonitor); in TEST()
DValueMetricProducer_test.cpp977 sp<AnomalyTracker> anomalyTracker = valueProducer.addAnomalyTracker(alert, alarmMonitor); in TEST()
/frameworks/base/cmds/statsd/
DAndroid.bp62 "src/anomaly/AnomalyTracker.cpp",
/frameworks/base/cmds/statsd/src/
Datoms.proto3165 * frameworks/base/cmds/statsd/src/anomaly/AnomalyTracker.cpp