/packages/modules/StatsD/statsd/src/metrics/parsing_utils/ |
D | config_update_utils.cpp | 68 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 …]
|
D | metrics_manager_util.cpp | 136 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 …]
|
D | metrics_manager_util.h | 45 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/ |
D | CombinationConditionTracker.cpp | 66 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/ |
D | CombinationAtomMatchingTracker.cpp | 59 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 …]
|
D | AtomMatchingTracker.h | 36 optional<InvalidConfigReason> invalidConfigReason; member
|
D | SimpleAtomMatchingTracker.cpp | 53 result.invalidConfigReason = createInvalidConfigReasonWithMatcher( in init()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | EventMetricProducer.cpp | 108 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()
|
D | DurationMetricProducer.cpp | 195 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 …]
|
D | GaugeMetricProducer.cpp | 175 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 …]
|
D | CountMetricProducer.cpp | 154 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()
|
D | ValueMetricProducer.cpp | 195 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()
|
D | MetricProducer.cpp | 104 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/ |
D | StatsdStats.cpp | 2128 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/ |
D | StatsdStats_test.cpp | 113 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/ |
D | metrics_manager_util_test.cpp | 1387 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 …]
|