Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/e2e/
DDurationMetric_e2e_test.cpp316 const int64_t duration2StartNs = durationEndNs + 5 * NS_PER_SEC; // 0:55 in TEST() local
317 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, duration2StartNs); in TEST()
321 const int64_t duration2EndNs = duration2StartNs + 10 * NS_PER_SEC; // 1:05 in TEST()
670 const int64_t duration2StartNs = bucketStartTimeNs + (4 * 60 + 30) * NS_PER_SEC; // 4:30 in TEST() local
671 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, duration2StartNs); in TEST()
676 EXPECT_EQ(eventActivationMap[4]->start_ns, duration2StartNs); in TEST()
708 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs - duration2StartNs, bucketInfo.duration_nanos()); in TEST()