/packages/modules/StatsD/statsd/tests/e2e/ |
D | Anomaly_count_e2e_test.cpp | 96 auto event = CreateAcquireWakelockEvent(bucketStartTimeNs + 2, attributionUids1, in TEST() 101 event = CreateAcquireWakelockEvent(bucketStartTimeNs + 2, attributionUids4, attributionTags4, in TEST() 106 event = CreateAcquireWakelockEvent(bucketStartTimeNs + 3, attributionUids2, attributionTags2, in TEST() 111 event = CreateAcquireWakelockEvent(bucketStartTimeNs + 3, attributionUids5, attributionTags5, in TEST() 116 event = CreateAcquireWakelockEvent(bucketStartTimeNs + 4, attributionUids3, attributionTags3, in TEST() 121 event = CreateAcquireWakelockEvent(bucketStartTimeNs + 4, attributionUids5, attributionTags5, in TEST() 127 event = CreateAcquireWakelockEvent(bucketStartTimeNs + 5, attributionUids1, attributionTags1, in TEST() 133 event = CreateAcquireWakelockEvent(bucketStartTimeNs + 100, attributionUids1, attributionTags1, in TEST() 139 event = CreateAcquireWakelockEvent(bucketStartTimeNs + bucketSizeNs - 1, attributionUids1, in TEST() 145 event = CreateAcquireWakelockEvent(bucketStartTimeNs + bucketSizeNs + 1, attributionUids1, in TEST() [all …]
|
D | Attribution_e2e_test.cpp | 116 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 2, attributionUids1, in TEST() 118 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 200, attributionUids2, in TEST() 120 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + bucketSizeNs - 1, in TEST() 122 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + bucketSizeNs, attributionUids4, in TEST() 126 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 2 * bucketSizeNs + 1, in TEST() 128 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 2 * bucketSizeNs + 100, in TEST() 130 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 3 * bucketSizeNs - 2, in TEST() 132 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 3 * bucketSizeNs, in TEST() 134 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 3 * bucketSizeNs + 1, in TEST() 136 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 3 * bucketSizeNs + 100, in TEST() [all …]
|
D | Anomaly_duration_sum_e2e_test.cpp | 131 auto acquire_event = CreateAcquireWakelockEvent(bucketStartTimeNs + 11, attributionUids1, in TEST_F() 146 acquire_event = CreateAcquireWakelockEvent(bucketStartTimeNs + 110, attributionUids2, in TEST_F() 162 acquire_event = CreateAcquireWakelockEvent(bucketStartTimeNs + NS_PER_SEC + 112, in TEST_F() 192 acquire_event = CreateAcquireWakelockEvent( in TEST_F() 214 acquire_event = CreateAcquireWakelockEvent(roundedBucketStartTimeNs + bucketSizeNs - 2, in TEST_F() 239 acquire_event = CreateAcquireWakelockEvent(bucketStartTimeNs + 2 * bucketSizeNs + 30, in TEST_F() 311 CreateAcquireWakelockEvent(roundedBucketStartTimeNs + bucketSizeNs - NS_PER_SEC / 2 - 1, in TEST_F() 328 CreateAcquireWakelockEvent(roundedBucketStartTimeNs + bucketSizeNs + NS_PER_SEC + 1, in TEST_F() 344 CreateAcquireWakelockEvent(roundedBucketStartTimeNs + 2 * bucketSizeNs + NS_PER_SEC + 1, in TEST_F() 362 CreateAcquireWakelockEvent(roundedBucketStartTimeNs + 2 * bucketSizeNs + 3 * NS_PER_SEC, in TEST_F() [all …]
|
D | ConfigTtl_e2e_test.cpp | 86 auto event = CreateAcquireWakelockEvent(bucketStartTimeNs + 2, attributionUids1, in TEST() 90 event = CreateAcquireWakelockEvent(bucketStartTimeNs + bucketSizeNs + 2, attributionUids1, in TEST() 94 event = CreateAcquireWakelockEvent(bucketStartTimeNs + 25 * bucketSizeNs + 2, attributionUids1, in TEST()
|
D | ConfigUpdate_e2e_test.cpp | 131 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 5 * NS_PER_SEC, in TEST_F() 143 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 25 * NS_PER_SEC, in TEST_F() 152 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 40 * NS_PER_SEC, in TEST_F() 189 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 65 * NS_PER_SEC, in TEST_F() 195 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 75 * NS_PER_SEC, in TEST_F() 201 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 85 * NS_PER_SEC, in TEST_F() 381 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 15 * NS_PER_SEC, in TEST_F() 387 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 25 * NS_PER_SEC, in TEST_F() 431 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 70 * NS_PER_SEC, in TEST_F() 446 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + bucketSizeNs + NS_PER_SEC, in TEST_F() [all …]
|
D | WakelockDuration_e2e_test.cpp | 88 auto acquireEvent1 = CreateAcquireWakelockEvent(bucketStartTimeNs + 2, attributionUids1, in FeedEvents() 92 auto acquireEvent2 = CreateAcquireWakelockEvent(bucketStartTimeNs + bucketSizeNs - 10, in FeedEvents() 208 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 2 * bucketSizeNs + 100, in TEST() 317 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 2 * bucketSizeNs + 100, in TEST()
|
D | EventMetric_e2e_test.cpp | 64 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 10 * NS_PER_SEC, in TEST_F() 66 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 20 * NS_PER_SEC, in TEST_F() 68 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 30 * NS_PER_SEC, in TEST_F()
|
D | DurationMetric_e2e_test.cpp | 420 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 10 * NS_PER_SEC, in TEST() 432 events.push_back(CreateAcquireWakelockEvent(bucket2StartTimeNs + 10 * NS_PER_SEC, in TEST() 525 auto event = CreateAcquireWakelockEvent(bucketStartTimeNs + 10 * NS_PER_SEC, attributionUids1, in TEST() 639 auto event = CreateAcquireWakelockEvent(bucketStartTimeNs + 10 * NS_PER_SEC, attributionUids1, in TEST() 687 event = CreateAcquireWakelockEvent(bucketStartTimeNs + (4 * 60 + 25) * NS_PER_SEC, in TEST() 1300 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 20 * NS_PER_SEC, in TEST() 1303 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 25 * NS_PER_SEC, in TEST() 1306 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 30 * NS_PER_SEC, in TEST() 1309 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 35 * NS_PER_SEC, in TEST()
|
D | StringReplace_e2e_test.cpp | 545 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 10 * NS_PER_SEC, in TEST() 557 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + (3 * 60 + 20) * NS_PER_SEC, in TEST()
|
/packages/modules/StatsD/statsd/benchmark/ |
D | on_log_event_benchmark.cpp | 45 events.push_back(CreateAcquireWakelockEvent(2 + i, attributionUids, attributionTags, in BM_OnLogEvent()
|
/packages/modules/StatsD/statsd/tests/state/ |
D | StateTracker_test.cpp | 258 std::unique_ptr<LogEvent> event1 = CreateAcquireWakelockEvent(timestampNs, attributionUids1, in TEST() 266 std::unique_ptr<LogEvent> event2 = CreateAcquireWakelockEvent( in TEST() 395 std::unique_ptr<LogEvent> event = CreateAcquireWakelockEvent(timestampNs, attributionUids, in TEST() 491 std::unique_ptr<LogEvent> event8 = CreateAcquireWakelockEvent( in TEST()
|
/packages/modules/StatsD/statsd/tests/ |
D | StatsLogProcessor_test.cpp | 367 CreateAcquireWakelockEvent(2 /*timestamp*/, attributionUids, attributionTags, "wl1"); in TEST() 688 CreateAcquireWakelockEvent(timeBase1 + 100, attributionUids, attributionTags, "wl1"); in TEST() 898 CreateAcquireWakelockEvent(timeBase1 + 100, attributionUids, attributionTags, "wl1"); in TEST() 1051 CreateAcquireWakelockEvent(timeBase1 + 100, attributionUids, attributionTags, "wl1"); in TEST() 1434 CreateAcquireWakelockEvent(timeBase1 + 100, attributionUids, attributionTags, "wl1"); in TEST() 1751 std::unique_ptr<LogEvent> event1 = CreateAcquireWakelockEvent( in TEST()
|
D | statsd_test_util.h | 505 std::unique_ptr<LogEvent> CreateAcquireWakelockEvent(uint64_t timestampNs, const vector<int>& uids,
|
D | statsd_test_util.cpp | 1160 std::unique_ptr<LogEvent> CreateAcquireWakelockEvent(uint64_t timestampNs, in CreateAcquireWakelockEvent() function
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | config_update_utils_test.cpp | 2633 unique_ptr<LogEvent> event = CreateAcquireWakelockEvent(timeBaseNs + 3, {uid1}, {"tag"}, "wl1"); in TEST_F() 2643 event = CreateAcquireWakelockEvent(timeBaseNs + 3, {uid2}, {"tag"}, "wl2"); in TEST_F()
|