Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/tests/e2e/
DDurationMetric_e2e_test.cpp318 const int64_t duration2StartNs = durationEndNs + 5 * NS_PER_SEC; // 0:55 in TEST() local
319 event = CreateScreenStateChangedEvent(duration2StartNs, android::view::DISPLAY_STATE_ON); in TEST()
320 processor.OnLogEvent(event.get(), duration2StartNs); in TEST()
323 const int64_t duration2EndNs = duration2StartNs + 10 * NS_PER_SEC; // 1:05 in TEST()
681 const int64_t duration2StartNs = bucketStartTimeNs + (4 * 60 + 30) * NS_PER_SEC; // 4:30 in TEST() local
682 event = CreateScreenStateChangedEvent(duration2StartNs, android::view::DISPLAY_STATE_ON); in TEST()
687 EXPECT_EQ(eventActivationMap[4]->start_ns, duration2StartNs); in TEST()
722 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs - duration2StartNs, bucketInfo.duration_nanos()); in TEST()
1531 const int64_t duration2StartNs = configAddedTimeNs + bucketSizeNs + 10 * NS_PER_SEC; // 5:11 in TEST() local
1532 event = CreateScreenStateChangedEvent(duration2StartNs, android::view::DISPLAY_STATE_ON); in TEST()
[all …]