Searched refs:eventStopTimeNs (Results 1 – 2 of 2) sorted by relevance
/aosp12/packages/modules/StatsD/statsd/tests/metrics/ |
H A D | MaxDurationTracker_test.cpp | 216 int64_t eventStopTimeNs = conditionStops2 + 8 * NS_PER_SEC; in TEST() local 232 tracker.noteStop(key1, eventStopTimeNs, false); in TEST() 352 int64_t eventStopTimeNs = anomalyFireTimeSec * NS_PER_SEC + 10; in TEST() local 353 tracker.noteStop(key1, eventStopTimeNs, false); in TEST() 354 tracker.noteStop(key2, eventStopTimeNs, false); in TEST() 355 tracker.noteStart(key1, true, eventStopTimeNs + 1000000, conditionKey1); in TEST() 362 tracker.noteStop(key1, eventStopTimeNs + 2000000, false); in TEST()
|
H A D | OringDurationTracker_test.cpp | 430 int64_t eventStopTimeNs = eventStartTimeNs + thresholdNs + NS_PER_SEC; in TEST() local 431 tracker.noteStop(DEFAULT_DIMENSION_KEY, eventStopTimeNs, false); in TEST() 435 EXPECT_EQ(eventStopTimeNs / (int64_t)NS_PER_SEC + alert.refractory_period_secs(), in TEST() 439 int64_t event2StartTimeNs = eventStopTimeNs + bucketSizeNs; in TEST()
|