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 | 499 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& alarmSet) { in onAnomalyAlarmFired() argument 501 itr->informAlarmsFired(timestampNs, alarmSet); in onAnomalyAlarmFired() 507 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& alarmSet) { in onPeriodicAlarmFired() argument 509 itr->informAlarmsFired(timestampNs, alarmSet); in onPeriodicAlarmFired()
|
D | MetricsManager.h | 59 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& alarmSet); 63 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>>& alarmSet);
|
/frameworks/base/cmds/statsd/src/ |
D | StatsLogProcessor.h | 70 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> alarmSet); 75 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> alarmSet);
|
D | StatsLogProcessor.cpp | 115 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> alarmSet) { in onAnomalyAlarmFired() argument 118 itr.second->onAnomalyAlarmFired(timestampNs, alarmSet); in onAnomalyAlarmFired() 123 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> alarmSet) { in onPeriodicAlarmFired() argument 127 itr.second->onPeriodicAlarmFired(timestampNs, alarmSet); in onPeriodicAlarmFired()
|
D | StatsService.cpp | 1030 std::unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> alarmSet = in informAnomalyAlarmFired() local 1032 if (alarmSet.size() > 0) { in informAnomalyAlarmFired() 1034 mProcessor->onAnomalyAlarmFired(currentTimeSec * NS_PER_SEC, alarmSet); in informAnomalyAlarmFired() 1046 std::unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> alarmSet = in informAlarmForSubscriberTriggeringFired() local 1048 if (alarmSet.size() > 0) { in informAlarmForSubscriberTriggeringFired() 1050 mProcessor->onPeriodicAlarmFired(currentTimeSec * NS_PER_SEC, alarmSet); in informAlarmForSubscriberTriggeringFired()
|