Lines Matching refs:metricIndex
579 for (int metricIndex : mMetricIndexesWithActivation) { in onLogEvent() local
580 const sp<MetricProducer>& metric = mAllMetricProducers[metricIndex]; in onLogEvent()
585 activeMetricsIndices.insert(metricIndex); in onLogEvent()
623 for (int metricIndex : it.second) { in onLogEvent() local
624 mAllMetricProducers[metricIndex]->cancelEventActivation(it.first); in onLogEvent()
625 metricIndicesWithCanceledActivations.insert(metricIndex); in onLogEvent()
631 for (const int metricIndex : metricIndicesWithCanceledActivations) { in onLogEvent() local
632 const sp<MetricProducer>& metric = mAllMetricProducers[metricIndex]; in onLogEvent()
635 activeMetricsIndices.erase(metricIndex); in onLogEvent()
644 for (int metricIndex : it.second) { in onLogEvent() local
645 mAllMetricProducers[metricIndex]->activate(it.first, eventTimeNs); in onLogEvent()
646 isActive |= mAllMetricProducers[metricIndex]->isActive(); in onLogEvent()
693 for (auto metricIndex : metricList) { in onLogEvent() local
696 if (!mAllMetricProducers[metricIndex]->isConditionSliced()) { in onLogEvent()
697 mAllMetricProducers[metricIndex]->onConditionChanged(conditionCache[i], in onLogEvent()
703 mAllMetricProducers[metricIndex]->onSlicedConditionMayChange(conditionCache[i], in onLogEvent()
720 for (const int metricIndex : metricList) { in onLogEvent() local
722 mAllMetricProducers[metricIndex]->onMatchedLogEvent(i, metricEvent); in onLogEvent()
768 for (const int metricIndex : metricsList) { in notifyMetricsAboutLostAtom() local
769 mAllMetricProducers[metricIndex]->onMatchedLogEventLost( in notifyMetricsAboutLostAtom()
783 for (const int metricIndex : metricsList) { in notifyMetricsAboutLostAtom() local
784 mAllMetricProducers[metricIndex]->onMatchedLogEventLost( in notifyMetricsAboutLostAtom()
828 for (int metricIndex : mMetricIndexesWithActivation) { in loadActiveConfig() local
829 const auto& metric = mAllMetricProducers[metricIndex]; in loadActiveConfig()
848 for (int metricIndex : mMetricIndexesWithActivation) { in writeActiveConfigToProtoOutputStream() local
849 const auto& metric = mAllMetricProducers[metricIndex]; in writeActiveConfigToProtoOutputStream()