Home
last modified time | relevance | path

Searched refs:mDimInfos (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/statsd/tests/metrics/
DNumericValueMetricProducer_test.cpp321 ASSERT_EQ(1UL, valueProducer->mDimInfos.size()); in TEST()
322 optional<Value> curBase = valueProducer->mDimInfos.begin()->second.dimExtras[0]; in TEST()
335 ASSERT_EQ(1UL, valueProducer->mDimInfos.size()); in TEST()
336 curBase = valueProducer->mDimInfos.begin()->second.dimExtras[0]; in TEST()
350 ASSERT_EQ(1UL, valueProducer->mDimInfos.size()); in TEST()
351 curBase = valueProducer->mDimInfos.begin()->second.dimExtras[0]; in TEST()
446 ASSERT_EQ(1UL, valueProducer->mDimInfos.size()); in TEST()
447 optional<Value> curBase = valueProducer->mDimInfos.begin()->second.dimExtras[0]; in TEST()
459 ASSERT_EQ(0UL, valueProducer->mDimInfos.size()); in TEST()
465 ASSERT_EQ(1UL, valueProducer->mDimInfos.size()); in TEST()
[all …]
/packages/modules/StatsD/statsd/src/metrics/
DValueMetricProducer.cpp615 for (const auto& [dimensionInWhatKey, dimensionInWhatInfo] : mDimInfos) { in updateCurrentSlicedBucketConditionTimers()
715 const auto& returnVal = mDimInfos.emplace(whatKey, DimensionsInWhatInfo(getUnknownStateKey())); in onMatchedLogEventInternalLocked()
899 const auto& currentDimInfoItr = mDimInfos.find(dimensionInWhatKey); in initNextSlicedBucket()
901 if ((currentDimInfoItr != mDimInfos.end()) && in initNextSlicedBucket()
912 for (auto it = mDimInfos.begin(); it != mDimInfos.end();) { in initNextSlicedBucket()
914 it = mDimInfos.erase(it); in initNextSlicedBucket()
DNumericValueMetricProducer.cpp113 for (auto& [_, dimInfo] : mDimInfos) { in resetBase()
327 auto it = mDimInfos.find(whatKey); in accumulateEvents()
328 if (it != mDimInfos.end()) { in accumulateEvents()
329 mDimInfos.erase(it); in accumulateEvents()
DValueMetricProducer.h322 std::unordered_map<HashableDimensionKey, DimensionsInWhatInfo> mDimInfos; variable