Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/benchmark/
Dduration_metric_benchmark.cpp151 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in BM_DurationMetricNoLink()
153 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in BM_DurationMetricNoLink()
156 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in BM_DurationMetricNoLink()
158 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in BM_DurationMetricNoLink()
161 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in BM_DurationMetricNoLink()
163 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in BM_DurationMetricNoLink()
166 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in BM_DurationMetricNoLink()
168 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in BM_DurationMetricNoLink()
247 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in BM_DurationMetricLink()
249 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in BM_DurationMetricLink()
[all …]
Dmetric_util.h96 std::unique_ptr<LogEvent> CreateScreenStateChangedEvent(
Dmetric_util.cpp248 std::unique_ptr<LogEvent> CreateScreenStateChangedEvent( in CreateScreenStateChangedEvent() function
/frameworks/base/cmds/statsd/tests/e2e/
DValueMetric_pull_e2e_test.cpp91 auto screenOffEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
95 auto screenOnEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
99 screenOffEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
109 screenOnEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
117 screenOffEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
196 auto screenOffEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
200 auto screenOnEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
204 screenOffEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
214 screenOnEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
223 screenOffEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
DDimensionInCondition_e2e_combination_AND_cond_test.cpp140 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
142 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
145 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
147 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
150 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
152 events.push_back(CreateScreenStateChangedEvent( in TEST()
156 events.push_back(CreateScreenStateChangedEvent( in TEST()
159 events.push_back(CreateScreenStateChangedEvent( in TEST()
483 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
485 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
[all …]
DGaugeMetric_e2e_pull_test.cpp91 auto screenOffEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
99 auto screenOnEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
103 screenOffEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
114 screenOnEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
121 screenOffEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
227 auto screenOffEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
231 auto screenOnEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
235 screenOffEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
239 screenOnEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
243 screenOffEvent = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
[all …]
DDurationMetric_e2e_test.cpp71 event = CreateScreenStateChangedEvent( in TEST()
77 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, durationStartNs); in TEST()
82 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, durationEndNs); in TEST()
154 event = CreateScreenStateChangedEvent( in TEST()
160 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, durationStartNs); in TEST()
165 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, durationEndNs); in TEST()
272 event = CreateScreenStateChangedEvent( in TEST()
278 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, durationStartNs); in TEST()
312 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, durationEndNs); in TEST()
317 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, duration2StartNs); in TEST()
[all …]
DDimensionInCondition_e2e_combination_OR_cond_test.cpp92 CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, bucketStartTimeNs + 10)); in TEST()
93 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
95 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
97 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
321 CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, bucketStartTimeNs + 10)); in TEST()
322 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
324 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
326 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
504 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
506 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST()
[all …]
DAnomaly_duration_sum_e2e_test.cpp112 auto screen_on_event = CreateScreenStateChangedEvent( in TEST()
114 auto screen_off_event = CreateScreenStateChangedEvent( in TEST()
214 screen_on_event = CreateScreenStateChangedEvent( in TEST()
233 screen_off_event = CreateScreenStateChangedEvent( in TEST()
241 screen_on_event = CreateScreenStateChangedEvent( in TEST()
253 screen_off_event = CreateScreenStateChangedEvent( in TEST()
289 auto screen_off_event = CreateScreenStateChangedEvent( in TEST()
402 auto screen_off_event = CreateScreenStateChangedEvent( in TEST()
DMetricConditionLink_e2e_test.cpp129 CreateScreenStateChangedEvent(android::view::DisplayStateEnum::DISPLAY_STATE_ON, in TEST()
132 CreateScreenStateChangedEvent(android::view::DisplayStateEnum::DISPLAY_STATE_OFF, in TEST()
135 CreateScreenStateChangedEvent(android::view::DisplayStateEnum::DISPLAY_STATE_ON, in TEST()
250 auto screenTurnedOnEvent = CreateScreenStateChangedEvent( in TEST()
252 auto screenTurnedOffEvent = CreateScreenStateChangedEvent( in TEST()
255 CreateScreenStateChangedEvent(android::view::DisplayStateEnum::DISPLAY_STATE_ON, in TEST()
DWakelockDuration_e2e_test.cpp83 auto screenTurnedOnEvent = CreateScreenStateChangedEvent( in FeedEvents()
85 auto screenTurnedOffEvent = CreateScreenStateChangedEvent( in FeedEvents()
88 CreateScreenStateChangedEvent(android::view::DisplayStateEnum::DISPLAY_STATE_ON, in FeedEvents()
207 CreateScreenStateChangedEvent(android::view::DisplayStateEnum::DISPLAY_STATE_OFF, in TEST()
316 CreateScreenStateChangedEvent(android::view::DisplayStateEnum::DISPLAY_STATE_OFF, in TEST()
DMetricActivation_e2e_test.cpp318 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
365 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
538 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
588 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
865 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
918 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
1176 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, bucketStartTimeNs + 10); in TEST()
1432 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
1518 event = CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST()
/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.h122 std::unique_ptr<LogEvent> CreateScreenStateChangedEvent(
DStatsLogProcessor_test.cpp955 auto screenOnEvent = CreateScreenStateChangedEvent( in TEST()
1060 screenOnEvent = CreateScreenStateChangedEvent( in TEST()
1363 auto screenOnEvent = CreateScreenStateChangedEvent( in TEST()
1470 screenOnEvent = CreateScreenStateChangedEvent( in TEST()
Dstatsd_test_util.cpp295 std::unique_ptr<LogEvent> CreateScreenStateChangedEvent( in CreateScreenStateChangedEvent() function