/frameworks/base/cmds/statsd/tests/e2e/ |
D | Anomaly_count_e2e_test.cpp | 77 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()
|
D | Anomaly_duration_sum_e2e_test.cpp | 77 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 …]
|
D | DimensionInCondition_e2e_simple_cond_test.cpp | 91 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 …]
|
D | DimensionInCondition_e2e_combination_AND_cond_test.cpp | 134 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 …]
|
D | DimensionInCondition_e2e_combination_OR_cond_test.cpp | 86 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 …]
|
D | Attribution_e2e_test.cpp | 83 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()
|
D | WakelockDuration_e2e_test.cpp | 68 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/ |
D | duration_metric_benchmark.cpp | 145 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()
|