Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/e2e/
DAnomaly_duration_sum_e2e_test.cpp123 anomalyTracker->getAlarmTimestampSec(dimensionKey)); in TEST()
129 EXPECT_EQ(0u, anomalyTracker->getAlarmTimestampSec(dimensionKey)); in TEST()
136 anomalyTracker->getAlarmTimestampSec(dimensionKey)); in TEST()
143 EXPECT_EQ(0u, anomalyTracker->getAlarmTimestampSec(dimensionKey)); in TEST()
153 const int64_t alarmFiredTimestampSec0 = anomalyTracker->getAlarmTimestampSec(dimensionKey); in TEST()
162 EXPECT_EQ(0u, anomalyTracker->getAlarmTimestampSec(dimensionKey)); in TEST()
170 EXPECT_EQ(0u, anomalyTracker->getAlarmTimestampSec(dimensionKey)); in TEST()
179 const int64_t alarmFiredTimestampSec1 = anomalyTracker->getAlarmTimestampSec(dimensionKey); in TEST()
187 EXPECT_EQ(0u, anomalyTracker->getAlarmTimestampSec(dimensionKey)); in TEST()
201 anomalyTracker->getAlarmTimestampSec(dimensionKey)); in TEST()
[all …]
DAlarm_e2e_test.cpp64 EXPECT_EQ(alarmTimestampSec0, alarmTracker1->getAlarmTimestampSec()); in TEST()
65 EXPECT_EQ(alarmTimestampSec1, alarmTracker2->getAlarmTimestampSec()); in TEST()
73 EXPECT_EQ(alarmTimestampSec0, alarmTracker1->getAlarmTimestampSec()); in TEST()
74 EXPECT_EQ(alarmTimestampSec1 + 30 * 60, alarmTracker2->getAlarmTimestampSec()); in TEST()
82 EXPECT_EQ(alarmTimestampSec0 + 60 * 60 * 3, alarmTracker1->getAlarmTimestampSec()); in TEST()
83 EXPECT_EQ(alarmTimestampSec1 + 30 * 60 * 5, alarmTracker2->getAlarmTimestampSec()); in TEST()
/frameworks/base/cmds/statsd/tests/anomaly/
DAlarmTracker_test.cpp54 EXPECT_EQ(tracker.getAlarmTimestampSec(), nextAlarmTime); in TEST()
63 EXPECT_EQ(tracker.getAlarmTimestampSec(), nextAlarmTime); in TEST()
73 EXPECT_EQ(tracker.getAlarmTimestampSec(), nextAlarmTime); in TEST()
83 EXPECT_EQ(tracker.getAlarmTimestampSec(), nextAlarmTime); in TEST()
/frameworks/base/cmds/statsd/src/anomaly/
DAlarmTracker.h53 inline int32_t getAlarmTimestampSec() const { in getAlarmTimestampSec() function
DDurationAnomalyTracker.h57 uint32_t getAlarmTimestampSec(const MetricDimensionKey& dimensionKey) const override { in getAlarmTimestampSec() function
DAnomalyTracker.h119 virtual uint32_t getAlarmTimestampSec(const MetricDimensionKey& dimensionKey) const { in getAlarmTimestampSec() function