Home
last modified time | relevance | path

Searched refs:eventMatcher (Results 1 – 2 of 2) sorted by relevance

/aosp12/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
H A Dmetrics_manager_util_test.cpp63 eventMatcher->set_id(StringToId("SCREEN_IS_ON")); in buildGoodConfig()
72 eventMatcher = config.add_atom_matcher(); in buildGoodConfig()
73 eventMatcher->set_id(StringToId("SCREEN_IS_OFF")); in buildGoodConfig()
82 eventMatcher = config.add_atom_matcher(); in buildGoodConfig()
113 eventMatcher->set_id(StringToId("SCREEN_IS_ON")); in buildCircleMatchers()
122 eventMatcher = config.add_atom_matcher(); in buildCircleMatchers()
171 eventMatcher = config.add_atom_matcher(); in buildMissingMatchers()
211 eventMatcher = config.add_atom_matcher(); in buildDimensionMetricsWithMultiTags()
216 eventMatcher = config.add_atom_matcher(); in buildDimensionMetricsWithMultiTags()
217 eventMatcher->set_id(StringToId("BATTERY_LOW")); in buildDimensionMetricsWithMultiTags()
[all …]
/aosp12/packages/modules/StatsD/statsd/tests/
H A DMetricsManager_test.cpp59 AtomMatcher* eventMatcher = config.add_atom_matcher(); in buildGoodConfig() local
60 eventMatcher->set_id(StringToId("SCREEN_IS_ON")); in buildGoodConfig()
62 SimpleAtomMatcher* simpleAtomMatcher = eventMatcher->mutable_simple_atom_matcher(); in buildGoodConfig()
69 eventMatcher = config.add_atom_matcher(); in buildGoodConfig()
70 eventMatcher->set_id(StringToId("SCREEN_IS_OFF")); in buildGoodConfig()
72 simpleAtomMatcher = eventMatcher->mutable_simple_atom_matcher(); in buildGoodConfig()
79 eventMatcher = config.add_atom_matcher(); in buildGoodConfig()
80 eventMatcher->set_id(StringToId("SCREEN_ON_OR_OFF")); in buildGoodConfig()
82 AtomMatcher_Combination* combination = eventMatcher->mutable_combination(); in buildGoodConfig()