Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/anomaly/
DAlarmTracker.cpp73 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& firedAlarms) { in informAlarmsFired() argument
74 if (firedAlarms.empty() || mInternalAlarm == nullptr || in informAlarmsFired()
75 firedAlarms.find(mInternalAlarm) == firedAlarms.end()) { in informAlarmsFired()
83 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.h46 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& firedAlarms);
DDurationAnomalyTracker.h52 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& firedAlarms) override;
DAnomalyTracker.h135 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& firedAlarms) { in informAlarmsFired() argument
/packages/modules/StatsD/statsd/tests/metrics/
DMaxDurationTracker_test.cpp344 std::unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> firedAlarms({alarm}); in TEST() local
345 anomalyTracker->informAlarmsFired(anomalyFireTimeSec * NS_PER_SEC, firedAlarms); in TEST()
DOringDurationTracker_test.cpp562 std::unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> firedAlarms({alarm}); in TEST() local
563 anomalyTracker->informAlarmsFired(62 * NS_PER_SEC, firedAlarms); in TEST()