Home
last modified time | relevance | path

Searched refs:refractoryPeriodEndsSec (Results 1 – 2 of 2) sorted by relevance

/packages/modules/StatsD/statsd/tests/metrics/
DMaxDurationTracker_test.cpp347 int64_t refractoryPeriodEndsSec = anomalyFireTimeSec + refPeriodSec; in TEST() local
348 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(eventKey), refractoryPeriodEndsSec); in TEST()
359 EXPECT_EQ(refractoryPeriodEndsSec, (long long)(alarm->timestampSec)); in TEST()
363 int64_t justBeforeRefPeriodNs = (refractoryPeriodEndsSec - 2) * NS_PER_SEC; in TEST()
/packages/modules/StatsD/statsd/src/anomaly/
DAnomalyTracker.cpp318 int32_t refractoryPeriodEndsSec = (int32_t) keyedData.last_refractory_ends_sec() - in loadAlertMetadata() local
320 mRefractoryPeriodEndsSec[metricKey] = refractoryPeriodEndsSec; in loadAlertMetadata()