Searched refs:getRefractoryPeriodEndsSec (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/cmds/statsd/tests/e2e/ |
D | Anomaly_count_e2e_test.cpp | 98 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 …]
|
D | Anomaly_duration_sum_e2e_test.cpp | 124 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/ |
D | OringDurationTracker_test.cpp | 403 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 …]
|
D | CountMetricProducer_test.cpp | 374 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()
|
D | GaugeMetricProducer_test.cpp | 609 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()
|
D | MaxDurationTracker_test.cpp | 358 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(eventKey), refractoryPeriodEndsSec); in TEST()
|
D | ValueMetricProducer_test.cpp | 1015 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/ |
D | AnomalyTracker.h | 100 uint32_t getRefractoryPeriodEndsSec(const MetricDimensionKey& key) const { in getRefractoryPeriodEndsSec() function
|
/frameworks/base/cmds/statsd/tests/anomaly/ |
D | AnomalyTracker_test.cpp | 109 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/ |
D | MaxDurationTracker.cpp | 331 int64_t refractoryEndNs = anomalyTracker.getRefractoryPeriodEndsSec(mEventKey) * NS_PER_SEC; in predictAnomalyTimestampNs()
|
D | OringDurationTracker.cpp | 345 anomalyTracker.getRefractoryPeriodEndsSec(mEventKey) * NS_PER_SEC; in predictAnomalyTimestampNs()
|