/packages/modules/StatsD/statsd/benchmark/ |
D | duration_metric_benchmark.cpp | 174 vector<int> attributionUids2 = {8888}; in BM_DurationMetricNoLink() local 175 events.push_back(CreateStartScheduledJobEvent(bucketStartTimeNs + 600, attributionUids2, in BM_DurationMetricNoLink() 178 attributionUids2, attributionTags1, "job2")); in BM_DurationMetricNoLink() 181 attributionUids2, attributionTags1, "job1")); in BM_DurationMetricNoLink() 183 attributionUids2, attributionTags1, "job1")); in BM_DurationMetricNoLink() 253 vector<int> attributionUids2 = {333}; in BM_DurationMetricLink() local 255 events.push_back(CreateStartScheduledJobEvent(bucketStartTimeNs + 201, attributionUids2, in BM_DurationMetricLink() 257 events.push_back(CreateFinishScheduledJobEvent(bucketStartTimeNs + 500, attributionUids2, in BM_DurationMetricLink() 259 events.push_back(CreateStartScheduledJobEvent(bucketStartTimeNs + 600, attributionUids2, in BM_DurationMetricLink() 262 attributionUids2, attributionTags2, "job2")); in BM_DurationMetricLink()
|
/packages/modules/StatsD/statsd/tests/e2e/ |
D | Anomaly_duration_sum_e2e_test.cpp | 83 std::vector<int> attributionUids2 = {111, 222}; variable 154 acquire_event = CreateAcquireWakelockEvent(bucketStartTimeNs + 110, attributionUids2, in TEST() 163 attributionUids2, attributionTags2, "wl1"); in TEST() 201 roundedBucketStartTimeNs + bucketSizeNs - 5 * NS_PER_SEC - 11, attributionUids2, in TEST() 210 release_event = CreateReleaseWakelockEvent(release_event_time, attributionUids2, in TEST() 248 attributionUids2, attributionTags2, "wl1"); in TEST() 284 release_event = CreateReleaseWakelockEvent(release_event_time, attributionUids2, in TEST() 338 attributionUids2, attributionTags2, "wl1"); in TEST() 345 release_event = CreateReleaseWakelockEvent(release_event_time, attributionUids2, in TEST() 372 attributionUids2, attributionTags2, "wl1"); in TEST() [all …]
|
D | Anomaly_count_e2e_test.cpp | 78 std::vector<int> attributionUids2 = {111, 222}; in TEST() local 107 event = CreateAcquireWakelockEvent(bucketStartTimeNs + 3, attributionUids2, attributionTags2, in TEST() 195 std::vector<int> attributionUids2 = {111, 222}; in TEST() local 208 event = CreateAcquireWakelockEvent(bucketStartTimeNs + 3, attributionUids2, attributionTags2, in TEST() 225 event = CreateAcquireWakelockEvent(bucketStartTimeNs + bucketSizeNs + 2, attributionUids2, in TEST() 231 event = CreateAcquireWakelockEvent(bucketStartTimeNs + 3 * bucketSizeNs + 1, attributionUids2, in TEST() 237 event = CreateAcquireWakelockEvent(bucketStartTimeNs + 3 * bucketSizeNs + 2, attributionUids2, in TEST() 291 std::vector<int> attributionUids2 = {111, 222}; in TEST() local 354 std::vector<int> attributionUids2 = {111, 222}; in TEST() local
|
D | ConfigUpdate_e2e_test.cpp | 345 vector<int> attributionUids2 = {app2Uid}; in TEST_F() local 365 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 21 * NS_PER_SEC, attributionUids2, in TEST_F() 368 attributionUids2, attributionTags2, "wl2")); in TEST_F() 371 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 31 * NS_PER_SEC, attributionUids2, in TEST_F() 408 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 66 * NS_PER_SEC, attributionUids2, in TEST_F() 415 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 80 * NS_PER_SEC, attributionUids2, in TEST_F() 422 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 11 * NS_PER_SEC, attributionUids2, in TEST_F() 613 vector<int> attributionUids2 = {app2Uid}; in TEST_F() local 634 attributionUids2, attributionTags2, in TEST_F() 639 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 25 * NS_PER_SEC, attributionUids2, in TEST_F() [all …]
|
D | WakelockDuration_e2e_test.cpp | 67 std::vector<int> attributionUids2 = {111, 222, 222}; variable 94 attributionUids2, attributionTags2, "wl2"); in FeedEvents() 96 attributionUids2, attributionTags2, "wl2"); in FeedEvents()
|
D | Attribution_e2e_test.cpp | 61 std::vector<int> attributionUids2 = {111, 333, 222}; variable 120 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 200, attributionUids2, in TEST() 234 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 200, attributionUids2, in TEST()
|
D | DurationMetric_e2e_test.cpp | 1288 std::vector<int> attributionUids2 = {appUid2}; in TEST() local 1302 attributionUids2, attributionTags2, in TEST() 1305 attributionUids2, attributionTags2, in TEST() 1314 attributionUids2, attributionTags2, in TEST()
|
/packages/modules/StatsD/statsd/tests/state/ |
D | StateTracker_test.cpp | 295 std::vector<int> attributionUids2 = {2000}; in TEST() local 310 CreateBleScanStateChangedEvent(timestampNs + 1000, attributionUids2, attributionTags1, in TEST() 321 CreateBleScanStateChangedEvent(timestampNs + 2000, attributionUids2, attributionTags1, in TEST()
|