Home
last modified time | relevance | path

Searched refs:refPeriodSec (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/cmds/statsd/tests/metrics/
DMaxDurationTracker_test.cpp271 const int32_t refPeriodSec = 45; in TEST() local
272 alert.set_refractory_period_secs(refPeriodSec); in TEST()
331 const int32_t refPeriodSec = 45; in TEST() local
332 alert.set_refractory_period_secs(refPeriodSec); in TEST()
357 int64_t refractoryPeriodEndsSec = anomalyFireTimeSec + refPeriodSec; in TEST()
414 const int32_t refPeriodSec = 45; in TEST() local
415 alert.set_refractory_period_secs(refPeriodSec); in TEST()
DOringDurationTracker_test.cpp481 const int32_t refPeriodSec = 45; in TEST() local
482 alert.set_refractory_period_secs(refPeriodSec); in TEST()
517 std::ceil((eventStartTimeNs + 2 * bucketSizeNs + 25.0) / NS_PER_SEC + refPeriodSec)); in TEST()
531 const int32_t refPeriodSec = 45; in TEST() local
532 alert.set_refractory_period_secs(refPeriodSec); in TEST()
580 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(eventKey), 62U + refPeriodSec); in TEST()
584 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(eventKey), 62U + refPeriodSec); in TEST()
DCountMetricProducer_test.cpp334 const int32_t refPeriodSec = 1; in TEST() local
335 alert.set_refractory_period_secs(refPeriodSec); in TEST()
390 std::ceil(1.0 * event5.GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
396 std::ceil(1.0 * event7.GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
DGaugeMetricProducer_test.cpp593 const int32_t refPeriodSec = 60; in TEST() local
594 alert.set_refractory_period_secs(refPeriodSec); in TEST()
624 std::ceil(1.0 * event2->GetElapsedTimestampNs() / NS_PER_SEC) + refPeriodSec); in TEST()
639 std::ceil(1.0 * event2->GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
DValueMetricProducer_test.cpp959 const int32_t refPeriodSec = 3; in TEST() local
960 alert.set_refractory_period_secs(refPeriodSec); in TEST()
1026 std::ceil(1.0 * event4->GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
1030 std::ceil(1.0 * event4->GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
1035 std::ceil(1.0 * event6->GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()