Home
last modified time | relevance | path

Searched refs:MatchingState (Results 1 – 20 of 20) sorted by relevance

/aosp12/packages/modules/StatsD/statsd/tests/condition/
H A DSimpleConditionTracker_test.cpp139 vector<MatchingState> matcherState; in TEST()
193 vector<MatchingState> matcherState; in TEST()
244 vector<MatchingState> matcherState; in TEST()
260 matcherState.push_back(MatchingState::kMatched); in TEST()
286 matcherState.push_back(MatchingState::kMatched); in TEST()
300 matcherState.push_back(MatchingState::kMatched); in TEST()
332 vector<MatchingState> matcherState; in TEST()
333 matcherState.push_back(MatchingState::kMatched); in TEST()
407 vector<MatchingState> matcherState; in TEST()
534 vector<MatchingState> matcherState; in TEST()
[all …]
/aosp12/packages/modules/StatsD/statsd/tests/
H A DLogEntryMatcher_test.cpp702 vector<MatchingState> matcherResults; in TEST()
703 matcherResults.push_back(MatchingState::kMatched); 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()
748 vector<MatchingState> matcherResults; in TEST()
766 vector<MatchingState> matcherResults; in TEST()
[all …]
/aosp12/packages/modules/StatsD/statsd/src/matchers/
H A DSimpleAtomMatchingTracker.cpp63 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()
H A DEventMatcherWizard.cpp24 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()
H A DCombinationAtomMatchingTracker.cpp115 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()
H A Dmatcher_util.cpp33 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()
H A Dmatcher_util.h30 enum MatchingState { enum
37 const std::vector<MatchingState>& matcherResults);
H A DEventMatcherWizard.h33 MatchingState matchLogEvent(const LogEvent& event, int matcher_index);
H A DCombinationAtomMatchingTracker.h45 std::vector<MatchingState>& matcherResults) override;
H A DSimpleAtomMatchingTracker.h48 std::vector<MatchingState>& matcherResults) override;
H A DAtomMatchingTracker.h73 std::vector<MatchingState>& matcherResults) = 0;
/aosp12/packages/modules/StatsD/statsd/src/condition/
H A DSimpleConditionTracker.cpp268 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()
H A DCombinationConditionTracker.h44 const std::vector<MatchingState>& eventMatcherValues,
H A DConditionTracker.h93 const std::vector<MatchingState>& eventMatcherValues,
H A DSimpleConditionTracker.h49 const std::vector<MatchingState>& eventMatcherValues,
H A DCombinationConditionTracker.cpp186 const LogEvent& event, const std::vector<MatchingState>& eventMatcherValues, in evaluateCondition()
/aosp12/packages/modules/StatsD/statsd/src/metrics/
H A DMetricsManager.cpp564 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()
H A DGaugeMetricProducer.cpp401 MatchingState::kMatched) { in pullAndMatchEventsLocked()
488 *data, mWhatMatcherIndex) == MatchingState::kMatched) { in onDataPulled()
H A DValueMetricProducer.cpp688 MatchingState::kMatched) { in accumulateEvents()
/aosp12/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
H A Dconfig_update_utils_test.cpp749 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()