Home
last modified time | relevance | path

Searched refs:mConditionTrackerIndex (Results 1 – 11 of 11) sorted by relevance

/packages/modules/StatsD/statsd/src/metrics/
DDurationMetricProducer.cpp160 if (mWizard != nullptr && mConditionTrackerIndex >= 0 && in DurationMetricProducer()
163 mConditionTrackerIndex, mMetric2ConditionLinks.begin()->conditionFields); in DurationMetricProducer()
254 allConditionTrackers, mConditionTrackerIndex, conditionToMetricMap); in onConfigUpdatedLocked()
261 it.second->onConfigUpdated(wizard, mConditionTrackerIndex); in onConfigUpdatedLocked()
354 mConfigKey, mMetricId, eventKey, mWizard, mConditionTrackerIndex, mNested, in createDurationTracker()
359 mConfigKey, mMetricId, eventKey, mWizard, mConditionTrackerIndex, mNested, in createDurationTracker()
375 if (!mWizard->IsSimpleCondition(mConditionTrackerIndex)) { in onSlicedConditionMayChangeLocked_opt1()
377 mWizard->getUnSlicedPartConditionState(mConditionTrackerIndex); in onSlicedConditionMayChangeLocked_opt1()
387 auto dimensionsChangedToTrue = mWizard->getChangedToTrueDimensions(mConditionTrackerIndex); in onSlicedConditionMayChangeLocked_opt1()
388 auto dimensionsChangedToFalse = mWizard->getChangedToFalseDimensions(mConditionTrackerIndex); in onSlicedConditionMayChangeLocked_opt1()
[all …]
DCountMetricProducer.cpp177 allConditionTrackers, mConditionTrackerIndex, conditionToMetricMap); in onConfigUpdatedLocked()
305 if (mConditionTrackerIndex >= 0 && mSlicedStateAtoms.empty() && !mConditionSliced) { in onDumpReportLocked()
537 if (mConditionTrackerIndex >= 0 && mSlicedStateAtoms.empty() && !mConditionSliced) { in computeBucketSizeLocked()
DMetricProducer.cpp67 mConditionTrackerIndex(conditionIndex), in MetricProducer()
139 mWizard->query(mConditionTrackerIndex, conditionKey, in onMatchedLogEventLocked()
DValueMetricProducer.cpp218 allConditionTrackers, mConditionTrackerIndex, conditionToMetricMap); in onConfigUpdatedLocked()
240 if (mConditionTrackerIndex >= 0 || !mSlicedStateAtoms.empty()) { in computeValueBucketSizeLocked()
441 if (mConditionTrackerIndex >= 0 || !mSlicedStateAtoms.empty()) { in onDumpReportLocked()
DEventMetricProducer.cpp131 allConditionTrackers, mConditionTrackerIndex, conditionToMetricMap); in onConfigUpdatedLocked()
DMetricProducer.h538 int mConditionTrackerIndex; variable
DGaugeMetricProducer.cpp210 allConditionTrackers, mConditionTrackerIndex, conditionToMetricMap); in onConfigUpdatedLocked()
/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DDurationTracker.h85 mConditionTrackerIndex(conditionIndex), in DurationTracker()
101 mConditionTrackerIndex = conditionTrackerIndex; in onConfigUpdated()
250 int mConditionTrackerIndex; variable
DOringDurationTracker.cpp264 mWizard->query(mConditionTrackerIndex, condIt->second, in onSlicedConditionMayChange()
296 mWizard->query(mConditionTrackerIndex, mConditionKeyMap[key], in onSlicedConditionMayChange()
DMaxDurationTracker.cpp251 mConditionTrackerIndex, pair.second.conditionKeys, in onSlicedConditionMayChange()
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dconfig_update_utils_test.cpp2040 EXPECT_EQ(newMetricProducers[event1Index]->mConditionTrackerIndex, predicate2Index); in TEST_F()
2043 EXPECT_EQ(newMetricProducers[event2Index]->mConditionTrackerIndex, predicate1Index); in TEST_F()
2046 EXPECT_EQ(newMetricProducers[event3Index]->mConditionTrackerIndex, -1); in TEST_F()
2049 EXPECT_EQ(newMetricProducers[event4Index]->mConditionTrackerIndex, predicate1Index); in TEST_F()
2052 EXPECT_EQ(newMetricProducers[event6Index]->mConditionTrackerIndex, predicate2Index); in TEST_F()
2269 EXPECT_EQ(newMetricProducers[count1Index]->mConditionTrackerIndex, predicate1Index); in TEST_F()
2274 EXPECT_EQ(newMetricProducers[count2Index]->mConditionTrackerIndex, -1); in TEST_F()
2278 EXPECT_EQ(newMetricProducers[count3Index]->mConditionTrackerIndex, -1); in TEST_F()
2282 EXPECT_EQ(newMetricProducers[count4Index]->mConditionTrackerIndex, -1); in TEST_F()
2287 EXPECT_EQ(newMetricProducers[count6Index]->mConditionTrackerIndex, predicate1Index); in TEST_F()
[all …]