Home
last modified time | relevance | path

Searched refs:CreateAttribution (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/cmds/statsd/benchmark/
Dduration_metric_benchmark.cpp142 CreateAttribution(111, "App1"), CreateAttribution(222, "GMSCoreModule1"), in BM_DurationMetricNoLink()
143 CreateAttribution(222, "GMSCoreModule2")}; in BM_DurationMetricNoLink()
146 CreateAttribution(333, "App2"), CreateAttribution(222, "GMSCoreModule1"), in BM_DurationMetricNoLink()
147 CreateAttribution(555, "GMSCoreModule2")}; in BM_DurationMetricNoLink()
172 {CreateAttribution(9999, "")}, "job0", bucketStartTimeNs + 2)); in BM_DurationMetricNoLink()
174 {CreateAttribution(9999, "")}, "job0",bucketStartTimeNs + 101)); in BM_DurationMetricNoLink()
177 {CreateAttribution(9999, "")}, "job2", bucketStartTimeNs + 201)); in BM_DurationMetricNoLink()
179 {CreateAttribution(9999, "")}, "job2",bucketStartTimeNs + 500)); in BM_DurationMetricNoLink()
182 {CreateAttribution(8888, "")}, "job2", bucketStartTimeNs + 600)); in BM_DurationMetricNoLink()
184 {CreateAttribution(8888, "")}, "job2",bucketStartTimeNs + bucketSizeNs + 850)); in BM_DurationMetricNoLink()
[all …]
Dmetric_util.h148 AttributionNodeInternal CreateAttribution(const int& uid, const string& tag);
Dmetric_util.cpp376 AttributionNodeInternal CreateAttribution(const int& uid, const string& tag) { in CreateAttribution() function
/frameworks/base/cmds/statsd/tests/e2e/
DAttribution_e2e_test.cpp78 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"), in TEST()
79 CreateAttribution(222, "GMSCoreModule1"), in TEST()
80 CreateAttribution(333, "App3")}; in TEST()
83 std::vector<AttributionNodeInternal> attributions2 = {CreateAttribution(111, "App1"), in TEST()
84 CreateAttribution(333, "App3"), in TEST()
85 CreateAttribution(222, "GMSCoreModule1")}; in TEST()
88 std::vector<AttributionNodeInternal> attributions3 = {CreateAttribution(222, "GMSCoreModule1"), in TEST()
89 CreateAttribution(333, "App3")}; in TEST()
92 std::vector<AttributionNodeInternal> attributions4 = {CreateAttribution(222, "GMSCoreModule1")}; in TEST()
95 std::vector<AttributionNodeInternal> attributions5 = {CreateAttribution(111, "App1"), in TEST()
[all …]
DDimensionInCondition_e2e_simple_cond_test.cpp88 CreateAttribution(111, "App1"), CreateAttribution(222, "GMSCoreModule1"), in TEST()
89 CreateAttribution(222, "GMSCoreModule2")}; in TEST()
92 CreateAttribution(333, "App2"), CreateAttribution(222, "GMSCoreModule1"), in TEST()
93 CreateAttribution(555, "GMSCoreModule2")}; in TEST()
98 {CreateAttribution(9999, "")}, "job0", bucketStartTimeNs + 1)); in TEST()
100 {CreateAttribution(9999, "")}, "job0",bucketStartTimeNs + 101)); in TEST()
103 {CreateAttribution(9999, "")}, "job2", bucketStartTimeNs + 201)); in TEST()
105 {CreateAttribution(9999, "")}, "job2",bucketStartTimeNs + 500)); in TEST()
108 {CreateAttribution(8888, "")}, "job2", bucketStartTimeNs + 600)); in TEST()
110 {CreateAttribution(8888, "")}, "job2",bucketStartTimeNs + bucketSizeNs + 850)); in TEST()
[all …]
DAnomaly_count_e2e_test.cpp76 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST()
78 CreateAttribution(111, "App1"), CreateAttribution(222, "GMSCoreModule1")}; in TEST()
80 CreateAttribution(111, "App1"), CreateAttribution(333, "App3")}; in TEST()
82 CreateAttribution(222, "GMSCoreModule1"), CreateAttribution(333, "App3")}; in TEST()
84 CreateAttribution(222, "GMSCoreModule1") }; in TEST()
179 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST()
181 CreateAttribution(111, "App1"), CreateAttribution(222, "GMSCoreModule1")}; in TEST()
183 CreateAttribution(111, "App1"), CreateAttribution(333, "App3")}; in TEST()
185 CreateAttribution(222, "GMSCoreModule1"), CreateAttribution(333, "App3")}; in TEST()
187 CreateAttribution(222, "GMSCoreModule1") }; in TEST()
DDimensionInCondition_e2e_combination_AND_cond_test.cpp131 CreateAttribution(111, "App1"), CreateAttribution(222, "GMSCoreModule1"), in TEST()
132 CreateAttribution(222, "GMSCoreModule2")}; in TEST()
135 CreateAttribution(333, "App2"), CreateAttribution(222, "GMSCoreModule1"), in TEST()
136 CreateAttribution(555, "GMSCoreModule2")}; in TEST()
164 {CreateAttribution(9999, "")}, "job0", bucketStartTimeNs + 2)); in TEST()
166 {CreateAttribution(9999, "")}, "job0",bucketStartTimeNs + 101)); in TEST()
169 {CreateAttribution(9999, "")}, "job2", bucketStartTimeNs + 201)); in TEST()
171 {CreateAttribution(9999, "")}, "job2",bucketStartTimeNs + 500)); in TEST()
174 {CreateAttribution(8888, "")}, "job2", bucketStartTimeNs + 600)); in TEST()
176 {CreateAttribution(8888, "")}, "job2", in TEST()
[all …]
DDimensionInCondition_e2e_combination_OR_cond_test.cpp82 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"), in TEST()
83 CreateAttribution(222, "GMSCoreModule1"), in TEST()
84 CreateAttribution(222, "GMSCoreModule2")}; in TEST()
86 std::vector<AttributionNodeInternal> attributions2 = {CreateAttribution(333, "App2"), in TEST()
87 CreateAttribution(222, "GMSCoreModule1"), in TEST()
88 CreateAttribution(555, "GMSCoreModule2")}; in TEST()
293 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"), in TEST()
294 CreateAttribution(222, "GMSCoreModule1"), in TEST()
295 CreateAttribution(222, "GMSCoreModule2")}; in TEST()
297 std::vector<AttributionNodeInternal> attributions2 = {CreateAttribution(333, "App2"), in TEST()
[all …]
DWakelockDuration_e2e_test.cpp64 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"),
65 CreateAttribution(222, "GMSCoreModule1"),
66 CreateAttribution(222, "GMSCoreModule2")};
68 std::vector<AttributionNodeInternal> attributions2 = {CreateAttribution(111, "App2"),
69 CreateAttribution(222, "GMSCoreModule1"),
70 CreateAttribution(222, "GMSCoreModule2")};
DMetricConditionLink_e2e_test.cpp139 CreateAttribution(appUid, "App1"), CreateAttribution(appUid + 1, "GMSCoreModule1")}; in TEST()
259 CreateAttribution(appUid, "App1"), CreateAttribution(appUid + 1, "GMSCoreModule1")}; in TEST()
DAnomaly_duration_sum_e2e_test.cpp74 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"),
75 CreateAttribution(222, "GMSCoreModule1")};
77 std::vector<AttributionNodeInternal> attributions2 = {CreateAttribution(111, "App2"),
78 CreateAttribution(222, "GMSCoreModule1")};
80 std::vector<AttributionNodeInternal> attributions3 = {CreateAttribution(222, "GMSCoreModule1")};
DConfigTtl_e2e_test.cpp75 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST()
DDurationMetric_e2e_test.cpp404 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(appUid, "App1")}; in TEST()
503 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(appUid, "App1")}; in TEST()
616 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(appUid, "App1")}; in TEST()
/frameworks/base/cmds/statsd/tests/
DStatsLogProcessor_test.cpp267 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST()
495 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST()
704 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST()
856 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST()
1262 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST()
1623 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST()
Dstatsd_test_util.h179 AttributionNodeInternal CreateAttribution(const int& uid, const string& tag);
Dstatsd_test_util.cpp470 AttributionNodeInternal CreateAttribution(const int& uid, const string& tag) { in CreateAttribution() function