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.cpp367 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), 0U); in TEST()
373 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), 0U); in TEST()
382 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), in TEST()
388 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), in TEST()
DGaugeMetricProducer_test.cpp460 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), 0U); in TEST()
474 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), in TEST()
489 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), in TEST()
DValueMetricProducer_test.cpp676 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), 0U); in TEST()
681 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), 0U); in TEST()
686 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), in TEST()
690 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), in TEST()
695 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(DEFAULT_METRIC_DIMENSION_KEY), in TEST()
DMaxDurationTracker_test.cpp358 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(eventKey), refractoryPeriodEndsSec); in TEST()
/frameworks/base/cmds/statsd/src/anomaly/
DAnomalyTracker.h98 uint32_t getRefractoryPeriodEndsSec(const MetricDimensionKey& key) const { in getRefractoryPeriodEndsSec() function
/frameworks/base/cmds/statsd/tests/anomaly/
DAnomalyTracker_test.cpp108 EXPECT_LT(tracker.getRefractoryPeriodEndsSec(kv.first) * NS_PER_SEC, in checkRefractoryTimes()
112 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.cpp346 anomalyTracker.getRefractoryPeriodEndsSec(mEventKey) * NS_PER_SEC; in predictAnomalyTimestampNs()