Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/benchmark/
Dmetric_util.cpp266 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 …]
Dmetric_util.h105 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/
Dstatsd_test_util.cpp329 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 …]
Dstatsd_test_util.h131 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/
DMetricConditionLink_e2e_test.cpp138 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()