/packages/modules/StatsD/statsd/tests/condition/ |
D | SimpleConditionTracker_test.cpp | 148 vector<MatchingState> matcherState; in TEST() 156 matcherState.push_back(MatchingState::kNotMatched); // On matcher not matched in TEST() 157 matcherState.push_back(MatchingState::kMatched); // Off matcher matched in TEST() 169 matcherState.push_back(MatchingState::kMatched); // On matcher matched in TEST() 170 matcherState.push_back(MatchingState::kNotMatched); // Off matcher not matched in TEST() 202 vector<MatchingState> matcherState; in TEST() 210 matcherState.push_back(MatchingState::kNotMatched); // On matcher not matched in TEST() 211 matcherState.push_back(MatchingState::kMatched); // Off matcher matched in TEST() 223 matcherState.push_back(MatchingState::kMatched); // On matcher matched in TEST() 224 matcherState.push_back(MatchingState::kNotMatched); // Off matcher not matched in TEST() [all …]
|
/packages/modules/StatsD/statsd/src/matchers/ |
D | SimpleAtomMatchingTracker.cpp | 81 vector<MatchingState>& matcherResults, in onLogEvent() 83 if (matcherResults[matcherIndex] != MatchingState::kNotComputed) { in onLogEvent() 89 matcherResults[matcherIndex] = MatchingState::kNotMatched; in onLogEvent() 94 matcherResults[matcherIndex] = matched ? MatchingState::kMatched : MatchingState::kNotMatched; in onLogEvent()
|
D | CombinationAtomMatchingTracker.cpp | 144 vector<MatchingState>& matcherResults, in onLogEvent() 147 if (matcherResults[matcherIndex] != MatchingState::kNotComputed) { in onLogEvent() 152 matcherResults[matcherIndex] = MatchingState::kNotMatched; in onLogEvent() 158 if (matcherResults[childIndex] == MatchingState::kNotComputed) { in onLogEvent() 166 matcherResults[matcherIndex] = matched ? MatchingState::kMatched : MatchingState::kNotMatched; in onLogEvent()
|
D | EventMatcherWizard.h | 26 MatchingState matchingState; 35 mMatcherCache(eventTrackers.size(), MatchingState::kNotComputed), in EventMatcherWizard() 44 std::vector<MatchingState> mMatcherCache;
|
D | matcher_util.h | 30 enum MatchingState { enum 42 const std::vector<MatchingState>& matcherResults);
|
D | EventMatcherWizard.cpp | 24 return {MatchingState::kNotComputed, nullptr}; in matchLogEvent() 26 std::fill(mMatcherCache.begin(), mMatcherCache.end(), MatchingState::kNotComputed); in matchLogEvent()
|
D | matcher_util.cpp | 38 const vector<MatchingState>& matcherResults) { in combinationMatch() 44 if (matcherResults[childIndex] != MatchingState::kMatched) { in combinationMatch() 54 if (matcherResults[childIndex] == MatchingState::kMatched) { in combinationMatch() 62 matched = matcherResults[children[0]] == MatchingState::kNotMatched; in combinationMatch() 67 if (matcherResults[childIndex] != MatchingState::kMatched) { in combinationMatch() 76 if (matcherResults[childIndex] == MatchingState::kMatched) { in combinationMatch()
|
D | CombinationAtomMatchingTracker.h | 47 std::vector<MatchingState>& matcherResults,
|
D | SimpleAtomMatchingTracker.h | 49 std::vector<MatchingState>& matcherResults,
|
D | AtomMatchingTracker.h | 81 std::vector<MatchingState>& matcherResults,
|
/packages/modules/StatsD/statsd/tests/ |
D | LogEntryMatcher_test.cpp | 1102 vector<MatchingState> matcherResults; in TEST() 1103 matcherResults.push_back(MatchingState::kMatched); in TEST() 1104 matcherResults.push_back(MatchingState::kNotMatched); in TEST() 1105 matcherResults.push_back(MatchingState::kMatched); in TEST() 1110 matcherResults.push_back(MatchingState::kMatched); in TEST() 1111 matcherResults.push_back(MatchingState::kMatched); in TEST() 1112 matcherResults.push_back(MatchingState::kMatched); in TEST() 1126 vector<MatchingState> matcherResults; in TEST() 1127 matcherResults.push_back(MatchingState::kMatched); in TEST() 1128 matcherResults.push_back(MatchingState::kNotMatched); in TEST() [all …]
|
/packages/modules/StatsD/statsd/src/condition/ |
D | SimpleConditionTracker.cpp | 269 const vector<MatchingState>& eventMatcherValues, in evaluateCondition() 283 eventMatcherValues[mStopAllLogMatcherIndex] == MatchingState::kMatched) { in evaluateCondition() 292 eventMatcherValues[mStartLogMatcherIndex] == MatchingState::kMatched) { in evaluateCondition() 297 eventMatcherValues[mStopLogMatcherIndex] == MatchingState::kMatched) { in evaluateCondition()
|
D | CombinationConditionTracker.h | 46 const std::vector<MatchingState>& eventMatcherValues,
|
D | ConditionTracker.h | 95 const std::vector<MatchingState>& eventMatcherValues,
|
D | SimpleConditionTracker.h | 51 const std::vector<MatchingState>& eventMatcherValues,
|
D | CombinationConditionTracker.cpp | 203 const LogEvent& event, const std::vector<MatchingState>& eventMatcherValues, in evaluateCondition()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | MetricsManager.cpp | 607 vector<MatchingState> matcherCache(mAllAtomMatchingTrackers.size(), in onLogEvent() 608 MatchingState::kNotComputed); in onLogEvent() 622 if (matcherCache[it.first] == MatchingState::kMatched) { in onLogEvent() 643 if (matcherCache[it.first] == MatchingState::kMatched) { in onLogEvent() 659 if (matcherCache[matcherIndex] == MatchingState::kMatched) { in onLogEvent() 710 if (matcherCache[i] == MatchingState::kMatched) { in onLogEvent()
|
D | NumericValueMetricProducer.cpp | 275 if (matchResult != MatchingState::kMatched) { in accumulateEvents() 307 if (matchResult == MatchingState::kMatched) { in accumulateEvents()
|
D | GaugeMetricProducer.cpp | 424 if (matchResult == MatchingState::kMatched) { in pullAndMatchEventsLocked() 517 if (matchResult == MatchingState::kMatched) { in onDataPulled()
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | config_update_utils_test.cpp | 811 vector<MatchingState> eventMatcherValues(6, MatchingState::kNotMatched); in TEST_F() 812 eventMatcherValues[1] = MatchingState::kMatched; in TEST_F() 2629 vector<MatchingState> matchingStates(8, MatchingState::kNotMatched); in TEST_F()
|