Home
last modified time | relevance | path

Searched refs:firedAlarms (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/cmds/statsd/src/anomaly/
DAlarmTracker.cpp74 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& firedAlarms) { in informAlarmsFired() argument
75 if (firedAlarms.empty() || mInternalAlarm == nullptr || in informAlarmsFired()
76 firedAlarms.find(mInternalAlarm) == firedAlarms.end()) { in informAlarmsFired()
84 firedAlarms.erase(mInternalAlarm); in informAlarmsFired()
DDurationAnomalyTracker.cpp88 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& firedAlarms) { in informAlarmsFired() argument
90 if (firedAlarms.empty() || mAlarms.empty()) return; in informAlarmsFired()
98 if (firedAlarms.count(kv.second) > 0) { in informAlarmsFired()
109 firedAlarms.erase(kv.second); // No one else can also own it, so we're done with it. in informAlarmsFired()
DAlarmTracker.h49 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& firedAlarms);
DDurationAnomalyTracker.h52 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& firedAlarms) override;
DAnomalyTracker.h111 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& firedAlarms) { in informAlarmsFired() argument
/frameworks/base/cmds/statsd/tests/metrics/
DMaxDurationTracker_test.cpp354 std::unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> firedAlarms({alarm}); in TEST() local
355 anomalyTracker->informAlarmsFired(anomalyFireTimeSec * NS_PER_SEC, firedAlarms); in TEST()
DOringDurationTracker_test.cpp577 std::unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> firedAlarms({alarm}); in TEST() local
578 anomalyTracker->informAlarmsFired(62 * NS_PER_SEC, firedAlarms); in TEST()