Home
last modified time | relevance | path

Searched refs:invalidConfigReason (Results 1 – 16 of 16) sorted by relevance

/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dconfig_update_utils.cpp68 optional<InvalidConfigReason> invalidConfigReason; in determineMatcherUpdateStatus() local
82 invalidConfigReason = createInvalidConfigReasonWithMatcher( in determineMatcherUpdateStatus()
84 invalidConfigReason->matcherIds.push_back(childMatcherId); in determineMatcherUpdateStatus()
85 return invalidConfigReason; in determineMatcherUpdateStatus()
90 invalidConfigReason = createInvalidConfigReasonWithMatcher( in determineMatcherUpdateStatus()
92 invalidConfigReason->matcherIds.push_back(childMatcherId); in determineMatcherUpdateStatus()
93 return invalidConfigReason; in determineMatcherUpdateStatus()
95 invalidConfigReason = determineMatcherUpdateStatus( in determineMatcherUpdateStatus()
98 if (invalidConfigReason.has_value()) { in determineMatcherUpdateStatus()
99 invalidConfigReason->matcherIds.push_back(id); in determineMatcherUpdateStatus()
[all …]
Dmetrics_manager_util.cpp136 optional<InvalidConfigReason>& invalidConfigReason) { in createAtomMatchingTracker() argument
140 invalidConfigReason = createInvalidConfigReasonWithMatcher( in createAtomMatchingTracker()
147 invalidConfigReason = in createAtomMatchingTracker()
149 if (invalidConfigReason != nullopt) { in createAtomMatchingTracker()
161 invalidConfigReason = createInvalidConfigReasonWithMatcher( in createAtomMatchingTracker()
170 optional<InvalidConfigReason>& invalidConfigReason) { in createConditionTracker() argument
174 invalidConfigReason = createInvalidConfigReasonWithPredicate( in createConditionTracker()
189 invalidConfigReason = createInvalidConfigReasonWithPredicate( in createConditionTracker()
512 vector<int>& metricsWithActivation, optional<InvalidConfigReason>& invalidConfigReason, in createCountMetricProducerAndUpdateMetadata() argument
516 invalidConfigReason = in createCountMetricProducerAndUpdateMetadata()
[all …]
Dmetrics_manager_util.h45 optional<InvalidConfigReason>& invalidConfigReason);
58 optional<InvalidConfigReason>& invalidConfigReason);
115 std::vector<int>& metricsWithActivation, optional<InvalidConfigReason>& invalidConfigReason,
135 std::vector<int>& metricsWithActivation, optional<InvalidConfigReason>& invalidConfigReason,
153 std::vector<int>& metricsWithActivation, optional<InvalidConfigReason>& invalidConfigReason,
175 std::vector<int>& metricsWithActivation, optional<InvalidConfigReason>& invalidConfigReason,
195 std::vector<int>& metricsWithActivation, optional<InvalidConfigReason>& invalidConfigReason,
217 vector<int>& metricsWithActivation, optional<InvalidConfigReason>& invalidConfigReason,
227 optional<InvalidConfigReason>& invalidConfigReason);
/packages/modules/StatsD/statsd/src/condition/
DCombinationConditionTracker.cpp66 optional<InvalidConfigReason> invalidConfigReason; in init() local
84 invalidConfigReason = createInvalidConfigReasonWithPredicate( in init()
86 invalidConfigReason->conditionIds.push_back(child); in init()
87 return invalidConfigReason; in init()
95 invalidConfigReason = createInvalidConfigReasonWithPredicate( in init()
97 invalidConfigReason->conditionIds.push_back(child); in init()
98 return invalidConfigReason; in init()
101 invalidConfigReason = childTracker->init(allConditionConfig, allConditionTrackers, in init()
104 if (invalidConfigReason.has_value()) { in init()
106 invalidConfigReason->conditionIds.push_back(mConditionId); in init()
[all …]
/packages/modules/StatsD/statsd/src/matchers/
DCombinationAtomMatchingTracker.cpp59 result.invalidConfigReason = createInvalidConfigReasonWithMatcher( in init()
67 result.invalidConfigReason = createInvalidConfigReasonWithMatcher( in init()
76 result.invalidConfigReason = createInvalidConfigReasonWithMatcher( in init()
78 result.invalidConfigReason->matcherIds.push_back(child); in init()
87 result.invalidConfigReason = in init()
89 result.invalidConfigReason->matcherIds.push_back(child); in init()
92 auto [invalidConfigReason, hasStringTransformation] = in init()
97 result.invalidConfigReason = createInvalidConfigReasonWithMatcher( in init()
103 if (invalidConfigReason.has_value()) { in init()
105 invalidConfigReason->matcherIds.push_back(mId); in init()
[all …]
DAtomMatchingTracker.h36 optional<InvalidConfigReason> invalidConfigReason; member
DSimpleAtomMatchingTracker.cpp53 result.invalidConfigReason = createInvalidConfigReasonWithMatcher( in init()
/packages/modules/StatsD/statsd/src/metrics/
DEventMetricProducer.cpp108 optional<InvalidConfigReason> invalidConfigReason = MetricProducer::onConfigUpdatedLocked( in onConfigUpdatedLocked() local
114 if (invalidConfigReason.has_value()) { in onConfigUpdatedLocked()
115 return invalidConfigReason; in onConfigUpdatedLocked()
121 invalidConfigReason = handleMetricWithAtomMatchingTrackers( in onConfigUpdatedLocked()
124 if (invalidConfigReason.has_value()) { in onConfigUpdatedLocked()
125 return invalidConfigReason; in onConfigUpdatedLocked()
129 invalidConfigReason = handleMetricWithConditions( in onConfigUpdatedLocked()
132 if (invalidConfigReason.has_value()) { in onConfigUpdatedLocked()
133 return invalidConfigReason; in onConfigUpdatedLocked()
DDurationMetricProducer.cpp195 optional<InvalidConfigReason> invalidConfigReason = MetricProducer::onConfigUpdatedLocked( in onConfigUpdatedLocked() local
201 if (invalidConfigReason.has_value()) { in onConfigUpdatedLocked()
202 return invalidConfigReason; in onConfigUpdatedLocked()
224 invalidConfigReason = handleMetricWithAtomMatchingTrackers( in onConfigUpdatedLocked()
227 if (invalidConfigReason.has_value()) { in onConfigUpdatedLocked()
229 return invalidConfigReason; in onConfigUpdatedLocked()
233 invalidConfigReason = handleMetricWithAtomMatchingTrackers( in onConfigUpdatedLocked()
236 if (invalidConfigReason.has_value()) { in onConfigUpdatedLocked()
237 return invalidConfigReason; in onConfigUpdatedLocked()
242 invalidConfigReason = handleMetricWithAtomMatchingTrackers( in onConfigUpdatedLocked()
[all …]
DGaugeMetricProducer.cpp175 optional<InvalidConfigReason> invalidConfigReason = MetricProducer::onConfigUpdatedLocked( in onConfigUpdatedLocked() local
181 if (invalidConfigReason.has_value()) { in onConfigUpdatedLocked()
182 return invalidConfigReason; in onConfigUpdatedLocked()
187 invalidConfigReason = handleMetricWithAtomMatchingTrackers( in onConfigUpdatedLocked()
191 if (invalidConfigReason.has_value()) { in onConfigUpdatedLocked()
192 return invalidConfigReason; in onConfigUpdatedLocked()
198 invalidConfigReason = handleMetricWithAtomMatchingTrackers( in onConfigUpdatedLocked()
202 if (invalidConfigReason.has_value()) { in onConfigUpdatedLocked()
203 return invalidConfigReason; in onConfigUpdatedLocked()
208 invalidConfigReason = handleMetricWithConditions( in onConfigUpdatedLocked()
[all …]
DCountMetricProducer.cpp154 optional<InvalidConfigReason> invalidConfigReason = MetricProducer::onConfigUpdatedLocked( in onConfigUpdatedLocked() local
160 if (invalidConfigReason.has_value()) { in onConfigUpdatedLocked()
161 return invalidConfigReason; in onConfigUpdatedLocked()
167 invalidConfigReason = handleMetricWithAtomMatchingTrackers( in onConfigUpdatedLocked()
170 if (invalidConfigReason.has_value()) { in onConfigUpdatedLocked()
171 return invalidConfigReason; in onConfigUpdatedLocked()
175 invalidConfigReason = handleMetricWithConditions( in onConfigUpdatedLocked()
178 if (invalidConfigReason.has_value()) { in onConfigUpdatedLocked()
179 return invalidConfigReason; in onConfigUpdatedLocked()
DValueMetricProducer.cpp195 optional<InvalidConfigReason> invalidConfigReason = MetricProducer::onConfigUpdatedLocked( in onConfigUpdatedLocked() local
201 if (invalidConfigReason.has_value()) { in onConfigUpdatedLocked()
202 return invalidConfigReason; in onConfigUpdatedLocked()
206 invalidConfigReason = handleMetricWithAtomMatchingTrackers( in onConfigUpdatedLocked()
210 if (invalidConfigReason.has_value()) { in onConfigUpdatedLocked()
211 return invalidConfigReason; in onConfigUpdatedLocked()
216 invalidConfigReason = handleMetricWithConditions( in onConfigUpdatedLocked()
219 if (invalidConfigReason.has_value()) { in onConfigUpdatedLocked()
220 return invalidConfigReason; in onConfigUpdatedLocked()
DMetricProducer.cpp104 optional<InvalidConfigReason> invalidConfigReason = handleMetricActivationOnConfigUpdate( in onConfigUpdatedLocked() local
109 if (invalidConfigReason.has_value()) { in onConfigUpdatedLocked()
110 return invalidConfigReason; in onConfigUpdatedLocked()
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.cpp2128 InvalidConfigReason invalidConfigReason(reason); in createInvalidConfigReasonWithMatcher() local
2129 invalidConfigReason.matcherIds.push_back(matcherId); in createInvalidConfigReasonWithMatcher()
2130 return invalidConfigReason; in createInvalidConfigReasonWithMatcher()
2136 InvalidConfigReason invalidConfigReason(reason, metricId); in createInvalidConfigReasonWithMatcher() local
2137 invalidConfigReason.matcherIds.push_back(matcherId); in createInvalidConfigReasonWithMatcher()
2138 return invalidConfigReason; in createInvalidConfigReasonWithMatcher()
2143 InvalidConfigReason invalidConfigReason(reason); in createInvalidConfigReasonWithPredicate() local
2144 invalidConfigReason.conditionIds.push_back(conditionId); in createInvalidConfigReasonWithPredicate()
2145 return invalidConfigReason; in createInvalidConfigReasonWithPredicate()
2151 InvalidConfigReason invalidConfigReason(reason, metricId); in createInvalidConfigReasonWithPredicate() local
[all …]
/packages/modules/StatsD/statsd/tests/guardrail/
DStatsdStats_test.cpp113 optional<InvalidConfigReason> invalidConfigReason = in TEST() local
115 invalidConfigReason->stateId = 2; in TEST()
116 invalidConfigReason->alertId = 3; in TEST()
117 invalidConfigReason->alarmId = 4; in TEST()
118 invalidConfigReason->subscriptionId = 5; in TEST()
119 invalidConfigReason->matcherIds.push_back(6); in TEST()
120 invalidConfigReason->matcherIds.push_back(7); in TEST()
121 invalidConfigReason->conditionIds.push_back(8); in TEST()
122 invalidConfigReason->conditionIds.push_back(9); in TEST()
123 invalidConfigReason->conditionIds.push_back(10); in TEST()
[all …]
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dmetrics_manager_util_test.cpp1387 optional<InvalidConfigReason> invalidConfigReason; in TEST_F() local
1388 EXPECT_EQ(createAtomMatchingTracker(matcher, uidMap, invalidConfigReason), nullptr); in TEST_F()
1389 EXPECT_EQ(invalidConfigReason, in TEST_F()
1406 optional<InvalidConfigReason> invalidConfigReason; in TEST_F() local
1408 createAtomMatchingTracker(matcher, uidMap, invalidConfigReason); in TEST_F()
1410 EXPECT_EQ(invalidConfigReason, nullopt); in TEST_F()
1429 optional<InvalidConfigReason> invalidConfigReason; in TEST_F() local
1431 createAtomMatchingTracker(matcher, uidMap, invalidConfigReason); in TEST_F()
1433 EXPECT_EQ(invalidConfigReason, nullopt); in TEST_F()
1448 optional<InvalidConfigReason> invalidConfigReason; in TEST_F() local
[all …]