Searched refs:firedAlarms (Results 1 – 7 of 7) sorted by relevance
/packages/modules/StatsD/statsd/src/anomaly/ |
D | AlarmTracker.cpp | 73 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()
|
D | DurationAnomalyTracker.cpp | 88 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()
|
D | AlarmTracker.h | 46 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& firedAlarms);
|
D | DurationAnomalyTracker.h | 52 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& firedAlarms) override;
|
D | AnomalyTracker.h | 135 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& firedAlarms) { in informAlarmsFired() argument
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | MaxDurationTracker_test.cpp | 344 std::unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> firedAlarms({alarm}); in TEST() local 345 anomalyTracker->informAlarmsFired(anomalyFireTimeSec * NS_PER_SEC, firedAlarms); in TEST()
|
D | OringDurationTracker_test.cpp | 562 std::unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> firedAlarms({alarm}); in TEST() local 563 anomalyTracker->informAlarmsFired(62 * NS_PER_SEC, firedAlarms); in TEST()
|