Home
last modified time | relevance | path

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

/aosp12/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/
H A DTestDrive.java291 final AtomMatcher atomMatcher = createAtomMatcher(atomId, atomMatcherId++); in createConfig() local
292 simpleAtomMatchers.add(atomMatcher); in createConfig()
293 builder.addAtomMatcher(atomMatcher); in createConfig()
307 for (AtomMatcher atomMatcher : simpleAtomMatchers) { in createConfig()
311 .setWhat(atomMatcher.getId()); in createConfig()
/aosp12/packages/modules/StatsD/statsd/tools/localtools/test/com/android/statsd/shelltools/testdrive/
H A DConfigurationTest.java44 for (StatsdConfigProto.AtomMatcher atomMatcher : atomMatchers) { in findAndRemoveAtomMatcherById()
45 if (id == atomMatcher.getId()) { in findAndRemoveAtomMatcherById()
47 match = atomMatcher; in findAndRemoveAtomMatcherById()
/aosp12/packages/modules/StatsD/statsd/tests/e2e/
H A 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()
H A 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()
/aosp12/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
H A DGaugeMetricsTests.java55 AtomMatcher atomMatcher = in testGaugeMetric() local
61 builder.addAtomMatcher(atomMatcher); in testGaugeMetric()
H A DValueMetricsTests.java57 AtomMatcher atomMatcher = in testValueMetric() local
63 builder.addAtomMatcher(atomMatcher); in testValueMetric()
/aosp12/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
H A Dmetrics_manager_util.cpp671 sp<AtomMatchingTracker> atomMatcher = allAtomMatchingTrackers.at(trackerIndex); in createValueMetricProducerAndUpdateMetadata() local
673 if (atomMatcher->getAtomIds().size() != 1) { in createValueMetricProducerAndUpdateMetadata()
676 int atomTagId = *(atomMatcher->getAtomIds().begin()); in createValueMetricProducerAndUpdateMetadata()
775 sp<AtomMatchingTracker> atomMatcher = allAtomMatchingTrackers.at(trackerIndex); in createGaugeMetricProducerAndUpdateMetadata() local
777 if (atomMatcher->getAtomIds().size() != 1) { in createGaugeMetricProducerAndUpdateMetadata()
780 int atomTagId = *(atomMatcher->getAtomIds().begin()); in createGaugeMetricProducerAndUpdateMetadata()
/aosp12/packages/modules/StatsD/statsd/tests/
H A Dstatsd_test_util.cpp1136 SimpleAtomMatcher atomMatcher; in createEventMatcherWizard() local
1137 atomMatcher.set_atom_id(tagId); in createEventMatcherWizard()
1139 *atomMatcher.add_field_value_matcher() = fvm; in createEventMatcherWizard()
1144 matcherId, matcherIndex, matcherHash, atomMatcher, uidMap)}); in createEventMatcherWizard()