Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/e2e/
DAnomaly_duration_sum_e2e_test.cpp74 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"), variable
120 auto acquire_event = CreateAcquireWakelockEvent(attributions1, "wl1", bucketStartTimeNs + 11); in TEST()
127 auto release_event = CreateReleaseWakelockEvent(attributions1, "wl1", bucketStartTimeNs + 101); in TEST()
149 attributions1, "wl1", bucketStartTimeNs + NS_PER_SEC + 112); in TEST()
168 attributions1, "wl1", alarmFiredTimestampSec0 * NS_PER_SEC + NS_PER_SEC + 1); in TEST()
198 attributions1, "wl1", bucketStartTimeNs + bucketSizeNs - 2); in TEST()
205 attributions1, "wl1", bucketStartTimeNs + bucketSizeNs + NS_PER_SEC - 1); in TEST()
295 attributions1, "wl1", bucketStartTimeNs + bucketSizeNs - NS_PER_SEC / 2 - 1); in TEST()
303 attributions1, "wl1", bucketStartTimeNs + bucketSizeNs - 1); in TEST()
360 attributions1, "wl1", bucketStartTimeNs + 6 * bucketSizeNs - NS_PER_SEC + 5); in TEST()
[all …]
DAnomaly_count_e2e_test.cpp76 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST() local
96 auto event = CreateAcquireWakelockEvent(attributions1, "wl1", bucketStartTimeNs + 2); in TEST()
121 event = CreateAcquireWakelockEvent(attributions1, "wl1", bucketStartTimeNs + 5); in TEST()
126 event = CreateAcquireWakelockEvent(attributions1, "wl1", bucketStartTimeNs + 100); in TEST()
131 event = CreateAcquireWakelockEvent(attributions1, "wl1", bucketStartTimeNs + bucketSizeNs - 1); in TEST()
136 event = CreateAcquireWakelockEvent(attributions1, "wl1", bucketStartTimeNs + bucketSizeNs + 1); in TEST()
179 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST() local
199 auto event = CreateAcquireWakelockEvent(attributions1, "wl1", bucketStartTimeNs + 2); in TEST()
208 event = CreateAcquireWakelockEvent(attributions1, "wl1", bucketStartTimeNs + 4); in TEST()
212 event = CreateAcquireWakelockEvent(attributions1, "wl1", bucketStartTimeNs + bucketSizeNs + 1); in TEST()
DConfigTtl_e2e_test.cpp75 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST() local
87 auto event = CreateAcquireWakelockEvent(attributions1, "wl1", bucketStartTimeNs + 2); in TEST()
90 event = CreateAcquireWakelockEvent(attributions1, "wl2", bucketStartTimeNs + bucketSizeNs + 2); in TEST()
94 attributions1, "wl1", bucketStartTimeNs + 25 * bucketSizeNs + 2); in TEST()
DDimensionInCondition_e2e_combination_OR_cond_test.cpp82 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"), in TEST() local
100 events.push_back(CreateAcquireWakelockEvent(attributions1, "wl1", bucketStartTimeNs + 200)); in TEST()
102 CreateReleaseWakelockEvent(attributions1, "wl1", bucketStartTimeNs + bucketSizeNs + 1)); in TEST()
293 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"), in TEST() local
329 events.push_back(CreateSyncStartEvent(attributions1, "ReadEmail", bucketStartTimeNs + 200)); in TEST()
331 CreateSyncEndEvent(attributions1, "ReadEmail", bucketStartTimeNs + bucketSizeNs + 300)); in TEST()
333 events.push_back(CreateSyncStartEvent(attributions1, "ReadDoc", bucketStartTimeNs + 400)); in TEST()
335 CreateSyncEndEvent(attributions1, "ReadDoc", bucketStartTimeNs + bucketSizeNs - 1)); in TEST()
481 std::vector<AttributionNodeInternal> attributions1 = { in TEST() local
513 events.push_back(CreateSyncStartEvent(attributions1, "ReadEmail", bucketStartTimeNs + 200)); in TEST()
[all …]
DWakelockDuration_e2e_test.cpp64 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"), variable
91 auto acquireEvent1 = CreateAcquireWakelockEvent(attributions1, "wl1", bucketStartTimeNs + 2); in FeedEvents()
93 CreateReleaseWakelockEvent(attributions1, "wl1", bucketStartTimeNs + bucketSizeNs + 2); in FeedEvents()
209 events.push_back(CreateAcquireWakelockEvent(attributions1, "wl3", in TEST()
211 events.push_back(CreateReleaseWakelockEvent(attributions1, "wl3", in TEST()
318 events.push_back(CreateAcquireWakelockEvent(attributions1, "wl3", in TEST()
320 events.push_back(CreateReleaseWakelockEvent(attributions1, "wl3", in TEST()
DDimensionInCondition_e2e_simple_cond_test.cpp87 std::vector<AttributionNodeInternal> attributions1 = { in TEST() local
117 events.push_back(CreateSyncStartEvent(attributions1, "ReadEmail", in TEST()
119 events.push_back(CreateSyncEndEvent(attributions1, "ReadEmail", in TEST()
122 events.push_back(CreateSyncStartEvent(attributions1, "ReadEmail", in TEST()
124 events.push_back(CreateSyncEndEvent(attributions1, "ReadEmail", in TEST()
127 events.push_back(CreateSyncStartEvent(attributions1, "ReadDoc", in TEST()
129 events.push_back(CreateSyncEndEvent(attributions1, "ReadDoc", in TEST()
373 std::vector<AttributionNodeInternal> attributions1 = { in TEST() local
409 events.push_back(CreateSyncStartEvent(attributions1, "ReadEmail", in TEST()
411 events.push_back(CreateSyncEndEvent(attributions1, "ReadEmail", in TEST()
[all …]
DDimensionInCondition_e2e_combination_AND_cond_test.cpp130 std::vector<AttributionNodeInternal> attributions1 = { in TEST() local
186 events.push_back(CreateSyncStartEvent(attributions1, "ReadEmail", in TEST()
188 events.push_back(CreateSyncEndEvent(attributions1, "ReadEmail", in TEST()
191 events.push_back(CreateSyncStartEvent(attributions1, "ReadEmail", in TEST()
193 events.push_back(CreateSyncEndEvent(attributions1, "ReadEmail", in TEST()
196 events.push_back(CreateSyncStartEvent(attributions1, "ReadDoc", in TEST()
198 events.push_back(CreateSyncEndEvent(attributions1, "ReadDoc", in TEST()
469 std::vector<AttributionNodeInternal> attributions1 = { in TEST() local
519 events.push_back(CreateSyncStartEvent(attributions1, "ReadEmail", in TEST()
521 events.push_back(CreateSyncEndEvent(attributions1, "ReadEmail", in TEST()
[all …]
DDurationMetric_e2e_test.cpp404 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(appUid, "App1")}; in TEST() local
407 attributions1, "wl1", bucketStartTimeNs + 10 * NS_PER_SEC); // 0:10 in TEST()
418 attributions1, "wl1", bucketStartTimeNs + 4 * 60 * NS_PER_SEC); // 4:00 in TEST()
503 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(appUid, "App1")}; in TEST() local
506 attributions1, "wl1", bucketStartTimeNs + 10 * NS_PER_SEC); // 0:10 in TEST()
513 attributions1, "wl1", bucketStartTimeNs + 60 * NS_PER_SEC); // 1:00 in TEST()
616 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(appUid, "App1")}; in TEST() local
619 attributions1, "wl1", bucketStartTimeNs + 10 * NS_PER_SEC); // 0:10 in TEST()
659 attributions1, "wl1", bucketStartTimeNs + (4 * 60 + 17) * NS_PER_SEC); // 4:17 in TEST()
667 attributions1, "wl1", bucketStartTimeNs + (4 * 60 + 25) * NS_PER_SEC); // 4:25 in TEST()
DAttribution_e2e_test.cpp78 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"), in TEST() local
116 attributions1, "wl1", bucketStartTimeNs + 2)); in TEST()
226 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"), in TEST() local
264 attributions1, "wl1", bucketStartTimeNs + 2)); in TEST()
/frameworks/base/cmds/statsd/benchmark/
Dduration_metric_benchmark.cpp141 std::vector<AttributionNodeInternal> attributions1 = { in BM_DurationMetricNoLink() local
191 events.push_back(CreateSyncStartEvent(attributions1, "ReadEmail", in BM_DurationMetricNoLink()
193 events.push_back(CreateSyncEndEvent(attributions1, "ReadEmail", in BM_DurationMetricNoLink()
196 events.push_back(CreateSyncStartEvent(attributions1, "ReadEmail", in BM_DurationMetricNoLink()
198 events.push_back(CreateSyncEndEvent(attributions1, "ReadEmail", in BM_DurationMetricNoLink()
201 events.push_back(CreateSyncStartEvent(attributions1, "ReadDoc", in BM_DurationMetricNoLink()
203 events.push_back(CreateSyncEndEvent(attributions1, "ReadDoc", in BM_DurationMetricNoLink()
233 std::vector<AttributionNodeInternal> attributions1 = { in BM_DurationMetricLink() local
283 events.push_back(CreateSyncStartEvent(attributions1, "ReadEmail", in BM_DurationMetricLink()
285 events.push_back(CreateSyncEndEvent(attributions1, "ReadEmail", in BM_DurationMetricLink()
/frameworks/base/cmds/statsd/tests/
DStatsLogProcessor_test.cpp267 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST() local
268 auto event = CreateAcquireWakelockEvent(attributions1, "wl1", 2); in TEST()
495 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST() local
496 auto event = CreateAcquireWakelockEvent(attributions1, "wl1", 100 + timeBase1); in TEST()
704 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST() local
705 auto event = CreateAcquireWakelockEvent(attributions1, "wl1", 100 + timeBase1); in TEST()
856 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST() local
857 auto event = CreateAcquireWakelockEvent(attributions1, "wl1", 100 + timeBase1); in TEST()
1262 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST() local
1263 auto event = CreateAcquireWakelockEvent(attributions1, "wl1", 100 + timeBase1); in TEST()
[all …]