Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/anomaly/
DAlarmTracker_test.cpp49 std::unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> firedAlarmSet = in TEST() local
51 EXPECT_TRUE(firedAlarmSet.empty()); in TEST()
52 tracker.informAlarmsFired(currentTimeSec * NS_PER_SEC, firedAlarmSet); in TEST()
58 firedAlarmSet = subscriberAlarmMonitor->popSoonerThan(static_cast<uint32_t>(currentTimeSec)); in TEST()
59 EXPECT_EQ(firedAlarmSet.size(), 1u); in TEST()
60 tracker.informAlarmsFired(currentTimeSec * NS_PER_SEC, firedAlarmSet); in TEST()
61 EXPECT_TRUE(firedAlarmSet.empty()); in TEST()
68 firedAlarmSet = subscriberAlarmMonitor->popSoonerThan(static_cast<uint32_t>(currentTimeSec)); in TEST()
69 ASSERT_EQ(firedAlarmSet.size(), 1u); in TEST()
70 tracker.informAlarmsFired(currentTimeSec * NS_PER_SEC, firedAlarmSet); in TEST()
[all …]