Home
last modified time | relevance | path

Searched refs:statePrimaryKeys (Results 1 – 12 of 12) sorted by relevance

/aosp12/packages/modules/StatsD/statsd/src/metrics/
H A DMetricProducer.cpp136 std::map<int32_t, HashableDimensionKey> statePrimaryKeys; in onMatchedLogEventLocked() local
143 &statePrimaryKeys[stateLink.stateAtomId]); in onMatchedLogEventLocked()
157 if (statePrimaryKeys.find(atomId) != statePrimaryKeys.end()) { in onMatchedLogEventLocked()
159 queryStateValue(atomId, statePrimaryKeys[atomId], &value); in onMatchedLogEventLocked()
173 statePrimaryKeys); in onMatchedLogEventLocked()
H A DDurationMetricProducer.cpp670 const map<int, HashableDimensionKey>& statePrimaryKeys) { in onMatchedLogEventInternalLocked() argument
706 std::map<int, HashableDimensionKey> statePrimaryKeys; in handleMatchedLogEventValuesLocked() local
712 getDimensionForState(values, stateLink, &statePrimaryKeys[stateLink.stateAtomId]); in handleMatchedLogEventValuesLocked()
726 if (statePrimaryKeys.find(atomId) != statePrimaryKeys.end()) { in handleMatchedLogEventValuesLocked()
728 queryStateValue(atomId, statePrimaryKeys[atomId], &value); in handleMatchedLogEventValuesLocked()
H A DEventMetricProducer.h56 const std::map<int, HashableDimensionKey>& statePrimaryKeys) override;
H A DCountMetricProducer.h68 const std::map<int, HashableDimensionKey>& statePrimaryKeys) override;
H A DDurationMetricProducer.h76 const std::map<int, HashableDimensionKey>& statePrimaryKeys) override;
H A DEventMetricProducer.cpp192 const map<int, HashableDimensionKey>& statePrimaryKeys) { in onMatchedLogEventInternalLocked() argument
H A DGaugeMetricProducer.h108 const std::map<int, HashableDimensionKey>& statePrimaryKeys) override;
H A DValueMetricProducer.cpp828 const map<int, HashableDimensionKey>& statePrimaryKeys) { in onMatchedLogEventInternalLocked() argument
833 auto it = statePrimaryKeys.find(mStateChangePrimaryKey.first); in onMatchedLogEventInternalLocked()
835 if (it != statePrimaryKeys.end() && it->second != mStateChangePrimaryKey.second) { in onMatchedLogEventInternalLocked()
H A DValueMetricProducer.h103 const std::map<int, HashableDimensionKey>& statePrimaryKeys) override;
H A DCountMetricProducer.cpp328 const map<int, HashableDimensionKey>& statePrimaryKeys) { in onMatchedLogEventInternalLocked() argument
H A DMetricProducer.h405 const map<int, HashableDimensionKey>& statePrimaryKeys) = 0;
H A DGaugeMetricProducer.cpp517 const map<int, HashableDimensionKey>& statePrimaryKeys) { in onMatchedLogEventInternalLocked() argument