/frameworks/base/cmds/statsd/benchmark/ |
D | duration_metric_benchmark.cpp | 142 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 …]
|
D | metric_util.h | 148 AttributionNodeInternal CreateAttribution(const int& uid, const string& tag);
|
D | metric_util.cpp | 376 AttributionNodeInternal CreateAttribution(const int& uid, const string& tag) { in CreateAttribution() function
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | Attribution_e2e_test.cpp | 78 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 …]
|
D | DimensionInCondition_e2e_simple_cond_test.cpp | 88 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 …]
|
D | Anomaly_count_e2e_test.cpp | 76 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()
|
D | DimensionInCondition_e2e_combination_AND_cond_test.cpp | 131 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 …]
|
D | DimensionInCondition_e2e_combination_OR_cond_test.cpp | 82 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 …]
|
D | WakelockDuration_e2e_test.cpp | 64 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")};
|
D | MetricConditionLink_e2e_test.cpp | 139 CreateAttribution(appUid, "App1"), CreateAttribution(appUid + 1, "GMSCoreModule1")}; in TEST() 259 CreateAttribution(appUid, "App1"), CreateAttribution(appUid + 1, "GMSCoreModule1")}; in TEST()
|
D | Anomaly_duration_sum_e2e_test.cpp | 74 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")};
|
D | ConfigTtl_e2e_test.cpp | 75 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST()
|
D | DurationMetric_e2e_test.cpp | 404 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/ |
D | StatsLogProcessor_test.cpp | 267 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()
|
D | statsd_test_util.h | 179 AttributionNodeInternal CreateAttribution(const int& uid, const string& tag);
|
D | statsd_test_util.cpp | 470 AttributionNodeInternal CreateAttribution(const int& uid, const string& tag) { in CreateAttribution() function
|