Home
last modified time | relevance | path

Searched refs:getStateValuesKey (Results 1 – 9 of 9) sorted by relevance

/aosp12/packages/modules/StatsD/statsd/tests/metrics/
H A DValueMetricProducer_test.cpp4037 ASSERT_EQ(1, it->first.getStateValuesKey().getValues().size()); in TEST()
4059 ASSERT_EQ(1, it->first.getStateValuesKey().getValues().size()); in TEST()
4067 ASSERT_EQ(1, it->first.getStateValuesKey().getValues().size()); in TEST()
4090 ASSERT_EQ(1, it->first.getStateValuesKey().getValues().size()); in TEST()
4098 ASSERT_EQ(1, it->first.getStateValuesKey().getValues().size()); in TEST()
4108 ASSERT_EQ(1, it->first.getStateValuesKey().getValues().size()); in TEST()
4132 ASSERT_EQ(1, it->first.getStateValuesKey().getValues().size()); in TEST()
4142 ASSERT_EQ(1, it->first.getStateValuesKey().getValues().size()); in TEST()
4152 ASSERT_EQ(1, it->first.getStateValuesKey().getValues().size()); in TEST()
4287 ASSERT_EQ(1, it->first.getStateValuesKey().getValues().size()); in TEST()
[all …]
/aosp12/packages/modules/StatsD/statsd/src/metrics/duration_helper/
H A DOringDurationTracker.cpp92 mStateKeyDurationMap[mEventKey.getStateValuesKey()].mDuration += in noteStop()
99 mEventKey.getStateValuesKey().toString().c_str()); in noteStop()
118 mStateKeyDurationMap[mEventKey.getStateValuesKey()].mDuration += in noteStopAll()
122 mEventKey.getStateValuesKey().toString().c_str()); in noteStopAll()
158 mStateKeyDurationMap[mEventKey.getStateValuesKey()].mDuration += in flushCurrentBucket()
261 mStateKeyDurationMap[mEventKey.getStateValuesKey()].mDuration += in onSlicedConditionMayChange()
265 mEventKey.getStateValuesKey().toString().c_str()); in onSlicedConditionMayChange()
324 mStateKeyDurationMap[mEventKey.getStateValuesKey()].mDuration += in onConditionChanged()
350 mStateKeyDurationMap[mEventKey.getStateValuesKey()].mDuration += (timestamp - mLastStartTime); in onStateChanged()
445 auto it = mStateKeyDurationMap.find(mEventKey.getStateValuesKey()); in getCurrentStateKeyDuration()
[all …]
/aosp12/packages/modules/StatsD/statsd/src/
H A DHashableDimensionKey.h108 mStateValuesKey(that.getStateValuesKey()){}; in MetricDimensionKey()
118 inline const HashableDimensionKey& getStateValuesKey() const { in getStateValuesKey() function
243 hash = android::JenkinsHashMix(hash, hashDimension(key.getStateValuesKey()));
H A DHashableDimensionKey.cpp353 mStateValuesKey == that.getStateValuesKey(); in operator ==()
367 return mStateValuesKey < that.getStateValuesKey(); in operator <()
H A Dmetadata_util.cpp64 for (const FieldValue& fieldValue : metricKey.getStateValuesKey().getValues()) { in writeMetricDimensionKeyToMetadataDimensionKey()
/aosp12/packages/modules/StatsD/statsd/src/metrics/
H A DCountMetricProducer.cpp191 it.first.getStateValuesKey().toString().c_str(), (unsigned long long)it.second); in dumpStatesLocked()
257 for (auto state : dimensionKey.getStateValuesKey().getValues()) { in onDumpReportLocked()
H A DValueMetricProducer.cpp375 for (auto state : dimensionKey.getStateValuesKey().getValues()) { in onDumpReportLocked()
742 it.first.getStateValuesKey().toString().c_str(), in dumpStatesLocked()
830 auto stateKey = eventKey.getStateValuesKey(); in onMatchedLogEventInternalLocked()
1191 (it->first.getStateValuesKey() == currentBaseInfoItr->second.currentState)) { in initCurrentSlicedBucket()
H A DGaugeMetricProducer.cpp229 it.first.getStateValuesKey().toString().c_str(), (int)it.second.size()); in dumpStatesLocked()
H A DDurationMetricProducer.cpp541 for (auto state : dimensionKey.getStateValuesKey().getValues()) { in onDumpReportLocked()