Home
last modified time | relevance | path

Searched refs:mAlarmMonitor (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/statsd/src/anomaly/
DDurationAnomalyTracker.cpp29 : AnomalyTracker(alert, configKey), mAlarmMonitor(alarmMonitor) { in DurationAnomalyTracker()
48 if (itr != mAlarms.end() && mAlarmMonitor != nullptr) { in startAlarm()
49 mAlarmMonitor->remove(itr->second); in startAlarm()
54 if (mAlarmMonitor != nullptr) { in startAlarm()
55 mAlarmMonitor->add(alarm); in startAlarm()
72 if (mAlarmMonitor != nullptr) { in stopAlarm()
73 mAlarmMonitor->remove(itr->second); in stopAlarm()
79 if (mAlarmMonitor != nullptr) { in cancelAllAlarms()
81 mAlarmMonitor->remove(itr.second); in cancelAllAlarms()
DAlarmTracker.cpp38 mAlarmMonitor(alarmMonitor) { in AlarmTracker()
46 if (mAlarmMonitor != nullptr) { in AlarmTracker()
47 mAlarmMonitor->add(mInternalAlarm); in AlarmTracker()
53 if (mInternalAlarm != nullptr && mAlarmMonitor != nullptr) { in ~AlarmTracker()
54 mAlarmMonitor->remove(mInternalAlarm); in ~AlarmTracker()
93 if (mAlarmMonitor != nullptr) { in informAlarmsFired()
94 mAlarmMonitor->add(mInternalAlarm); in informAlarmsFired()
DAlarmTracker.h67 sp<AlarmMonitor> mAlarmMonitor; variable
DDurationAnomalyTracker.h66 sp<AlarmMonitor> mAlarmMonitor; variable