Searched refs:alarmSet (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/cmds/statsd/tests/e2e/ |
D | Alarm_e2e_test.cpp | 69 auto alarmSet = processor->getPeriodicAlarmMonitor()->popSoonerThan( in TEST() local 71 EXPECT_EQ(1u, alarmSet.size()); in TEST() 72 processor->onPeriodicAlarmFired(alarmFiredTimestampSec0 * NS_PER_SEC, alarmSet); in TEST() 78 alarmSet = processor->getPeriodicAlarmMonitor()->popSoonerThan( in TEST() 80 EXPECT_EQ(2u, alarmSet.size()); in TEST() 81 processor->onPeriodicAlarmFired(alarmFiredTimestampSec1 * NS_PER_SEC, alarmSet); in TEST()
|
D | Anomaly_duration_sum_e2e_test.cpp | 158 auto alarmSet = processor->getAnomalyAlarmMonitor()->popSoonerThan( in TEST() local 160 EXPECT_EQ(1u, alarmSet.size()); in TEST() 161 processor->onAnomalyAlarmFired(alarmFiredTimestampSec0 * NS_PER_SEC, alarmSet); in TEST() 192 alarmSet = processor->getAnomalyAlarmMonitor()->popSoonerThan( in TEST() 194 EXPECT_EQ(0u, alarmSet.size()); in TEST() 425 auto alarmSet = processor->getAnomalyAlarmMonitor()->popSoonerThan( in TEST() local 427 EXPECT_EQ(1u, alarmSet.size()); in TEST() 428 processor->onAnomalyAlarmFired(firedAlarmTimestampNs, alarmSet); in TEST()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | MetricsManager.cpp | 381 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& alarmSet) { in onAnomalyAlarmFired() argument 383 itr->informAlarmsFired(timestampNs, alarmSet); in onAnomalyAlarmFired() 389 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& alarmSet) { in onPeriodicAlarmFired() argument 391 itr->informAlarmsFired(timestampNs, alarmSet); in onPeriodicAlarmFired()
|
D | MetricsManager.h | 53 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& alarmSet); 57 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& alarmSet);
|
/frameworks/base/cmds/statsd/src/ |
D | StatsLogProcessor.h | 72 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> alarmSet); 77 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> alarmSet);
|
D | StatsLogProcessor.cpp | 94 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> alarmSet) { in onAnomalyAlarmFired() argument 97 itr.second->onAnomalyAlarmFired(timestampNs, alarmSet); in onAnomalyAlarmFired() 102 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> alarmSet) { in onPeriodicAlarmFired() argument 106 itr.second->onPeriodicAlarmFired(timestampNs, alarmSet); in onPeriodicAlarmFired()
|
D | StatsService.cpp | 799 std::unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> alarmSet = in informAnomalyAlarmFired() local 801 if (alarmSet.size() > 0) { in informAnomalyAlarmFired() 803 mProcessor->onAnomalyAlarmFired(currentTimeSec * NS_PER_SEC, alarmSet); in informAnomalyAlarmFired() 815 std::unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> alarmSet = in informAlarmForSubscriberTriggeringFired() local 817 if (alarmSet.size() > 0) { in informAlarmForSubscriberTriggeringFired() 819 mProcessor->onPeriodicAlarmFired(currentTimeSec * NS_PER_SEC, alarmSet); in informAlarmForSubscriberTriggeringFired()
|