Home
last modified time | relevance | path

Searched refs:DurationAnomalyTracker (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/cmds/statsd/src/anomaly/
DDurationAnomalyTracker.cpp27 DurationAnomalyTracker::DurationAnomalyTracker(const Alert& alert, const ConfigKey& configKey, in DurationAnomalyTracker() function in android::os::statsd::DurationAnomalyTracker
33 DurationAnomalyTracker::~DurationAnomalyTracker() { in ~DurationAnomalyTracker()
38 void DurationAnomalyTracker::startAlarm(const MetricDimensionKey& dimensionKey, in startAlarm()
59 void DurationAnomalyTracker::stopAlarm(const MetricDimensionKey& dimensionKey, in stopAlarm()
78 void DurationAnomalyTracker::cancelAllAlarms() { in cancelAllAlarms()
87 void DurationAnomalyTracker::informAlarmsFired(const int64_t& timestampNs, in informAlarmsFired()
DDurationAnomalyTracker.h28 class DurationAnomalyTracker : public virtual AnomalyTracker {
30 DurationAnomalyTracker(const Alert& alert, const ConfigKey& configKey,
33 virtual ~DurationAnomalyTracker();
/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DDurationTracker.h66 const std::vector<sp<DurationAnomalyTracker>>& anomalyTrackers) in DurationTracker()
110 virtual int64_t predictAnomalyTimestampNs(const DurationAnomalyTracker& anomalyTracker,
202 std::vector<sp<DurationAnomalyTracker>> mAnomalyTrackers;
DMaxDurationTracker.h37 const std::vector<sp<DurationAnomalyTracker>>& anomalyTrackers);
59 int64_t predictAnomalyTimestampNs(const DurationAnomalyTracker& anomalyTracker,
DOringDurationTracker.h35 const std::vector<sp<DurationAnomalyTracker>>& anomalyTrackers);
57 int64_t predictAnomalyTimestampNs(const DurationAnomalyTracker& anomalyTracker,
DMaxDurationTracker.cpp34 const vector<sp<DurationAnomalyTracker>>& anomalyTrackers) in MaxDurationTracker()
316 int64_t MaxDurationTracker::predictAnomalyTimestampNs(const DurationAnomalyTracker& anomalyTracker, in predictAnomalyTimestampNs()
DOringDurationTracker.cpp32 const vector<sp<DurationAnomalyTracker>>& anomalyTrackers) in OringDurationTracker()
328 const DurationAnomalyTracker& anomalyTracker, const int64_t eventTimestampNs) const { in predictAnomalyTimestampNs()
/frameworks/base/cmds/statsd/tests/metrics/
DOringDurationTracker_test.cpp325 sp<DurationAnomalyTracker> anomalyTracker = in TEST()
326 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST()
387 sp<DurationAnomalyTracker> anomalyTracker = in TEST()
388 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST()
432 sp<DurationAnomalyTracker> anomalyTracker = in TEST()
433 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST()
492 sp<DurationAnomalyTracker> anomalyTracker = in TEST()
493 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST()
542 sp<DurationAnomalyTracker> anomalyTracker = in TEST()
543 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST()
DMaxDurationTracker_test.cpp274 sp<DurationAnomalyTracker> anomalyTracker = in TEST()
275 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST()
334 sp<DurationAnomalyTracker> anomalyTracker = in TEST()
335 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST()
417 sp<DurationAnomalyTracker> anomalyTracker = in TEST()
418 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST()
/frameworks/base/cmds/statsd/src/metrics/
DDurationMetricProducer.h139 std::vector<sp<DurationAnomalyTracker>> mAnomalyTrackers;
DDurationMetricProducer.cpp153 sp<DurationAnomalyTracker> anomalyTracker = in addAnomalyTracker()
154 new DurationAnomalyTracker(alert, mConfigKey, anomalyAlarmMonitor); in addAnomalyTracker()
/frameworks/base/cmds/statsd/
DAndroid.bp63 "src/anomaly/DurationAnomalyTracker.cpp",