/frameworks/base/cmds/statsd/benchmark/ |
D | metric_util.h | 105 const std::vector<AttributionNodeInternal>& attributions, 110 const std::vector<AttributionNodeInternal>& attributions, 121 const std::vector<AttributionNodeInternal>& attributions, const string& name, 126 const std::vector<AttributionNodeInternal>& attributions, const string& name, 135 const std::vector<AttributionNodeInternal>& attributions, const string& wakelockName, 140 const std::vector<AttributionNodeInternal>& attributions, const string& wakelockName, 148 AttributionNodeInternal CreateAttribution(const int& uid, const string& tag);
|
D | metric_util.cpp | 266 const std::vector<AttributionNodeInternal>& attributions, const string& jobName, in CreateScheduledJobStateChangedEvent() 277 const std::vector<AttributionNodeInternal>& attributions, in CreateStartScheduledJobEvent() 285 const std::vector<AttributionNodeInternal>& attributions, in CreateFinishScheduledJobEvent() 292 const std::vector<AttributionNodeInternal>& attributions, const string& wakelockName, in CreateWakelockStateChangedEvent() 304 const std::vector<AttributionNodeInternal>& attributions, const string& wakelockName, in CreateAcquireWakelockEvent() 311 const std::vector<AttributionNodeInternal>& attributions, const string& wakelockName, in CreateReleaseWakelockEvent() 340 const std::vector<AttributionNodeInternal>& attributions, const string& name, in CreateSyncStateChangedEvent() 351 const std::vector<AttributionNodeInternal>& attributions, const string& name, in CreateSyncStartEvent() 357 const std::vector<AttributionNodeInternal>& attributions, const string& name, in CreateSyncEndEvent() 374 AttributionNodeInternal CreateAttribution(const int& uid, const string& tag) { in CreateAttribution() [all …]
|
D | filter_value_benchmark.cpp | 30 AttributionNodeInternal node; in createLogEventAndMatcher() 34 std::vector<AttributionNodeInternal> nodes = {node, node}; in createLogEventAndMatcher()
|
D | get_dimensions_for_condition_benchmark.cpp | 30 AttributionNodeInternal node; in createLogEventAndLink() 34 std::vector<AttributionNodeInternal> nodes = {node, node}; in createLogEventAndLink()
|
D | duration_metric_benchmark.cpp | 141 std::vector<AttributionNodeInternal> attributions1 = { in BM_DurationMetricNoLink() 145 std::vector<AttributionNodeInternal> attributions2 = { in BM_DurationMetricNoLink() 233 std::vector<AttributionNodeInternal> attributions1 = { in BM_DurationMetricLink() 237 std::vector<AttributionNodeInternal> attributions2 = { in BM_DurationMetricLink() 241 std::vector<AttributionNodeInternal> attributions3 = { in BM_DurationMetricLink()
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | Attribution_e2e_test.cpp | 76 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"), in TEST() 81 std::vector<AttributionNodeInternal> attributions2 = {CreateAttribution(111, "App1"), in TEST() 86 std::vector<AttributionNodeInternal> attributions3 = {CreateAttribution(222, "GMSCoreModule1"), in TEST() 90 std::vector<AttributionNodeInternal> attributions4 = {CreateAttribution(222, "GMSCoreModule1")}; in TEST() 93 std::vector<AttributionNodeInternal> attributions5 = {CreateAttribution(111, "App1"), in TEST() 98 std::vector<AttributionNodeInternal> attributions6 = {CreateAttribution(444, "GMSCoreModule2"), in TEST() 102 std::vector<AttributionNodeInternal> attributions7 = {CreateAttribution(111, "App1"), in TEST() 104 std::vector<AttributionNodeInternal> attributions8 = {CreateAttribution(111, "App1")}; in TEST() 108 std::vector<AttributionNodeInternal> attributions9 = { in TEST() 222 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"), in TEST() [all …]
|
D | Anomaly_count_e2e_test.cpp | 76 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST() 77 std::vector<AttributionNodeInternal> attributions2 = { in TEST() 79 std::vector<AttributionNodeInternal> attributions3 = { in TEST() 81 std::vector<AttributionNodeInternal> attributions4 = { in TEST() 83 std::vector<AttributionNodeInternal> attributions5 = { in TEST() 179 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST() 180 std::vector<AttributionNodeInternal> attributions2 = { in TEST() 182 std::vector<AttributionNodeInternal> attributions3 = { in TEST() 184 std::vector<AttributionNodeInternal> attributions4 = { in TEST() 186 std::vector<AttributionNodeInternal> attributions5 = { in TEST()
|
D | DimensionInCondition_e2e_simple_cond_test.cpp | 87 std::vector<AttributionNodeInternal> attributions1 = { in TEST() 91 std::vector<AttributionNodeInternal> attributions2 = { in TEST() 373 std::vector<AttributionNodeInternal> attributions1 = { in TEST() 377 std::vector<AttributionNodeInternal> attributions2 = { in TEST() 381 std::vector<AttributionNodeInternal> attributions3 = { in TEST() 595 std::vector<AttributionNodeInternal> attributions1 = { in TEST() 599 std::vector<AttributionNodeInternal> attributions2 = { in TEST() 603 std::vector<AttributionNodeInternal> attributions3 = { in TEST()
|
D | DimensionInCondition_e2e_combination_AND_cond_test.cpp | 102 std::vector<AttributionNodeInternal> attributions1 = { in TEST() 106 std::vector<AttributionNodeInternal> attributions2 = { in TEST() 441 std::vector<AttributionNodeInternal> attributions1 = { in TEST() 445 std::vector<AttributionNodeInternal> attributions2 = { in TEST() 449 std::vector<AttributionNodeInternal> attributions3 = { in TEST() 691 std::vector<AttributionNodeInternal> attributions1 = { in TEST() 695 std::vector<AttributionNodeInternal> attributions2 = { in TEST() 699 std::vector<AttributionNodeInternal> attributions3 = { in TEST()
|
D | DimensionInCondition_e2e_combination_OR_cond_test.cpp | 82 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"), in TEST() 86 std::vector<AttributionNodeInternal> attributions2 = {CreateAttribution(333, "App2"), in TEST() 293 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"), in TEST() 297 std::vector<AttributionNodeInternal> attributions2 = {CreateAttribution(333, "App2"), in TEST() 481 std::vector<AttributionNodeInternal> attributions1 = { in TEST() 485 std::vector<AttributionNodeInternal> attributions2 = { in TEST() 687 std::vector<AttributionNodeInternal> attributions1 = { in TEST() 691 std::vector<AttributionNodeInternal> attributions2 = { in TEST()
|
D | ConfigTtl_e2e_test.cpp | 75 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1")}; in TEST()
|
D | Anomaly_duration_sum_e2e_test.cpp | 74 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"), 77 std::vector<AttributionNodeInternal> attributions2 = {CreateAttribution(111, "App2"), 80 std::vector<AttributionNodeInternal> attributions3 = {CreateAttribution(222, "GMSCoreModule1")};
|
D | WakelockDuration_e2e_test.cpp | 64 std::vector<AttributionNodeInternal> attributions1 = {CreateAttribution(111, "App1"), 68 std::vector<AttributionNodeInternal> attributions2 = {CreateAttribution(111, "App2"),
|
D | MetricConditionLink_e2e_test.cpp | 139 std::vector<AttributionNodeInternal> attributions = { in TEST() 259 std::vector<AttributionNodeInternal> attributions = { in TEST()
|
/frameworks/base/cmds/statsd/tests/ |
D | LogEvent_test.cpp | 28 std::vector<AttributionNodeInternal> nodes; in TEST() 30 AttributionNodeInternal node1; in TEST() 35 AttributionNodeInternal node2; in TEST() 95 std::vector<AttributionNodeInternal> nodes; in TEST() 100 AttributionNodeInternal node1; in TEST() 105 AttributionNodeInternal node2; in TEST()
|
D | statsd_test_util.h | 131 const std::vector<AttributionNodeInternal>& attributions, 136 const std::vector<AttributionNodeInternal>& attributions, 152 const std::vector<AttributionNodeInternal>& attributions, const string& name, 157 const std::vector<AttributionNodeInternal>& attributions, const string& name, 166 const std::vector<AttributionNodeInternal>& attributions, const string& wakelockName, 171 const std::vector<AttributionNodeInternal>& attributions, const string& wakelockName, 179 AttributionNodeInternal CreateAttribution(const int& uid, const string& tag);
|
D | FieldValue_test.cpp | 89 AttributionNodeInternal attribution_node1; in TEST() 93 AttributionNodeInternal attribution_node2; in TEST() 97 AttributionNodeInternal attribution_node3; in TEST() 100 std::vector<AttributionNodeInternal> attribution_nodes = {attribution_node1, attribution_node2, in TEST() 175 AttributionNodeInternal attribution_node1; in TEST() 179 AttributionNodeInternal attribution_node2; in TEST() 183 AttributionNodeInternal attribution_node3; in TEST() 186 std::vector<AttributionNodeInternal> attribution_nodes = {attribution_node1, attribution_node2, in TEST() 437 AttributionNodeInternal attribution_node1; in TEST() 441 AttributionNodeInternal attribution_node2; in TEST() [all …]
|
D | LogEntryMatcher_test.cpp | 63 AttributionNodeInternal attribution_node1; in TEST() 67 AttributionNodeInternal attribution_node2; in TEST() 71 AttributionNodeInternal attribution_node3; in TEST() 74 std::vector<AttributionNodeInternal> attribution_nodes = {attribution_node1, attribution_node2, in TEST() 303 AttributionNodeInternal attribution_node1; in TEST() 307 AttributionNodeInternal attribution_node2; in TEST() 311 AttributionNodeInternal attribution_node3; in TEST() 315 AttributionNodeInternal attribution_node4; in TEST() 318 std::vector<AttributionNodeInternal> attribution_nodes = {attribution_node1, attribution_node2, in TEST() 378 AttributionNodeInternal attribution_node1; in TEST() [all …]
|
D | statsd_test_util.cpp | 329 const std::vector<AttributionNodeInternal>& attributions, const string& jobName, in CreateScheduledJobStateChangedEvent() 340 const std::vector<AttributionNodeInternal>& attributions, in CreateStartScheduledJobEvent() 348 const std::vector<AttributionNodeInternal>& attributions, in CreateFinishScheduledJobEvent() 355 const std::vector<AttributionNodeInternal>& attributions, const string& wakelockName, in CreateWakelockStateChangedEvent() 367 const std::vector<AttributionNodeInternal>& attributions, const string& wakelockName, in CreateAcquireWakelockEvent() 374 const std::vector<AttributionNodeInternal>& attributions, const string& wakelockName, in CreateReleaseWakelockEvent() 403 const std::vector<AttributionNodeInternal>& attributions, const string& name, in CreateSyncStateChangedEvent() 414 const std::vector<AttributionNodeInternal>& attributions, const string& name, in CreateSyncStartEvent() 420 const std::vector<AttributionNodeInternal>& attributions, const string& name, in CreateSyncEndEvent() 467 AttributionNodeInternal CreateAttribution(const int& uid, const string& tag) { in CreateAttribution() [all …]
|
/frameworks/base/cmds/statsd/src/logd/ |
D | LogEvent.h | 34 struct AttributionNodeInternal { struct 111 bool write(const std::vector<AttributionNodeInternal>& nodes); 112 bool write(const AttributionNodeInternal& node);
|
D | LogEvent.cpp | 131 bool LogEvent::write(const std::vector<AttributionNodeInternal>& nodes) { in write() 149 bool LogEvent::write(const AttributionNodeInternal& node) { in write()
|
/frameworks/base/cmds/statsd/tests/condition/ |
D | SimpleConditionTracker_test.cpp | 61 std::vector<AttributionNodeInternal> nodes; in writeAttributionNodesToEvent() 63 AttributionNodeInternal node; in writeAttributionNodesToEvent()
|