Searched refs:firedAlarms (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/cmds/statsd/src/anomaly/ |
D | AlarmTracker.cpp | 74 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()
|
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 | 49 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& firedAlarms);
|
D | DurationAnomalyTracker.h | 52 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& firedAlarms) override;
|
D | AnomalyTracker.h | 111 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& firedAlarms) { in informAlarmsFired() argument
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | MaxDurationTracker_test.cpp | 354 std::unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> firedAlarms({alarm}); in TEST() local 355 anomalyTracker->informAlarmsFired(anomalyFireTimeSec * NS_PER_SEC, firedAlarms); in TEST()
|
D | OringDurationTracker_test.cpp | 577 std::unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> firedAlarms({alarm}); in TEST() local 578 anomalyTracker->informAlarmsFired(62 * NS_PER_SEC, firedAlarms); in TEST()
|