/packages/modules/StatsD/tests/src/android/cts/statsd/metric/ |
D | CountMetricsTests.java | 79 int matcherId = 1; in testSimpleEventCountMetric() local 85 .setWhat(matcherId)) in testSimpleEventCountMetric() 86 .addAtomMatcher(MetricsUtils.simpleAtomMatcher(matcherId)); in testSimpleEventCountMetric() 311 int matcherId = 1; in testPartialBucketCountMetric() local 317 .setWhat(matcherId) in testPartialBucketCountMetric() 319 .addAtomMatcher(MetricsUtils.simpleAtomMatcher(matcherId)); in testPartialBucketCountMetric()
|
D | MetricsUtils.java | 151 public static EventActivation.Builder createEventActivation(int ttlSecs, int matcherId, in createEventActivation() argument 154 .setAtomMatcherId(matcherId) in createEventActivation()
|
/packages/modules/StatsD/statsd/tests/ |
D | DataCorruptionReason_test.cpp | 75 const int64_t matcherId = StringToId("CUSTOM_EVENT" + std::to_string(kInterestAtomId)); in buildGoodEventConfig() local 77 eventMatcher->set_id(matcherId); in buildGoodEventConfig() 83 metric->set_what(matcherId); in buildGoodEventConfig()
|
D | statsd_test_util.cpp | 1573 int64_t matcherId = 678; in createEventMatcherWizard() local 1575 {new SimpleAtomMatchingTracker(matcherId, matcherHash, atomMatcher, uidMap)}); in createEventMatcherWizard()
|
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/ |
D | metrics_manager_util.cpp | 103 optional<InvalidConfigReason> validateSimpleAtomMatcher(int64_t matcherId, in validateSimpleAtomMatcher() argument 109 INVALID_CONFIG_REASON_MATCHER_NO_VALUE_MATCHER_NOR_STRING_REPLACER, matcherId); in validateSimpleAtomMatcher() 120 matcherId); in validateSimpleAtomMatcher() 126 return createInvalidConfigReasonWithMatcher(*reasonEnum, matcherId); in validateSimpleAtomMatcher() 221 const int64_t matcherId, const int64_t metricId, const int metricIndex, in handleMetricWithAtomMatchingTrackers() argument 225 auto logTrackerIt = atomMatchingTrackerMap.find(matcherId); in handleMetricWithAtomMatchingTrackers() 227 ALOGW("cannot find the AtomMatcher \"%lld\" in config", (long long)matcherId); in handleMetricWithAtomMatchingTrackers() 229 metricId, matcherId); in handleMetricWithAtomMatchingTrackers() 235 (long long)matcherId); in handleMetricWithAtomMatchingTrackers() 237 INVALID_CONFIG_REASON_METRIC_MATCHER_MORE_THAN_ONE_ATOM, metricId, matcherId); in handleMetricWithAtomMatchingTrackers()
|
D | metrics_manager_util.h | 69 const int64_t matcherId, int64_t metricId, int metricIndex, const bool enforceOneAtom,
|
/packages/modules/StatsD/statsd/src/guardrail/ |
D | StatsdStats.h | 1113 const int64_t matcherId); 1117 const int64_t matcherId);
|
D | StatsdStats.cpp | 1678 for (const auto& matcherId : configStats.reason->matcherIds) { in addConfigStatsToProto() local 1681 matcherId); in addConfigStatsToProto() 2127 const int64_t matcherId) { in createInvalidConfigReasonWithMatcher() argument 2129 invalidConfigReason.matcherIds.push_back(matcherId); in createInvalidConfigReasonWithMatcher() 2135 const int64_t matcherId) { in createInvalidConfigReasonWithMatcher() argument 2137 invalidConfigReason.matcherIds.push_back(matcherId); in createInvalidConfigReasonWithMatcher()
|
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/ |
D | TestDrive.java | 553 private static AtomMatcher createAtomMatcher(int atomId, long matcherId) { in createAtomMatcher() argument 556 .setId(matcherId) in createAtomMatcher()
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | metrics_manager_util_test.cpp | 1244 int64_t matcherId = 1; in TEST_F() local 1247 matcher->set_id(matcherId); in TEST_F() 1251 INVALID_CONFIG_REASON_MATCHER_NO_OPERATION, matcherId)); in TEST_F() 1256 int64_t matcherId = 1; in TEST_F() local 1261 matcher->set_id(matcherId); in TEST_F() 1268 INVALID_CONFIG_REASON_MATCHER_NOT_OPERATION_IS_NOT_UNARY, matcherId)); in TEST_F()
|
D | config_update_utils_test.cpp | 167 int64_t matcherId = matcher.id(); in TEST_F() local 176 newAtomMatchingTrackerMap[matcherId] = 0; in TEST_F() 194 int64_t matcherId = newMatcher.id(); in TEST_F() local 195 EXPECT_EQ(matcherId, matcher.id()); in TEST_F() 201 newAtomMatchingTrackerMap[matcherId] = 0; in TEST_F() 219 int64_t matcherId = newMatcher.id(); in TEST_F() local 220 EXPECT_NE(matcherId, matcher.id()); in TEST_F() 226 newAtomMatchingTrackerMap[matcherId] = 0; in TEST_F()
|