/frameworks/base/cmds/statsd/benchmark/ |
D | metric_util.cpp | 266 const std::vector<AttributionNodeInternal>& attributions, const string& jobName, in CreateScheduledJobStateChangedEvent() argument 269 event->write(attributions); in CreateScheduledJobStateChangedEvent() 277 const std::vector<AttributionNodeInternal>& attributions, in CreateStartScheduledJobEvent() argument 280 attributions, name, ScheduledJobStateChanged::STARTED, timestampNs); in CreateStartScheduledJobEvent() 285 const std::vector<AttributionNodeInternal>& attributions, in CreateFinishScheduledJobEvent() argument 288 attributions, name, ScheduledJobStateChanged::FINISHED, timestampNs); in CreateFinishScheduledJobEvent() 292 const std::vector<AttributionNodeInternal>& attributions, const string& wakelockName, in CreateWakelockStateChangedEvent() argument 295 event->write(attributions); in CreateWakelockStateChangedEvent() 304 const std::vector<AttributionNodeInternal>& attributions, const string& wakelockName, in CreateAcquireWakelockEvent() argument 307 attributions, wakelockName, WakelockStateChanged::ACQUIRE, timestampNs); in CreateAcquireWakelockEvent() [all …]
|
D | metric_util.h | 105 const std::vector<AttributionNodeInternal>& attributions, 110 const std::vector<AttributionNodeInternal>& attributions, 121 const std::vector<AttributionNodeInternal>& attributions, const string& name, 126 const std::vector<AttributionNodeInternal>& attributions, const string& name, 135 const std::vector<AttributionNodeInternal>& attributions, const string& wakelockName, 140 const std::vector<AttributionNodeInternal>& attributions, const string& wakelockName,
|
/frameworks/base/cmds/statsd/tests/ |
D | statsd_test_util.cpp | 329 const std::vector<AttributionNodeInternal>& attributions, const string& jobName, in CreateScheduledJobStateChangedEvent() argument 332 event->write(attributions); in CreateScheduledJobStateChangedEvent() 340 const std::vector<AttributionNodeInternal>& attributions, in CreateStartScheduledJobEvent() argument 343 attributions, name, ScheduledJobStateChanged::STARTED, timestampNs); in CreateStartScheduledJobEvent() 348 const std::vector<AttributionNodeInternal>& attributions, in CreateFinishScheduledJobEvent() argument 351 attributions, name, ScheduledJobStateChanged::FINISHED, timestampNs); in CreateFinishScheduledJobEvent() 355 const std::vector<AttributionNodeInternal>& attributions, const string& wakelockName, in CreateWakelockStateChangedEvent() argument 358 event->write(attributions); in CreateWakelockStateChangedEvent() 367 const std::vector<AttributionNodeInternal>& attributions, const string& wakelockName, in CreateAcquireWakelockEvent() argument 370 attributions, wakelockName, WakelockStateChanged::ACQUIRE, timestampNs); in CreateAcquireWakelockEvent() [all …]
|
D | statsd_test_util.h | 131 const std::vector<AttributionNodeInternal>& attributions, 136 const std::vector<AttributionNodeInternal>& attributions, 152 const std::vector<AttributionNodeInternal>& attributions, const string& name, 157 const std::vector<AttributionNodeInternal>& attributions, const string& name, 166 const std::vector<AttributionNodeInternal>& attributions, const string& wakelockName, 171 const std::vector<AttributionNodeInternal>& attributions, const string& wakelockName,
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | MetricConditionLink_e2e_test.cpp | 138 std::vector<AttributionNodeInternal> attributions = { in TEST() local 141 CreateSyncStartEvent(attributions, "ReadEmail", bucketStartTimeNs + 50); in TEST() 143 CreateSyncEndEvent(attributions, "ReadEmail", bucketStartTimeNs + bucketSizeNs + 300); in TEST() 145 CreateSyncStartEvent(attributions, "ReadDoc", bucketStartTimeNs + bucketSizeNs + 2000); in TEST() 258 std::vector<AttributionNodeInternal> attributions = { in TEST() local 260 auto syncOnEvent1 = CreateSyncStartEvent(attributions, "ReadEmail", bucketStartTimeNs + 50); in TEST() 262 CreateSyncEndEvent(attributions, "ReadEmail", bucketStartTimeNs + bucketSizeNs + 300); in TEST() 264 CreateSyncStartEvent(attributions, "ReadDoc", bucketStartTimeNs + bucketSizeNs + 2000); in TEST()
|