Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/e2e/
DAnomaly_count_e2e_test.cpp77 std::vector<AttributionNodeInternal> attributions2 = { in TEST() local
104 event = CreateAcquireWakelockEvent(attributions2, "wl1", bucketStartTimeNs + 3); in TEST()
180 std::vector<AttributionNodeInternal> attributions2 = { in TEST() local
203 event = CreateAcquireWakelockEvent(attributions2, "wl1", bucketStartTimeNs + 3); in TEST()
217 event = CreateAcquireWakelockEvent(attributions2, "wl1", bucketStartTimeNs + bucketSizeNs + 2); in TEST()
223 attributions2, "wl1", bucketStartTimeNs + 3 * bucketSizeNs + 1); in TEST()
229 attributions2, "wl1", bucketStartTimeNs + 3 * bucketSizeNs + 2); in TEST()
DAnomaly_duration_sum_e2e_test.cpp77 std::vector<AttributionNodeInternal> attributions2 = {CreateAttribution(111, "App2"), variable
133 acquire_event = CreateAcquireWakelockEvent(attributions2, "wl1", bucketStartTimeNs + 110); in TEST()
141 attributions2, "wl1", bucketStartTimeNs + NS_PER_SEC + 109); in TEST()
177 attributions2, "wl1", bucketStartTimeNs + bucketSizeNs - 5 * NS_PER_SEC - 11); in TEST()
185 attributions2, "wl1", bucketStartTimeNs + bucketSizeNs - 4 * NS_PER_SEC - 10); in TEST()
224 attributions2, "wl1", bucketStartTimeNs + 2 * bucketSizeNs + 30); in TEST()
261 attributions2, "wl1", bucketStartTimeNs + 2 * bucketSizeNs + 5 * NS_PER_SEC); in TEST()
310 attributions2, "wl1", bucketStartTimeNs + bucketSizeNs + 1); in TEST()
317 attributions2, "wl1", bucketStartTimeNs + bucketSizeNs + 100); in TEST()
341 attributions2, "wl1", bucketStartTimeNs + 2 * bucketSizeNs + 2 * NS_PER_SEC); in TEST()
[all …]
DDimensionInCondition_e2e_simple_cond_test.cpp91 std::vector<AttributionNodeInternal> attributions2 = { in TEST() local
132 events.push_back(CreateSyncStartEvent(attributions2, "ReadEmail", in TEST()
134 events.push_back(CreateSyncEndEvent(attributions2, "ReadEmail", in TEST()
377 std::vector<AttributionNodeInternal> attributions2 = { in TEST() local
414 events.push_back(CreateSyncStartEvent(attributions2, "ReadEmail", in TEST()
416 events.push_back(CreateSyncEndEvent(attributions2, "ReadEmail", in TEST()
418 events.push_back(CreateSyncStartEvent(attributions2, "ReadDoc", in TEST()
420 events.push_back(CreateSyncEndEvent(attributions2, "ReadDoc", in TEST()
599 std::vector<AttributionNodeInternal> attributions2 = { in TEST() local
635 events.push_back(CreateSyncStartEvent(attributions2, "ReadEmail", in TEST()
[all …]
DDimensionInCondition_e2e_combination_AND_cond_test.cpp134 std::vector<AttributionNodeInternal> attributions2 = { in TEST() local
201 events.push_back(CreateSyncStartEvent(attributions2, "ReadEmail", in TEST()
203 events.push_back(CreateSyncEndEvent(attributions2, "ReadEmail", in TEST()
473 std::vector<AttributionNodeInternal> attributions2 = { in TEST() local
524 events.push_back(CreateSyncStartEvent(attributions2, "ReadEmail", in TEST()
526 events.push_back(CreateSyncEndEvent(attributions2, "ReadEmail", in TEST()
528 events.push_back(CreateSyncStartEvent(attributions2, "ReadDoc", in TEST()
530 events.push_back(CreateSyncEndEvent(attributions2, "ReadDoc", in TEST()
723 std::vector<AttributionNodeInternal> attributions2 = { in TEST() local
774 events.push_back(CreateSyncStartEvent(attributions2, "ReadEmail", in TEST()
[all …]
DDimensionInCondition_e2e_combination_OR_cond_test.cpp86 std::vector<AttributionNodeInternal> attributions2 = {CreateAttribution(333, "App2"), in TEST() local
104 events.push_back(CreateAcquireWakelockEvent(attributions2, "wl2", in TEST()
106 events.push_back(CreateReleaseWakelockEvent(attributions2, "wl2", in TEST()
297 std::vector<AttributionNodeInternal> attributions2 = {CreateAttribution(333, "App2"), in TEST() local
337 events.push_back(CreateSyncStartEvent(attributions2, "ReadEmail", bucketStartTimeNs + 400)); in TEST()
339 CreateSyncEndEvent(attributions2, "ReadEmail", bucketStartTimeNs + bucketSizeNs + 600)); in TEST()
485 std::vector<AttributionNodeInternal> attributions2 = { in TEST() local
521 events.push_back(CreateSyncStartEvent(attributions2, "ReadEmail", bucketStartTimeNs + 401)); in TEST()
522 events.push_back(CreateSyncEndEvent(attributions2, "ReadEmail", in TEST()
691 std::vector<AttributionNodeInternal> attributions2 = { in TEST() local
[all …]
DAttribution_e2e_test.cpp83 std::vector<AttributionNodeInternal> attributions2 = {CreateAttribution(111, "App1"), in TEST() local
118 attributions2, "wl1", bucketStartTimeNs + 200)); in TEST()
231 std::vector<AttributionNodeInternal> attributions2 = {CreateAttribution(111, "App1"), in TEST() local
266 attributions2, "wl1", bucketStartTimeNs + 200)); in TEST()
DWakelockDuration_e2e_test.cpp68 std::vector<AttributionNodeInternal> attributions2 = {CreateAttribution(111, "App2"), variable
95 CreateAcquireWakelockEvent(attributions2, "wl2", bucketStartTimeNs + bucketSizeNs - 10); in FeedEvents()
96 auto releaseEvent2 = CreateReleaseWakelockEvent(attributions2, "wl2", in FeedEvents()
/frameworks/base/cmds/statsd/benchmark/
Dduration_metric_benchmark.cpp145 std::vector<AttributionNodeInternal> attributions2 = { in BM_DurationMetricNoLink() local
206 events.push_back(CreateSyncStartEvent(attributions2, "ReadEmail", in BM_DurationMetricNoLink()
208 events.push_back(CreateSyncEndEvent(attributions2, "ReadEmail", in BM_DurationMetricNoLink()
237 std::vector<AttributionNodeInternal> attributions2 = { in BM_DurationMetricLink() local
288 events.push_back(CreateSyncStartEvent(attributions2, "ReadEmail", in BM_DurationMetricLink()
290 events.push_back(CreateSyncEndEvent(attributions2, "ReadEmail", in BM_DurationMetricLink()
292 events.push_back(CreateSyncStartEvent(attributions2, "ReadDoc", in BM_DurationMetricLink()
294 events.push_back(CreateSyncEndEvent(attributions2, "ReadDoc", in BM_DurationMetricLink()