HomeSort by relevance Sort by last modified time
    Searched refs:matcherResults (Results 1 - 8 of 8) sorted by null

  /frameworks/base/cmds/statsd/src/matchers/
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;
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;
matcher_util.h 42 const std::vector<MatchingState>& matcherResults);
CombinationLogMatchingTracker.h 45 std::vector<MatchingState>& matcherResults) override;
LogMatchingTracker.h 58 // matcherResults: The cached results for all matchers for this event. Parent matchers can
63 std::vector<MatchingState>& matcherResults) = 0;
SimpleLogMatchingTracker.h 48 std::vector<MatchingState>& matcherResults) override;
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) {
  /frameworks/base/cmds/statsd/tests/
LogEntryMatcher_test.cpp 646 vector<MatchingState> matcherResults;
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));
    [all...]

Completed in 93 milliseconds