Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/e2e/
DAnomaly_count_e2e_test.cpp98 EXPECT_EQ(0u, anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey1)); in TEST()
102 EXPECT_EQ(0u, anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey2)); in TEST()
106 EXPECT_EQ(0u, anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey1)); in TEST()
110 EXPECT_EQ(0u, anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey2)); in TEST()
114 EXPECT_EQ(0u, anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey1)); in TEST()
118 EXPECT_EQ(0u, anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey2)); in TEST()
124 anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey1)); in TEST()
129 anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey1)); in TEST()
134 anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey1)); in TEST()
139 anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey1)); in TEST()
[all …]
DAnomaly_duration_sum_e2e_test.cpp124 EXPECT_EQ(0u, anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey)); in TEST()
130 EXPECT_EQ(0u, anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey)); in TEST()
137 EXPECT_EQ(0u, anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey)); in TEST()
145 anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey)); in TEST()
164 anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey)); in TEST()
173 anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey)); in TEST()
190 anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey)); in TEST()
211 anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey)); in TEST()
220 anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey)); in TEST()
230 anomalyTracker->getRefractoryPeriodEndsSec(dimensionKey)); in TEST()
[all …]
/frameworks/base/cmds/statsd/tests/metrics/
DOringDurationTracker_test.cpp403 anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY)); in TEST()
407 anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY)); in TEST()
447 anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY); in TEST()
500 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(eventKey), 0U); in TEST()
516 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(eventKey), in TEST()
552 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(eventKey), 0U); in TEST()
556 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(eventKey), 0U); in TEST()
562 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(eventKey), 0U); in TEST()
568 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(eventKey), 0U); in TEST()
574 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(eventKey), 0U); in TEST()
[all …]
DCountMetricProducer_test.cpp374 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), 0U); in TEST()
380 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), 0U); in TEST()
389 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), in TEST()
395 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), in TEST()
DGaugeMetricProducer_test.cpp609 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), 0U); in TEST()
623 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), in TEST()
638 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), in TEST()
DMaxDurationTracker_test.cpp358 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(eventKey), refractoryPeriodEndsSec); in TEST()
DValueMetricProducer_test.cpp1015 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), 0U); in TEST()
1020 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), 0U); in TEST()
1025 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), in TEST()
1029 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), in TEST()
1034 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), in TEST()
/frameworks/base/cmds/statsd/src/anomaly/
DAnomalyTracker.h100 uint32_t getRefractoryPeriodEndsSec(const MetricDimensionKey& key) const { in getRefractoryPeriodEndsSec() function
/frameworks/base/cmds/statsd/tests/anomaly/
DAnomalyTracker_test.cpp109 EXPECT_LT(tracker.getRefractoryPeriodEndsSec(kv.first) * NS_PER_SEC, in checkRefractoryTimes()
113 EXPECT_EQ(tracker.getRefractoryPeriodEndsSec(kv.first), in checkRefractoryTimes()
/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DMaxDurationTracker.cpp331 int64_t refractoryEndNs = anomalyTracker.getRefractoryPeriodEndsSec(mEventKey) * NS_PER_SEC; in predictAnomalyTimestampNs()
DOringDurationTracker.cpp345 anomalyTracker.getRefractoryPeriodEndsSec(mEventKey) * NS_PER_SEC; in predictAnomalyTimestampNs()