Searched refs:getAlarmTimestampSec (Results 1 – 7 of 7) sorted by relevance
/packages/modules/StatsD/statsd/tests/e2e/ |
D | Anomaly_duration_sum_e2e_test.cpp | 143 anomalyTracker->getAlarmTimestampSec(dimensionKey1)); in TEST() 150 EXPECT_EQ(0u, anomalyTracker->getAlarmTimestampSec(dimensionKey1)); in TEST() 158 anomalyTracker->getAlarmTimestampSec(dimensionKey1)); in TEST() 165 EXPECT_EQ(0u, anomalyTracker->getAlarmTimestampSec(dimensionKey1)); in TEST() 175 const int64_t alarmFiredTimestampSec0 = anomalyTracker->getAlarmTimestampSec(dimensionKey1); in TEST() 185 EXPECT_EQ(0u, anomalyTracker->getAlarmTimestampSec(dimensionKey1)); in TEST() 194 EXPECT_EQ(0u, anomalyTracker->getAlarmTimestampSec(dimensionKey1)); in TEST() 204 const int64_t alarmFiredTimestampSec1 = anomalyTracker->getAlarmTimestampSec(dimensionKey1); in TEST() 213 EXPECT_EQ(0u, anomalyTracker->getAlarmTimestampSec(dimensionKey1)); in TEST() 226 anomalyTracker->getAlarmTimestampSec(dimensionKey1)); in TEST() [all …]
|
D | Alarm_e2e_test.cpp | 64 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()
|
/packages/modules/StatsD/statsd/tests/anomaly/ |
D | AlarmTracker_test.cpp | 57 EXPECT_EQ(tracker.getAlarmTimestampSec(), nextAlarmTime); in TEST() 66 EXPECT_EQ(tracker.getAlarmTimestampSec(), nextAlarmTime); in TEST() 76 EXPECT_EQ(tracker.getAlarmTimestampSec(), nextAlarmTime); in TEST() 86 EXPECT_EQ(tracker.getAlarmTimestampSec(), nextAlarmTime); in TEST()
|
/packages/modules/StatsD/statsd/src/anomaly/ |
D | AlarmTracker.h | 50 inline int32_t getAlarmTimestampSec() const { in getAlarmTimestampSec() function
|
D | DurationAnomalyTracker.h | 57 uint32_t getAlarmTimestampSec(const MetricDimensionKey& dimensionKey) const override { in getAlarmTimestampSec() function
|
D | AnomalyTracker.h | 154 virtual uint32_t getAlarmTimestampSec(const MetricDimensionKey& dimensionKey) const { in getAlarmTimestampSec() function
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | config_update_utils_test.cpp | 3469 EXPECT_EQ(oldAlarmTrackers[0]->getAlarmTimestampSec(), timeBaseNs / NS_PER_SEC + 1); in TEST_F() 3470 EXPECT_EQ(oldAlarmTrackers[1]->getAlarmTimestampSec(), timeBaseNs / NS_PER_SEC + 1); in TEST_F() 3471 EXPECT_EQ(oldAlarmTrackers[2]->getAlarmTimestampSec(), timeBaseNs / NS_PER_SEC + 10); in TEST_F() 3491 EXPECT_EQ(newAlarmTrackers[0]->getAlarmTimestampSec(), timeBaseNs / NS_PER_SEC + 1 + 50); in TEST_F() 3492 EXPECT_EQ(newAlarmTrackers[1]->getAlarmTimestampSec(), timeBaseNs / NS_PER_SEC + 5); in TEST_F() 3493 EXPECT_EQ(newAlarmTrackers[2]->getAlarmTimestampSec(), timeBaseNs / NS_PER_SEC + 10); in TEST_F() 3522 EXPECT_EQ(newAlarmTrackers[0]->getAlarmTimestampSec(), timeBaseNs / NS_PER_SEC + 1 + 2 * 50); in TEST_F() 3523 EXPECT_EQ(newAlarmTrackers[1]->getAlarmTimestampSec(), timeBaseNs / NS_PER_SEC + 5 + 2000); in TEST_F() 3524 EXPECT_EQ(newAlarmTrackers[2]->getAlarmTimestampSec(), timeBaseNs / NS_PER_SEC + 10 + 10000); in TEST_F()
|