Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/metrics/
DGaugeMetricProducer_test.cpp98 SimpleAtomMatcher atomMatcher; in TEST() local
99 atomMatcher.set_atom_id(tagId); in TEST()
101 new SimpleLogMatchingTracker(atomMatcherId, logEventMatcherIndex, atomMatcher, uidMap)}); in TEST()
131 SimpleAtomMatcher atomMatcher; in TEST() local
132 atomMatcher.set_atom_id(tagId); in TEST()
135 atomMatcherId, logEventMatcherIndex, atomMatcher, uidMap)}); in TEST()
221 SimpleAtomMatcher atomMatcher; in TEST_P() local
222 atomMatcher.set_atom_id(tagId); in TEST_P()
225 atomMatcherId, logEventMatcherIndex, atomMatcher, uidMap)}); in TEST_P()
305 SimpleAtomMatcher atomMatcher; in TEST_P() local
[all …]
DValueMetricProducer_test.cpp103 SimpleAtomMatcher atomMatcher; in createValueProducerNoConditions() local
104 atomMatcher.set_atom_id(tagId); in createValueProducerNoConditions()
107 atomMatcherId, logEventMatcherIndex, atomMatcher, uidMap)}); in createValueProducerNoConditions()
126 SimpleAtomMatcher atomMatcher; in createValueProducerWithCondition() local
127 atomMatcher.set_atom_id(tagId); in createValueProducerWithCondition()
130 atomMatcherId, logEventMatcherIndex, atomMatcher, uidMap)}); in createValueProducerWithCondition()
151 SimpleAtomMatcher atomMatcher; in createValueProducerWithState() local
152 atomMatcher.set_atom_id(tagId); in createValueProducerWithState()
155 atomMatcherId, logEventMatcherIndex, atomMatcher, uidMap)}); in createValueProducerWithState()
176 SimpleAtomMatcher atomMatcher; in createValueProducerWithConditionAndState() local
[all …]
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/
DTestDrive.java277 final AtomMatcher atomMatcher = createAtomMatcher(atomId, atomMatcherId++); in createConfig() local
278 simpleAtomMatchers.add(atomMatcher); in createConfig()
279 builder.addAtomMatcher(atomMatcher); in createConfig()
293 for (AtomMatcher atomMatcher : simpleAtomMatchers) { in createConfig()
297 .setWhat(atomMatcher.getId()); in createConfig()
/frameworks/base/cmds/statsd/tools/localtools/test/com/android/statsd/shelltools/testdrive/
DConfigurationTest.java44 for (StatsdConfigProto.AtomMatcher atomMatcher : atomMatchers) { in findAndRemoveAtomMatcherById()
45 if (id == atomMatcher.getId()) { in findAndRemoveAtomMatcherById()
47 match = atomMatcher; in findAndRemoveAtomMatcherById()
/frameworks/base/cmds/statsd/tests/e2e/
DGaugeMetric_e2e_push_test.cpp38 auto atomMatcher = CreateSimpleAtomMatcher("", util::APP_START_OCCURRED); in CreateStatsdConfigForPushedEvent() local
39 *config.add_atom_matcher() = atomMatcher; in CreateStatsdConfigForPushedEvent()
48 gaugeMetric->set_what(atomMatcher.id()); in CreateStatsdConfigForPushedEvent()
DGaugeMetric_e2e_pull_test.cpp42 auto atomMatcher = CreateSimpleAtomMatcher("TestMatcher", ATOM_TAG); in CreateStatsdConfig() local
43 *config.add_atom_matcher() = atomMatcher; in CreateStatsdConfig()
52 gaugeMetric->set_what(atomMatcher.id()); in CreateStatsdConfig()
/frameworks/base/cmds/statsd/src/metrics/
Dmetrics_manager_util.cpp635 sp<LogMatchingTracker> atomMatcher = allAtomMatchers.at(trackerIndex); in initMetrics() local
637 if (atomMatcher->getAtomIds().size() != 1) { in initMetrics()
640 int atomTagId = *(atomMatcher->getAtomIds().begin()); in initMetrics()
727 sp<LogMatchingTracker> atomMatcher = allAtomMatchers.at(trackerIndex); in initMetrics() local
729 if (atomMatcher->getAtomIds().size() != 1) { in initMetrics()
732 int atomTagId = *(atomMatcher->getAtomIds().begin()); in initMetrics()