Home
last modified time | relevance | path

Searched refs:attributions1 (Results 1 – 9 of 9) 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()
317 events.push_back(CreateAcquireWakelockEvent(attributions1, "wl3", in TEST()
319 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.cpp102 std::vector<AttributionNodeInternal> attributions1 = { in TEST() local
158 events.push_back(CreateSyncStartEvent(attributions1, "ReadEmail", in TEST()
160 events.push_back(CreateSyncEndEvent(attributions1, "ReadEmail", in TEST()
163 events.push_back(CreateSyncStartEvent(attributions1, "ReadEmail", in TEST()
165 events.push_back(CreateSyncEndEvent(attributions1, "ReadEmail", in TEST()
168 events.push_back(CreateSyncStartEvent(attributions1, "ReadDoc", in TEST()
170 events.push_back(CreateSyncEndEvent(attributions1, "ReadDoc", in TEST()
441 std::vector<AttributionNodeInternal> attributions1 = { in TEST() local
491 events.push_back(CreateSyncStartEvent(attributions1, "ReadEmail", in TEST()
493 events.push_back(CreateSyncEndEvent(attributions1, "ReadEmail", in TEST()
[all …]
DAttribution_e2e_test.cpp76 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"), in TEST() local
114 attributions1, "wl1", bucketStartTimeNs + 2)); in TEST()
222 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"), in TEST() local
260 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()