Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dmetrics_manager_util.cpp66 sp<AtomMatchingTracker> createAtomMatchingTracker(const AtomMatcher& logMatcher, const int index, in createAtomMatchingTracker() argument
69 if (!logMatcher.SerializeToString(&serializedMatcher)) { in createAtomMatchingTracker()
70 ALOGE("Unable to serialize matcher %lld", (long long)logMatcher.id()); in createAtomMatchingTracker()
74 switch (logMatcher.contents_case()) { in createAtomMatchingTracker()
76 return new SimpleAtomMatchingTracker(logMatcher.id(), index, protoHash, in createAtomMatchingTracker()
77 logMatcher.simple_atom_matcher(), uidMap); in createAtomMatchingTracker()
79 return new CombinationAtomMatchingTracker(logMatcher.id(), index, protoHash); in createAtomMatchingTracker()
81 ALOGE("Matcher \"%lld\" malformed", (long long)logMatcher.id()); in createAtomMatchingTracker()
887 const AtomMatcher& logMatcher = config.atom_matcher(i); in initAtomMatchingTrackers() local
888 sp<AtomMatchingTracker> tracker = createAtomMatchingTracker(logMatcher, i, uidMap); in initAtomMatchingTrackers()
[all …]
Dmetrics_manager_util.h42 sp<AtomMatchingTracker> createAtomMatchingTracker(const AtomMatcher& logMatcher, const int index,