Home
last modified time | relevance | path

Searched refs:simpleMatcher (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/statsd/tests/
DLogEntryMatcher_test.cpp148 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/
Dmatcher_util.h44 MatchResult matchesSimple(const sp<UidMap>& uidMap, const SimpleAtomMatcher& simpleMatcher,
Dmatcher_util.cpp558 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/
Dmetrics_manager_util.cpp104 const SimpleAtomMatcher& simpleMatcher) { in validateSimpleAtomMatcher() argument
105 for (const FieldValueMatcher& fvm : simpleMatcher.field_value_matcher()) { in validateSimpleAtomMatcher()