Searched refs:metricIndex (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/cmds/statsd/src/metrics/ |
D | MetricsManager.cpp | 370 for (int metricIndex : mMetricIndexesWithActivation) { in onLogEvent() local 371 const sp<MetricProducer>& metric = mAllMetricProducers[metricIndex]; in onLogEvent() 376 activeMetricsIndices.insert(metricIndex); in onLogEvent() 400 for (int metricIndex : it.second) { in onLogEvent() local 401 mAllMetricProducers[metricIndex]->cancelEventActivation(it.first); in onLogEvent() 402 metricIndicesWithCanceledActivations.insert(metricIndex); in onLogEvent() 408 for (const int metricIndex : metricIndicesWithCanceledActivations) { in onLogEvent() local 409 const sp<MetricProducer>& metric = mAllMetricProducers[metricIndex]; in onLogEvent() 412 activeMetricsIndices.erase(metricIndex); in onLogEvent() 422 for (int metricIndex : it.second) { in onLogEvent() local [all …]
|
D | metrics_manager_util.cpp | 64 bool handleMetricWithLogTrackers(const int64_t what, const int metricIndex, in handleMetricWithLogTrackers() argument 83 metric_list.push_back(metricIndex); in handleMetricWithLogTrackers() 88 const int64_t trigger, const int metricIndex, in handlePullMetricTriggerWithLogTrackers() argument 105 metric_list.push_back(metricIndex); in handlePullMetricTriggerWithLogTrackers() 110 const int64_t condition, const int metricIndex, in handleMetricWithConditions() argument 135 metricList.push_back(metricIndex); in handleMetricWithConditions() 314 int metricIndex = allMetricProducers.size(); in initMetrics() local 315 metricMap.insert({metric.id(), metricIndex}); in initMetrics() 317 if (!handleMetricWithLogTrackers(metric.what(), metricIndex, in initMetrics() 327 metric.condition(), metricIndex, conditionTrackerMap, metric.links(), in initMetrics() [all …]
|