Home
last modified time | relevance | path

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

/frameworks/base/cmds/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.cpp39 mAlarmMonitor(alarmMonitor) { in AlarmTracker()
47 if (mAlarmMonitor != nullptr) { in AlarmTracker()
48 mAlarmMonitor->add(mInternalAlarm); in AlarmTracker()
54 if (mInternalAlarm != nullptr && mAlarmMonitor != nullptr) { in ~AlarmTracker()
55 mAlarmMonitor->remove(mInternalAlarm); in ~AlarmTracker()
88 if (mAlarmMonitor != nullptr) { in informAlarmsFired()
89 mAlarmMonitor->add(mInternalAlarm); in informAlarmsFired()
DAlarmTracker.h69 sp<AlarmMonitor> mAlarmMonitor; variable
DDurationAnomalyTracker.h67 sp<AlarmMonitor> mAlarmMonitor; variable