Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/e2e/
DDurationMetric_e2e_test.cpp76 const int64_t durationStartNs = configAddedTimeNs + 10 * NS_PER_SEC; // 0:11 in TEST() local
77 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, durationStartNs); in TEST()
81 const int64_t durationEndNs = durationStartNs + 30 * NS_PER_SEC; // 0:41 in TEST()
107 EXPECT_EQ(durationEndNs - durationStartNs, data.bucket_info(0).duration_nanos()); in TEST()
159 const int64_t durationStartNs = configAddedTimeNs + 10 * NS_PER_SEC; // 0:11 in TEST() local
160 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, durationStartNs); in TEST()
164 const int64_t durationEndNs = durationStartNs + 30 * NS_PER_SEC; // 0:41 in TEST()
193 EXPECT_EQ(durationEndNs - durationStartNs, bucketInfo.duration_nanos()); in TEST()
277 const int64_t durationStartNs = bucketStartTimeNs + 5 * NS_PER_SEC; // 0:05 in TEST() local
278 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, durationStartNs); in TEST()
[all …]