Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/metrics/
DMaxDurationTracker_test.cpp223 int64_t eventStopTimeNs = conditionStops2 + 8 * NS_PER_SEC; in TEST() local
240 tracker.noteStop(key1, eventStopTimeNs, false); in TEST()
362 int64_t eventStopTimeNs = anomalyFireTimeSec * NS_PER_SEC + 10; in TEST() local
363 tracker.noteStop(key1, eventStopTimeNs, false); in TEST()
364 tracker.noteStop(key2, eventStopTimeNs, false); in TEST()
365 tracker.noteStart(key1, true, eventStopTimeNs + 1000000, conditionKey1); in TEST()
372 tracker.noteStop(key1, eventStopTimeNs + 2000000, false); in TEST()
DOringDurationTracker_test.cpp443 int64_t eventStopTimeNs = eventStartTimeNs + thresholdNs + NS_PER_SEC; in TEST() local
444 tracker.noteStop(DEFAULT_DIMENSION_KEY, eventStopTimeNs, false); in TEST()
448 EXPECT_EQ(eventStopTimeNs / (int64_t)NS_PER_SEC + alert.refractory_period_secs(), in TEST()
452 int64_t event2StartTimeNs = eventStopTimeNs + bucketSizeNs; in TEST()