/packages/modules/StatsD/statsd/tests/condition/ |
D | SimpleConditionTracker_test.cpp | 139 vector<MatchingState> matcherState; in TEST() 147 matcherState.push_back(MatchingState::kNotMatched); // On matcher not matched in TEST() 148 matcherState.push_back(MatchingState::kMatched); // Off matcher matched in TEST() 160 matcherState.push_back(MatchingState::kMatched); // On matcher matched in TEST() 161 matcherState.push_back(MatchingState::kNotMatched); // Off matcher not matched in TEST() 193 vector<MatchingState> matcherState; in TEST() 201 matcherState.push_back(MatchingState::kNotMatched); // On matcher not matched in TEST() 202 matcherState.push_back(MatchingState::kMatched); // Off matcher matched in TEST() 214 matcherState.push_back(MatchingState::kMatched); // On matcher matched in TEST() 215 matcherState.push_back(MatchingState::kNotMatched); // Off matcher not matched in TEST() [all …]
|
/packages/modules/StatsD/statsd/tests/ |
D | LogEntryMatcher_test.cpp | 702 vector<MatchingState> matcherResults; in TEST() 703 matcherResults.push_back(MatchingState::kMatched); in TEST() 704 matcherResults.push_back(MatchingState::kNotMatched); in TEST() 705 matcherResults.push_back(MatchingState::kMatched); in TEST() 710 matcherResults.push_back(MatchingState::kMatched); in TEST() 711 matcherResults.push_back(MatchingState::kMatched); in TEST() 712 matcherResults.push_back(MatchingState::kMatched); in TEST() 726 vector<MatchingState> matcherResults; in TEST() 727 matcherResults.push_back(MatchingState::kMatched); in TEST() 728 matcherResults.push_back(MatchingState::kNotMatched); in TEST() [all …]
|
/packages/modules/StatsD/statsd/src/matchers/ |
D | CombinationAtomMatchingTracker.cpp | 115 vector<MatchingState>& matcherResults) { in onLogEvent() 117 if (matcherResults[mIndex] != MatchingState::kNotComputed) { in onLogEvent() 122 matcherResults[mIndex] = MatchingState::kNotMatched; in onLogEvent() 128 if (matcherResults[childIndex] == MatchingState::kNotComputed) { in onLogEvent() 135 matcherResults[mIndex] = matched ? MatchingState::kMatched : MatchingState::kNotMatched; in onLogEvent()
|
D | SimpleAtomMatchingTracker.cpp | 63 vector<MatchingState>& matcherResults) { in onLogEvent() 64 if (matcherResults[mIndex] != MatchingState::kNotComputed) { in onLogEvent() 70 matcherResults[mIndex] = MatchingState::kNotMatched; in onLogEvent() 75 matcherResults[mIndex] = matched ? MatchingState::kMatched : MatchingState::kNotMatched; in onLogEvent()
|
D | EventMatcherWizard.cpp | 24 MatchingState EventMatcherWizard::matchLogEvent(const LogEvent& event, int matcher_index) { in matchLogEvent() 26 return MatchingState::kNotComputed; in matchLogEvent() 28 vector<MatchingState> matcherCache(mAllEventMatchers.size(), MatchingState::kNotComputed); in matchLogEvent()
|
D | matcher_util.cpp | 33 const vector<MatchingState>& matcherResults) { in combinationMatch() 39 if (matcherResults[childIndex] != MatchingState::kMatched) { in combinationMatch() 49 if (matcherResults[childIndex] == MatchingState::kMatched) { in combinationMatch() 57 matched = matcherResults[children[0]] == MatchingState::kNotMatched; in combinationMatch() 62 if (matcherResults[childIndex] != MatchingState::kMatched) { in combinationMatch() 71 if (matcherResults[childIndex] == MatchingState::kMatched) { in combinationMatch()
|
D | matcher_util.h | 30 enum MatchingState { enum 37 const std::vector<MatchingState>& matcherResults);
|
D | EventMatcherWizard.h | 33 MatchingState matchLogEvent(const LogEvent& event, int matcher_index);
|
D | SimpleAtomMatchingTracker.h | 48 std::vector<MatchingState>& matcherResults) override;
|
D | CombinationAtomMatchingTracker.h | 45 std::vector<MatchingState>& matcherResults) override;
|
D | AtomMatchingTracker.h | 73 std::vector<MatchingState>& matcherResults) = 0;
|
/packages/modules/StatsD/statsd/src/condition/ |
D | SimpleConditionTracker.cpp | 268 const vector<MatchingState>& eventMatcherValues, in evaluateCondition() 282 eventMatcherValues[mStopAllLogMatcherIndex] == MatchingState::kMatched) { in evaluateCondition() 291 eventMatcherValues[mStartLogMatcherIndex] == MatchingState::kMatched) { in evaluateCondition() 296 eventMatcherValues[mStopLogMatcherIndex] == MatchingState::kMatched) { in evaluateCondition()
|
D | ConditionTracker.h | 93 const std::vector<MatchingState>& eventMatcherValues,
|
D | CombinationConditionTracker.h | 44 const std::vector<MatchingState>& eventMatcherValues,
|
D | SimpleConditionTracker.h | 49 const std::vector<MatchingState>& eventMatcherValues,
|
D | CombinationConditionTracker.cpp | 186 const LogEvent& event, const std::vector<MatchingState>& eventMatcherValues, in evaluateCondition()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | MetricsManager.cpp | 564 vector<MatchingState> matcherCache(mAllAtomMatchingTrackers.size(), in onLogEvent() 565 MatchingState::kNotComputed); in onLogEvent() 577 if (matcherCache[it.first] == MatchingState::kMatched) { in onLogEvent() 599 if (matcherCache[it.first] == MatchingState::kMatched) { in onLogEvent() 613 if (matcherCache[pair.first] == MatchingState::kMatched) { in onLogEvent() 660 if (matcherCache[i] == MatchingState::kMatched) { in onLogEvent()
|
D | GaugeMetricProducer.cpp | 401 MatchingState::kMatched) { in pullAndMatchEventsLocked() 488 *data, mWhatMatcherIndex) == MatchingState::kMatched) { in onDataPulled()
|
D | ValueMetricProducer.cpp | 688 MatchingState::kMatched) { in accumulateEvents()
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | config_update_utils_test.cpp | 749 vector<MatchingState> eventMatcherValues(6, MatchingState::kNotMatched); in TEST_F() 750 eventMatcherValues[1] = MatchingState::kMatched; in TEST_F() 2438 vector<MatchingState> matchingStates(8, MatchingState::kNotMatched); in TEST_F()
|