/packages/modules/StatsD/statsd/src/metrics/parsing_utils/ |
D | config_update_utils.cpp | 577 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 …]
|
D | metrics_manager_util.cpp | 221 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 …]
|
D | metrics_manager_util.h | 69 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/ |
D | MetricsManager.cpp | 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 [all …]
|
D | EventMetricProducer.cpp | 95 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()
|
D | CountMetricProducer.cpp | 141 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()
|
D | DurationMetricProducer.cpp | 182 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()
|
D | GaugeMetricProducer.cpp | 162 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()
|
D | MetricProducer.h | 157 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,
|
D | ValueMetricProducer.cpp | 182 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()
|
D | EventMetricProducer.h | 75 const StatsdConfig& config, int configIndex, int metricIndex,
|
D | MetricProducer.cpp | 86 const StatsdConfig& config, const int configIndex, const int metricIndex, in onConfigUpdatedLocked() argument 105 config, mMetricId, metricIndex, metricToActivationMap, oldAtomMatchingTrackerMap, in onConfigUpdatedLocked()
|
D | CountMetricProducer.h | 108 const StatsdConfig& config, int configIndex, int metricIndex,
|
D | DurationMetricProducer.h | 124 const StatsdConfig& config, int configIndex, int metricIndex,
|
D | GaugeMetricProducer.h | 158 const StatsdConfig& config, int configIndex, int metricIndex,
|
D | ValueMetricProducer.h | 220 const StatsdConfig& config, int configIndex, int metricIndex,
|