Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dconfig_update_utils.cpp577 int metricIndex = 0; in determineAllMetricUpdateStatuses() local
579 for (int i = 0; i < config.count_metric_size(); i++, metricIndex++) { in determineAllMetricUpdateStatuses()
589 replacedConditions, replacedStates, metricsToUpdate[metricIndex]); in determineAllMetricUpdateStatuses()
594 for (int i = 0; i < config.duration_metric_size(); i++, metricIndex++) { in determineAllMetricUpdateStatuses()
604 replacedConditions, replacedStates, metricsToUpdate[metricIndex]); in determineAllMetricUpdateStatuses()
609 for (int i = 0; i < config.event_metric_size(); i++, metricIndex++) { in determineAllMetricUpdateStatuses()
619 replacedConditions, replacedStates, metricsToUpdate[metricIndex]); in determineAllMetricUpdateStatuses()
624 for (int i = 0; i < config.value_metric_size(); i++, metricIndex++) { in determineAllMetricUpdateStatuses()
634 replacedConditions, replacedStates, metricsToUpdate[metricIndex]); in determineAllMetricUpdateStatuses()
639 for (int i = 0; i < config.gauge_metric_size(); i++, metricIndex++) { in determineAllMetricUpdateStatuses()
[all …]
Dmetrics_manager_util.cpp221 const int64_t matcherId, const int64_t metricId, const int metricIndex, in handleMetricWithAtomMatchingTrackers() argument
241 metric_list.push_back(metricIndex); in handleMetricWithAtomMatchingTrackers()
246 const int64_t condition, const int64_t metricId, const int metricIndex, in handleMetricWithConditions() argument
270 metricList.push_back(metricIndex); in handleMetricWithConditions()
366 const StatsdConfig& config, const int64_t metricId, const int metricIndex, in handleMetricActivation() argument
401 activationAtomTrackerToMetricMap[atomMatcherIndex].push_back(metricIndex); in handleMetricActivation()
413 deactivationAtomTrackerToMetricMap[deactivationAtomMatcherIndex].push_back(metricIndex); in handleMetricActivation()
418 metricsWithActivation.push_back(metricIndex); in handleMetricActivation()
426 const StatsdConfig& config, const int64_t metricId, const int metricIndex, in handleMetricActivationOnConfigUpdate() argument
474 activationAtomTrackerToMetricMap[newActivationMatcherIndex].push_back(metricIndex); in handleMetricActivationOnConfigUpdate()
[all …]
Dmetrics_manager_util.h69 const int64_t matcherId, int64_t metricId, int metricIndex, const bool enforceOneAtom,
77 const int64_t condition, int64_t metricId, int metricIndex,
87 const StatsdConfig& config, int64_t metricId, int metricIndex,
102 const int64_t currentTimeNs, const CountMetric& metric, int metricIndex,
122 const int64_t currentTimeNs, const DurationMetric& metric, int metricIndex,
142 const EventMetric& metric, int metricIndex,
161 const ValueMetric& metric, int metricIndex,
183 const GaugeMetric& metric, int metricIndex,
203 const KllMetric& metric, int metricIndex,
/packages/modules/StatsD/statsd/src/metrics/
DMetricsManager.cpp579 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
[all …]
DEventMetricProducer.cpp95 const StatsdConfig& config, const int configIndex, const int metricIndex, in onConfigUpdatedLocked() argument
109 config, configIndex, metricIndex, allAtomMatchingTrackers, oldAtomMatchingTrackerMap, in onConfigUpdatedLocked()
122 metric.what(), mMetricId, metricIndex, false, allAtomMatchingTrackers, in onConfigUpdatedLocked()
130 metric.condition(), mMetricId, metricIndex, conditionTrackerMap, metric.links(), in onConfigUpdatedLocked()
DCountMetricProducer.cpp141 const StatsdConfig& config, const int configIndex, const int metricIndex, in onConfigUpdatedLocked() argument
155 config, configIndex, metricIndex, allAtomMatchingTrackers, oldAtomMatchingTrackerMap, in onConfigUpdatedLocked()
168 metric.what(), mMetricId, metricIndex, false, allAtomMatchingTrackers, in onConfigUpdatedLocked()
176 metric.condition(), mMetricId, metricIndex, conditionTrackerMap, metric.links(), in onConfigUpdatedLocked()
DDurationMetricProducer.cpp182 const StatsdConfig& config, const int configIndex, const int metricIndex, in onConfigUpdatedLocked() argument
196 config, configIndex, metricIndex, allAtomMatchingTrackers, oldAtomMatchingTrackerMap, in onConfigUpdatedLocked()
225 simplePredicate.start(), mMetricId, metricIndex, metric.has_dimensions_in_what(), in onConfigUpdatedLocked()
234 simplePredicate.stop(), mMetricId, metricIndex, metric.has_dimensions_in_what(), in onConfigUpdatedLocked()
243 simplePredicate.stop_all(), mMetricId, metricIndex, metric.has_dimensions_in_what(), in onConfigUpdatedLocked()
253 metric.condition(), mMetricId, metricIndex, conditionTrackerMap, metric.links(), in onConfigUpdatedLocked()
DGaugeMetricProducer.cpp162 const StatsdConfig& config, const int configIndex, const int metricIndex, in onConfigUpdatedLocked() argument
176 config, configIndex, metricIndex, allAtomMatchingTrackers, oldAtomMatchingTrackerMap, in onConfigUpdatedLocked()
188 metric.what(), mMetricId, metricIndex, /*enforceOneAtom=*/false, in onConfigUpdatedLocked()
199 metric.trigger_event(), mMetricId, metricIndex, in onConfigUpdatedLocked()
209 metric.condition(), mMetricId, metricIndex, conditionTrackerMap, metric.links(), in onConfigUpdatedLocked()
DMetricProducer.h157 const StatsdConfig& config, int configIndex, int metricIndex, in onConfigUpdated() argument
172 return onConfigUpdatedLocked(config, configIndex, metricIndex, allAtomMatchingTrackers, in onConfigUpdated()
253 const StatsdConfig& config, int configIndex, int metricIndex,
DValueMetricProducer.cpp182 const StatsdConfig& config, const int configIndex, const int metricIndex, in onConfigUpdatedLocked() argument
196 config, configIndex, metricIndex, allAtomMatchingTrackers, oldAtomMatchingTrackerMap, in onConfigUpdatedLocked()
207 atomMatcherId, mMetricId, metricIndex, /*enforceOneAtom=*/false, in onConfigUpdatedLocked()
217 conditionIdOpt.value(), mMetricId, metricIndex, conditionTrackerMap, conditionLinks, in onConfigUpdatedLocked()
DEventMetricProducer.h75 const StatsdConfig& config, int configIndex, int metricIndex,
DMetricProducer.cpp86 const StatsdConfig& config, const int configIndex, const int metricIndex, in onConfigUpdatedLocked() argument
105 config, mMetricId, metricIndex, metricToActivationMap, oldAtomMatchingTrackerMap, in onConfigUpdatedLocked()
DCountMetricProducer.h108 const StatsdConfig& config, int configIndex, int metricIndex,
DDurationMetricProducer.h124 const StatsdConfig& config, int configIndex, int metricIndex,
DGaugeMetricProducer.h158 const StatsdConfig& config, int configIndex, int metricIndex,
DValueMetricProducer.h220 const StatsdConfig& config, int configIndex, int metricIndex,