Home
last modified time | relevance | path

Searched refs:attributionUids1 (Results 1 – 11 of 11) sorted by relevance

/packages/modules/StatsD/statsd/tests/e2e/
DAnomaly_duration_sum_e2e_test.cpp77 std::vector<int> attributionUids1 = {111, 222}; variable
131 auto acquire_event = CreateAcquireWakelockEvent(bucketStartTimeNs + 11, attributionUids1, in TEST_F()
139 auto release_event = CreateReleaseWakelockEvent(bucketStartTimeNs + 101, attributionUids1, in TEST_F()
163 attributionUids1, attributionTags1, "wl1"); in TEST_F()
184 attributionUids1, attributionTags1, "wl1"); in TEST_F()
215 attributionUids1, attributionTags1, "wl1"); in TEST_F()
222 release_event = CreateReleaseWakelockEvent(release_event_time, attributionUids1, in TEST_F()
312 attributionUids1, attributionTags1, "wl1"); in TEST_F()
320 auto release_event = CreateReleaseWakelockEvent(release_event_time, attributionUids1, in TEST_F()
382 attributionUids1, attributionTags1, "wl1"); in TEST_F()
[all …]
DAnomaly_count_e2e_test.cpp75 std::vector<int> attributionUids1 = {111}; in TEST() local
96 auto event = CreateAcquireWakelockEvent(bucketStartTimeNs + 2, attributionUids1, 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()
192 std::vector<int> attributionUids1 = {111}; in TEST() local
202 auto event = CreateAcquireWakelockEvent(bucketStartTimeNs + 2, attributionUids1, in TEST()
213 event = CreateAcquireWakelockEvent(bucketStartTimeNs + 4, attributionUids1, attributionTags1, in TEST()
218 event = CreateAcquireWakelockEvent(bucketStartTimeNs + bucketSizeNs + 1, attributionUids1, in TEST()
[all …]
DConfigTtl_e2e_test.cpp73 std::vector<int> attributionUids1 = {111}; in TEST() local
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()
DWakelockDuration_e2e_test.cpp63 std::vector<int> attributionUids1 = {111, 222, 222}; variable
88 auto acquireEvent1 = CreateAcquireWakelockEvent(bucketStartTimeNs + 2, attributionUids1, in FeedEvents()
91 attributionUids1, attributionTags1, "wl1"); in FeedEvents()
209 attributionUids1, attributionTags1, "wl3")); in TEST()
211 attributionUids1, attributionTags1, "wl3")); in TEST()
318 attributionUids1, attributionTags1, "wl3")); in TEST()
320 attributionUids1, attributionTags1, "wl3")); in TEST()
DCountMetric_e2e_test.cpp156 std::vector<int> attributionUids1 = {123}; in TEST() local
175 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 60 * NS_PER_SEC, attributionUids1, in TEST()
179 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 75 * NS_PER_SEC, attributionUids1, in TEST()
183 events.push_back(CreateSyncStartEvent(bucket2StartTimeNs + 20 * NS_PER_SEC, attributionUids1, in TEST()
190 events.push_back(CreateSyncStartEvent(bucket2StartTimeNs + 50 * NS_PER_SEC, attributionUids1, in TEST()
196 events.push_back(CreateSyncStartEvent(bucket2StartTimeNs + 110 * NS_PER_SEC, attributionUids1, in TEST()
200 events.push_back(CreateSyncStartEvent(activationEnd1Ns, attributionUids1, attributionTags1, in TEST()
207 events.push_back(CreateSyncStartEvent(bucket2StartTimeNs + 160 * NS_PER_SEC, attributionUids1, in TEST()
212 events.push_back(CreateSyncStartEvent(bucket2StartTimeNs + 220 * NS_PER_SEC, attributionUids1, in TEST()
218 events.push_back(CreateSyncStartEvent(bucket2StartTimeNs + 250 * NS_PER_SEC, attributionUids1, in TEST()
[all …]
DConfigUpdate_e2e_test.cpp126 vector<int> attributionUids1 = {app1Uid}; in TEST_F() local
132 attributionUids1, attributionTags1, in TEST_F()
137 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 15 * NS_PER_SEC, attributionUids1, in TEST_F()
144 attributionUids1, attributionTags1, in TEST_F()
149 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 35 * NS_PER_SEC, attributionUids1, in TEST_F()
153 attributionUids1, attributionTags1, in TEST_F()
190 attributionUids1, attributionTags1, in TEST_F()
196 attributionUids1, attributionTags1, in TEST_F()
202 attributionUids1, attributionTags1, in TEST_F()
204 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 90 * NS_PER_SEC, attributionUids1, in TEST_F()
[all …]
DDurationMetric_e2e_test.cpp412 vector<int> attributionUids1 = {appUid}; in TEST() local
421 attributionUids1, attributionTags1, in TEST()
427 attributionUids1, attributionTags1, in TEST()
433 attributionUids1, attributionTags1, in TEST()
522 std::vector<int> attributionUids1 = {appUid}; in TEST() local
525 auto event = CreateAcquireWakelockEvent(bucketStartTimeNs + 10 * NS_PER_SEC, attributionUids1, in TEST()
532 event = CreateReleaseWakelockEvent(bucketStartTimeNs + 60 * NS_PER_SEC, attributionUids1, in TEST()
636 std::vector<int> attributionUids1 = {appUid}; in TEST() local
639 auto event = CreateAcquireWakelockEvent(bucketStartTimeNs + 10 * NS_PER_SEC, attributionUids1, in TEST()
680 attributionUids1, attributionTags1, "wl1"); // 4:17 in TEST()
[all …]
DStringReplace_e2e_test.cpp540 std::vector<int> attributionUids1 = {appUid}; in TEST() local
546 attributionUids1, attributionTags1, in TEST()
552 attributionUids1, attributionTags1, in TEST()
558 attributionUids1, attributionTags2, in TEST()
567 attributionUids1, attributionTags2, in TEST()
DAttribution_e2e_test.cpp56 std::vector<int> attributionUids1 = {111, 222, 333}; variable
116 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 2, attributionUids1, in TEST()
226 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 2, attributionUids1, in TEST()
/packages/modules/StatsD/statsd/benchmark/
Dduration_metric_benchmark.cpp161 vector<int> attributionUids1 = {9999}; in BM_DurationMetricNoLink() local
163 events.push_back(CreateStartScheduledJobEvent(bucketStartTimeNs + 2, attributionUids1, in BM_DurationMetricNoLink()
165 events.push_back(CreateFinishScheduledJobEvent(bucketStartTimeNs + 101, attributionUids1, in BM_DurationMetricNoLink()
168 events.push_back(CreateStartScheduledJobEvent(bucketStartTimeNs + 201, attributionUids1, in BM_DurationMetricNoLink()
170 events.push_back(CreateFinishScheduledJobEvent(bucketStartTimeNs + 500, attributionUids1, in BM_DurationMetricNoLink()
245 vector<int> attributionUids1 = {111}; in BM_DurationMetricLink() local
247 events.push_back(CreateStartScheduledJobEvent(bucketStartTimeNs + 1, attributionUids1, in BM_DurationMetricLink()
249 events.push_back(CreateFinishScheduledJobEvent(bucketStartTimeNs + 101, attributionUids1, in BM_DurationMetricLink()
/packages/modules/StatsD/statsd/tests/state/
DStateTracker_test.cpp255 std::vector<int> attributionUids1 = {1000}; in TEST() local
258 std::unique_ptr<LogEvent> event1 = CreateAcquireWakelockEvent(timestampNs, attributionUids1, in TEST()
267 timestampNs + 1000, attributionUids1, attributionTags1, "wakelockName"); in TEST()
272 timestampNs + 2000, attributionUids1, attributionTags1, "wakelockName"); in TEST()
277 timestampNs + 3000, attributionUids1, attributionTags1, "wakelockName"); in TEST()
295 std::vector<int> attributionUids1 = {1000}; in TEST() local
300 CreateBleScanStateChangedEvent(timestampNs, attributionUids1, attributionTags1, in TEST()