Home
last modified time | relevance | path

Searched refs:mInternalAlarm (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/statsd/src/anomaly/
DAlarmTracker.cpp45 mInternalAlarm = new InternalAlarm{static_cast<uint32_t>(mAlarmSec)}; in AlarmTracker()
48 mAlarmMonitor->add(mInternalAlarm); in AlarmTracker()
54 if (mInternalAlarm != nullptr && mAlarmMonitor != nullptr) { in ~AlarmTracker()
55 mAlarmMonitor->remove(mInternalAlarm); in ~AlarmTracker()
75 if (firedAlarms.empty() || mInternalAlarm == nullptr || in informAlarmsFired()
76 firedAlarms.find(mInternalAlarm) == firedAlarms.end()) { in informAlarmsFired()
84 firedAlarms.erase(mInternalAlarm); in informAlarmsFired()
86 mInternalAlarm = new InternalAlarm{static_cast<uint32_t>(mAlarmSec)}; in informAlarmsFired()
89 mAlarmMonitor->add(mInternalAlarm); in informAlarmsFired()
DAlarmTracker.h54 return mInternalAlarm == nullptr ? 0 : mInternalAlarm->timestampSec; in getAlarmTimestampSec()
75 sp<const InternalAlarm> mInternalAlarm; variable