Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/anomaly/
DAlarmTracker_test.cpp43 int64_t nextAlarmTime = startMillis / MS_PER_SEC + 15; in TEST() local
46 EXPECT_EQ(tracker.mAlarmSec, nextAlarmTime); in TEST()
53 EXPECT_EQ(tracker.mAlarmSec, nextAlarmTime); in TEST()
54 EXPECT_EQ(tracker.getAlarmTimestampSec(), nextAlarmTime); in TEST()
57 nextAlarmTime = startMillis / MS_PER_SEC + 15 + 2 * 60 * 60; in TEST()
62 EXPECT_EQ(tracker.mAlarmSec, nextAlarmTime); in TEST()
63 EXPECT_EQ(tracker.getAlarmTimestampSec(), nextAlarmTime); in TEST()
67 nextAlarmTime = startMillis / MS_PER_SEC + 15 + 3 * 60 * 60; in TEST()
72 EXPECT_EQ(tracker.mAlarmSec, nextAlarmTime); in TEST()
73 EXPECT_EQ(tracker.getAlarmTimestampSec(), nextAlarmTime); in TEST()
[all …]