Searched refs:simpleMatcher (Results 1 – 4 of 4) sorted by relevance
/packages/modules/StatsD/statsd/tests/ |
D | LogEntryMatcher_test.cpp | 148 auto simpleMatcher = matcher.mutable_simple_atom_matcher(); in TEST() local 149 simpleMatcher->set_atom_id(TAG_ID); in TEST() 155 EXPECT_TRUE(matchesSimple(uidMap, *simpleMatcher, event).matched); in TEST() 158 simpleMatcher->set_atom_id(TAG_ID + 1); in TEST() 159 EXPECT_FALSE(matchesSimple(uidMap, *simpleMatcher, event).matched); in TEST() 173 auto simpleMatcher = matcher.mutable_simple_atom_matcher(); in TEST() local 174 simpleMatcher->set_atom_id(TAG_ID); in TEST() 177 auto attributionMatcher = simpleMatcher->add_field_value_matcher(); in TEST() 185 auto fieldMatcher = simpleMatcher->add_field_value_matcher(); in TEST() 190 EXPECT_FALSE(matchesSimple(uidMap, *simpleMatcher, event).matched); in TEST() [all …]
|
/packages/modules/StatsD/statsd/src/matchers/ |
D | matcher_util.h | 44 MatchResult matchesSimple(const sp<UidMap>& uidMap, const SimpleAtomMatcher& simpleMatcher,
|
D | matcher_util.cpp | 558 MatchResult matchesSimple(const sp<UidMap>& uidMap, const SimpleAtomMatcher& simpleMatcher, in matchesSimple() argument 560 if (event.GetTagId() != simpleMatcher.atom_id()) { in matchesSimple() 565 for (const auto& matcher : simpleMatcher.field_value_matcher()) { in matchesSimple()
|
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/ |
D | metrics_manager_util.cpp | 104 const SimpleAtomMatcher& simpleMatcher) { in validateSimpleAtomMatcher() argument 105 for (const FieldValueMatcher& fvm : simpleMatcher.field_value_matcher()) { in validateSimpleAtomMatcher()
|