/frameworks/base/cmds/statsd/tests/condition/ |
D | SimpleConditionTracker_test.cpp | 129 vector<MatchingState> matcherState; in TEST() 130 matcherState.push_back(MatchingState::kNotMatched); in TEST() 131 matcherState.push_back(MatchingState::kNotMatched); in TEST() 145 matcherState.push_back(MatchingState::kMatched); in TEST() 146 matcherState.push_back(MatchingState::kNotMatched); in TEST() 158 matcherState.push_back(MatchingState::kNotMatched); in TEST() 159 matcherState.push_back(MatchingState::kNotMatched); in TEST() 170 matcherState.push_back(MatchingState::kNotMatched); in TEST() 171 matcherState.push_back(MatchingState::kMatched); in TEST() 184 matcherState.push_back(MatchingState::kNotMatched); in TEST() [all …]
|
D | StateTracker_test.cpp | 69 vector<MatchingState> matcherState; in TEST() 70 matcherState.push_back(MatchingState::kMatched); in TEST()
|
/frameworks/base/cmds/statsd/tests/ |
D | LogEntryMatcher_test.cpp | 655 vector<MatchingState> matcherResults; in TEST() 656 matcherResults.push_back(MatchingState::kMatched); in TEST() 657 matcherResults.push_back(MatchingState::kNotMatched); in TEST() 658 matcherResults.push_back(MatchingState::kMatched); in TEST() 663 matcherResults.push_back(MatchingState::kMatched); in TEST() 664 matcherResults.push_back(MatchingState::kMatched); in TEST() 665 matcherResults.push_back(MatchingState::kMatched); in TEST() 679 vector<MatchingState> matcherResults; in TEST() 680 matcherResults.push_back(MatchingState::kMatched); in TEST() 681 matcherResults.push_back(MatchingState::kNotMatched); in TEST() [all …]
|
/frameworks/base/cmds/statsd/src/matchers/ |
D | CombinationLogMatchingTracker.cpp | 95 vector<MatchingState>& matcherResults) { in onLogEvent() 97 if (matcherResults[mIndex] != MatchingState::kNotComputed) { in onLogEvent() 102 matcherResults[mIndex] = MatchingState::kNotMatched; in onLogEvent() 108 if (matcherResults[childIndex] == MatchingState::kNotComputed) { in onLogEvent() 115 matcherResults[mIndex] = matched ? MatchingState::kMatched : MatchingState::kNotMatched; in onLogEvent()
|
D | SimpleLogMatchingTracker.cpp | 55 vector<MatchingState>& matcherResults) { in onLogEvent() 56 if (matcherResults[mIndex] != MatchingState::kNotComputed) { in onLogEvent() 62 matcherResults[mIndex] = MatchingState::kNotMatched; in onLogEvent() 67 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.h | 30 enum MatchingState { enum 37 const std::vector<MatchingState>& matcherResults);
|
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 | EventMatcherWizard.h | 33 MatchingState matchLogEvent(const LogEvent& event, int matcher_index);
|
D | CombinationLogMatchingTracker.h | 42 std::vector<MatchingState>& matcherResults) override;
|
D | SimpleLogMatchingTracker.h | 45 std::vector<MatchingState>& matcherResults) override;
|
D | LogMatchingTracker.h | 63 std::vector<MatchingState>& matcherResults) = 0;
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | MetricsManager.cpp | 387 vector<MatchingState> matcherCache(mAllAtomMatchers.size(), MatchingState::kNotComputed); in onLogEvent() 399 if (matcherCache[it.first] == MatchingState::kMatched) { in onLogEvent() 421 if (matcherCache[it.first] == MatchingState::kMatched) { in onLogEvent() 435 if (matcherCache[pair.first] == MatchingState::kMatched) { in onLogEvent() 482 if (matcherCache[i] == MatchingState::kMatched) { in onLogEvent()
|
D | GaugeMetricProducer.cpp | 354 MatchingState::kMatched) { in pullAndMatchEventsLocked() 434 *data, mWhatMatcherIndex) == MatchingState::kMatched) { in onDataPulled()
|
D | ValueMetricProducer.cpp | 544 MatchingState::kMatched) { in accumulateEvents()
|
/frameworks/base/cmds/statsd/src/condition/ |
D | SimpleConditionTracker.cpp | 252 const vector<MatchingState>& eventMatcherValues, in evaluateCondition() 266 eventMatcherValues[mStopAllLogMatcherIndex] == MatchingState::kMatched) { in evaluateCondition() 275 eventMatcherValues[mStartLogMatcherIndex] == MatchingState::kMatched) { in evaluateCondition() 280 eventMatcherValues[mStopLogMatcherIndex] == MatchingState::kMatched) { in evaluateCondition()
|
D | StateTracker.cpp | 118 const vector<MatchingState>& eventMatcherValues, in evaluateCondition() 131 eventMatcherValues[mStartLogMatcherIndex] != MatchingState::kMatched) { in evaluateCondition()
|
D | CombinationConditionTracker.h | 39 const std::vector<MatchingState>& eventMatcherValues,
|
D | StateTracker.h | 43 const std::vector<MatchingState>& eventMatcherValues,
|
D | ConditionTracker.h | 70 const std::vector<MatchingState>& eventMatcherValues,
|
D | SimpleConditionTracker.h | 44 const std::vector<MatchingState>& eventMatcherValues,
|
D | CombinationConditionTracker.cpp | 129 const LogEvent& event, const std::vector<MatchingState>& eventMatcherValues, in evaluateCondition()
|