/frameworks/base/cmds/statsd/benchmark/ |
D | duration_metric_benchmark.cpp | 151 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 …]
|
D | metric_util.h | 96 std::unique_ptr<LogEvent> CreateScreenStateChangedEvent(
|
D | metric_util.cpp | 248 std::unique_ptr<LogEvent> CreateScreenStateChangedEvent( in CreateScreenStateChangedEvent() function
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | ValueMetric_pull_e2e_test.cpp | 91 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()
|
D | DimensionInCondition_e2e_combination_AND_cond_test.cpp | 140 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 …]
|
D | GaugeMetric_e2e_pull_test.cpp | 91 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 …]
|
D | DurationMetric_e2e_test.cpp | 71 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 …]
|
D | DimensionInCondition_e2e_combination_OR_cond_test.cpp | 92 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 …]
|
D | Anomaly_duration_sum_e2e_test.cpp | 112 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()
|
D | MetricConditionLink_e2e_test.cpp | 129 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()
|
D | WakelockDuration_e2e_test.cpp | 83 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()
|
D | MetricActivation_e2e_test.cpp | 318 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/ |
D | statsd_test_util.h | 122 std::unique_ptr<LogEvent> CreateScreenStateChangedEvent(
|
D | StatsLogProcessor_test.cpp | 955 auto screenOnEvent = CreateScreenStateChangedEvent( in TEST() 1060 screenOnEvent = CreateScreenStateChangedEvent( in TEST() 1363 auto screenOnEvent = CreateScreenStateChangedEvent( in TEST() 1470 screenOnEvent = CreateScreenStateChangedEvent( in TEST()
|
D | statsd_test_util.cpp | 295 std::unique_ptr<LogEvent> CreateScreenStateChangedEvent( in CreateScreenStateChangedEvent() function
|