Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/matchers/
DCombinationAtomMatchingTracker.cpp101 AtomMatcher_Combination combinationMatcher = matcher.combination(); in onConfigUpdated() local
102 for (const int64_t child : combinationMatcher.matcher()) { in onConfigUpdated()
/packages/modules/StatsD/statsd/tests/e2e/
DConfigUpdate_e2e_test.cpp72 AtomMatcher* combinationMatcher = config.add_atom_matcher(); in TEST_F() local
73 combinationMatcher->set_id(StringToId("SyncOrWakelockMatcher")); in TEST_F()
74 combinationMatcher->mutable_combination()->set_operation(LogicalOperation::OR); in TEST_F()
75 addMatcherToMatcherCombination(syncStartMatcher, combinationMatcher); in TEST_F()
76 addMatcherToMatcherCombination(wakelockAcquireMatcher, combinationMatcher); in TEST_F()
90 createEventMetric("SyncOrWlWhileScreenOnOrUnplugged", combinationMatcher->id(), in TEST_F()
148 *newConfig.add_atom_matcher() = *combinationMatcher; in TEST_F()
1846 AtomMatcher combinationMatcher; in TEST_F() local
1847 combinationMatcher.set_id(StringToId("combination")); in TEST_F()
1848 AtomMatcher_Combination* combination = combinationMatcher.mutable_combination(); in TEST_F()
[all …]
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.h169 void addMatcherToMatcherCombination(const AtomMatcher& matcher, AtomMatcher* combinationMatcher);
Dstatsd_test_util.cpp284 void addMatcherToMatcherCombination(const AtomMatcher& matcher, AtomMatcher* combinationMatcher) { in addMatcherToMatcherCombination() argument
285 combinationMatcher->mutable_combination()->add_matcher(matcher.id()); in addMatcherToMatcherCombination()