Searched refs:getAlarmTimestampSec (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/cmds/statsd/tests/e2e/ |
D | Anomaly_duration_sum_e2e_test.cpp | 123 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 …]
|
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()
|
/frameworks/base/cmds/statsd/src/anomaly/ |
D | AlarmTracker.h | 53 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 | 121 virtual uint32_t getAlarmTimestampSec(const MetricDimensionKey& dimensionKey) const { in getAlarmTimestampSec() function
|