Home
last modified time | relevance | path

Searched refs:pullTagId (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/cmds/statsd/tests/external/
DStatsPuller_test.cpp39 int pullTagId = 10014; variable
47 FakePuller() : StatsPuller(pullTagId){}; in FakePuller()
60 shared_ptr<LogEvent> event = make_shared<LogEvent>(pullTagId, eventTimeNs); in createSimpleEvent()
87 EXPECT_EQ(pullTagId, dataHolder[0]->GetTagId()); in TEST_F()
101 EXPECT_EQ(pullTagId, dataHolder[0]->GetTagId()); in TEST_F()
115 EXPECT_EQ(pullTagId, dataHolder[0]->GetTagId()); in TEST_F()
185 EXPECT_EQ(pullTagId, dataHolder[0]->GetTagId()); in TEST_F()
198 EXPECT_EQ(pullTagId, dataHolder[0]->GetTagId()); in TEST_F()
/frameworks/base/cmds/statsd/src/metrics/
DGaugeMetricProducer.cpp74 const sp<EventMatcherWizard>& matcherWizard, const int pullTagId, const int triggerAtomId, in GaugeMetricProducer() argument
81 mPullTagId(pullTagId), in GaugeMetricProducer()
84 mIsPulled(pullTagId != -1), in GaugeMetricProducer()
88 mDimensionSoftLimit(StatsdStats::kAtomDimensionKeySizeLimitMap.find(pullTagId) != in GaugeMetricProducer()
90 ? StatsdStats::kAtomDimensionKeySizeLimitMap.at(pullTagId).first in GaugeMetricProducer()
92 mDimensionHardLimit(StatsdStats::kAtomDimensionKeySizeLimitMap.find(pullTagId) != in GaugeMetricProducer()
94 ? StatsdStats::kAtomDimensionKeySizeLimitMap.at(pullTagId).second in GaugeMetricProducer()
DValueMetricProducer.cpp84 const sp<EventMatcherWizard>& matcherWizard, const int pullTagId, const int64_t timeBaseNs, in ValueMetricProducer() argument
90 mPullTagId(pullTagId), in ValueMetricProducer()
91 mIsPulled(pullTagId != -1), in ValueMetricProducer()
93 mDimensionSoftLimit(StatsdStats::kAtomDimensionKeySizeLimitMap.find(pullTagId) != in ValueMetricProducer()
95 ? StatsdStats::kAtomDimensionKeySizeLimitMap.at(pullTagId).first in ValueMetricProducer()
97 mDimensionHardLimit(StatsdStats::kAtomDimensionKeySizeLimitMap.find(pullTagId) != in ValueMetricProducer()
99 ? StatsdStats::kAtomDimensionKeySizeLimitMap.at(pullTagId).second in ValueMetricProducer()
Dmetrics_manager_util.cpp484 int pullTagId = statsPullerManager.PullerForMatcherExists(atomTagId) ? atomTagId : -1; in initMetrics() local
502 key, metric, conditionIndex, wizard, trackerIndex, matcherWizard, pullTagId, in initMetrics()
544 int pullTagId = statsPullerManager.PullerForMatcherExists(atomTagId) ? atomTagId : -1; in initMetrics() local
549 if (pullTagId == -1) { in initMetrics()
566 if (!metric.has_trigger_event() && pullTagId != -1 && in initMetrics()
589 trackerIndex, matcherWizard, pullTagId, triggerAtomId, atomTagId, in initMetrics()
DGaugeMetricProducer.h63 const int pullTagId, const int triggerAtomId, const int atomId,
DValueMetricProducer.h59 const int pullTagId, const int64_t timeBaseNs, const int64_t startTimeNs,