Home
last modified time | relevance | path

Searched refs:atomMatcher (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/cmds/statsd/tests/metrics/
DGaugeMetricProducer_test.cpp69 SimpleAtomMatcher atomMatcher; in TEST() local
70 atomMatcher.set_atom_id(tagId); in TEST()
72 new SimpleLogMatchingTracker(atomMatcherId, logEventMatcherIndex, atomMatcher, uidMap)}); in TEST()
104 SimpleAtomMatcher atomMatcher; in TEST() local
105 atomMatcher.set_atom_id(tagId); in TEST()
107 new SimpleLogMatchingTracker(atomMatcherId, logEventMatcherIndex, atomMatcher, uidMap)}); in TEST()
205 SimpleAtomMatcher atomMatcher; in TEST() local
206 atomMatcher.set_atom_id(tagId); in TEST()
208 new SimpleLogMatchingTracker(atomMatcherId, logEventMatcherIndex, atomMatcher, uidMap)}); in TEST()
282 SimpleAtomMatcher atomMatcher; in TEST() local
[all …]
DValueMetricProducer_test.cpp95 SimpleAtomMatcher atomMatcher; in createValueProducerNoConditions() local
96 atomMatcher.set_atom_id(tagId); in createValueProducerNoConditions()
99 atomMatcherId, logEventMatcherIndex, atomMatcher, uidMap)}); in createValueProducerNoConditions()
115 SimpleAtomMatcher atomMatcher; in createValueProducerWithCondition() local
116 atomMatcher.set_atom_id(tagId); in createValueProducerWithCondition()
119 atomMatcherId, logEventMatcherIndex, atomMatcher, uidMap)}); in createValueProducerWithCondition()
159 SimpleAtomMatcher atomMatcher; in TEST() local
160 atomMatcher.set_atom_id(tagId); in TEST()
163 atomMatcherId, logEventMatcherIndex, atomMatcher, uidMap)}); in TEST()
189 SimpleAtomMatcher atomMatcher; in TEST() local
[all …]
/frameworks/base/cmds/statsd/src/metrics/
Dmetrics_manager_util.cpp478 sp<LogMatchingTracker> atomMatcher = allAtomMatchers.at(trackerIndex); in initMetrics() local
480 if (atomMatcher->getAtomIds().size() != 1) { in initMetrics()
483 int atomTagId = *(atomMatcher->getAtomIds().begin()); in initMetrics()
538 sp<LogMatchingTracker> atomMatcher = allAtomMatchers.at(trackerIndex); in initMetrics() local
540 if (atomMatcher->getAtomIds().size() != 1) { in initMetrics()
543 int atomTagId = *(atomMatcher->getAtomIds().begin()); in initMetrics()
/frameworks/base/cmds/statsd/tests/e2e/
DGaugeMetric_e2e_push_test.cpp37 auto atomMatcher = CreateSimpleAtomMatcher("", android::util::APP_START_OCCURRED); in CreateStatsdConfigForPushedEvent() local
38 *config.add_atom_matcher() = atomMatcher; in CreateStatsdConfigForPushedEvent()
47 gaugeMetric->set_what(atomMatcher.id()); in CreateStatsdConfigForPushedEvent()
DGaugeMetric_e2e_pull_test.cpp37 auto atomMatcher = CreateSimpleAtomMatcher("TestMatcher", android::util::SUBSYSTEM_SLEEP_STATE); in CreateStatsdConfig() local
38 *config.add_atom_matcher() = atomMatcher; in CreateStatsdConfig()
47 gaugeMetric->set_what(atomMatcher.id()); in CreateStatsdConfig()