Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/e2e/
DDurationMetric_e2e_test.cpp81 const int64_t durationEndNs = durationStartNs + 30 * NS_PER_SEC; // 0:41 in TEST() local
82 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, durationEndNs); in TEST()
85 event = CreateScreenBrightnessChangedEvent(64, durationEndNs + 1 * NS_PER_SEC); // 0:42 in TEST()
107 EXPECT_EQ(durationEndNs - durationStartNs, data.bucket_info(0).duration_nanos()); in TEST()
164 const int64_t durationEndNs = durationStartNs + 30 * NS_PER_SEC; // 0:41 in TEST() local
165 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, durationEndNs); in TEST()
168 event = CreateScreenBrightnessChangedEvent(64, durationEndNs + 1 * NS_PER_SEC); // 0:42 in TEST()
193 EXPECT_EQ(durationEndNs - durationStartNs, bucketInfo.duration_nanos()); in TEST()
311 const int64_t durationEndNs = activationEndNs + 10 * NS_PER_SEC; // 0:50 in TEST() local
312 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, durationEndNs); in TEST()
[all …]