Searched defs:matcherResults (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/cmds/statsd/src/matchers/ |
H A D | CombinationLogMatchingTracker.cpp | 97 vector<MatchingState>& matcherResults) { 99 if (matcherResults[mIndex] != MatchingState::kNotComputed) { 104 matcherResults[mIndex] = MatchingState::kNotMatched; 110 if (matcherResults[childIndex] == MatchingState::kNotComputed) { 112 child->onLogEvent(event, allTrackers, matcherResults); 116 bool matched = combinationMatch(mChildren, mLogicalOperation, matcherResults); 117 matcherResults[mIndex] = matched ? MatchingState::kMatched : MatchingState::kNotMatched; 95 onLogEvent(const LogEvent& event, const vector<sp<LogMatchingTracker>>& allTrackers, vector<MatchingState>& matcherResults) argument
|
H A D | SimpleLogMatchingTracker.cpp | 57 vector<MatchingState>& matcherResults) { 58 if (matcherResults[mIndex] != MatchingState::kNotComputed) { 64 matcherResults[mIndex] = MatchingState::kNotMatched; 69 matcherResults[mIndex] = matched ? MatchingState::kMatched : MatchingState::kNotMatched; 55 onLogEvent(const LogEvent& event, const vector<sp<LogMatchingTracker>>& allTrackers, vector<MatchingState>& matcherResults) argument
|
H A D | matcher_util.cpp | 34 const vector<MatchingState>& matcherResults) { 40 if (matcherResults[childIndex] != MatchingState::kMatched) { 50 if (matcherResults[childIndex] == MatchingState::kMatched) { 58 matched = matcherResults[children[0]] == MatchingState::kNotMatched; 63 if (matcherResults[childIndex] != MatchingState::kMatched) { 72 if (matcherResults[childIndex] == MatchingState::kMatched) { 33 combinationMatch(const vector<int>& children, const LogicalOperation& operation, const vector<MatchingState>& matcherResults) argument
|
/frameworks/base/cmds/statsd/tests/ |
H A D | LogEntryMatcher_test.cpp | 646 vector<MatchingState> matcherResults; local 647 matcherResults.push_back(MatchingState::kMatched); 648 matcherResults.push_back(MatchingState::kNotMatched); 649 matcherResults.push_back(MatchingState::kMatched); 651 EXPECT_FALSE(combinationMatch(children, operation, matcherResults)); 653 matcherResults.clear(); 654 matcherResults.push_back(MatchingState::kMatched); 655 matcherResults.push_back(MatchingState::kMatched); 656 matcherResults.push_back(MatchingState::kMatched); 658 EXPECT_TRUE(combinationMatch(children, operation, matcherResults)); 670 vector<MatchingState> matcherResults; local 692 vector<MatchingState> matcherResults; local 710 vector<MatchingState> matcherResults; local 735 vector<MatchingState> matcherResults; local [all...] |
Completed in 74 milliseconds