Home
last modified time | relevance | path

Searched refs:countMetric (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/cmds/statsd/tests/e2e/
DConfigTtl_e2e_test.cpp38 auto countMetric = config.add_count_metric(); in CreateStatsdConfig() local
39 countMetric->set_id(123456); in CreateStatsdConfig()
40 countMetric->set_what(wakelockAcquireMatcher.id()); in CreateStatsdConfig()
41 *countMetric->mutable_dimensions_in_what() = CreateAttributionUidDimensions( in CreateStatsdConfig()
43 countMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfig()
DMetricConditionLink_e2e_test.cpp69 auto countMetric = config.add_count_metric(); in CreateStatsdConfig() local
70 countMetric->set_id(StringToId("AppCrashes")); in CreateStatsdConfig()
71 countMetric->set_what(appCrashMatcher.id()); in CreateStatsdConfig()
72 countMetric->set_condition(combinationPredicate->id()); in CreateStatsdConfig()
74 *countMetric->mutable_dimensions_in_what() = in CreateStatsdConfig()
76 countMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfig()
79 auto links = countMetric->add_links(); in CreateStatsdConfig()
88 links = countMetric->add_links(); in CreateStatsdConfig()
DAnomaly_count_e2e_test.cpp38 auto countMetric = config.add_count_metric(); in CreateStatsdConfig() local
39 countMetric->set_id(123456); in CreateStatsdConfig()
40 countMetric->set_what(wakelockAcquireMatcher.id()); in CreateStatsdConfig()
41 *countMetric->mutable_dimensions_in_what() = CreateAttributionUidDimensions( in CreateStatsdConfig()
43 countMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfig()
DMetricActivation_e2e_test.cpp43 auto countMetric = config.add_count_metric(); in CreateStatsdConfig() local
44 countMetric->set_id(metricId); in CreateStatsdConfig()
45 countMetric->set_what(crashMatcher.id()); in CreateStatsdConfig()
46 countMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfig()
47 countMetric->mutable_dimensions_in_what()->set_field( in CreateStatsdConfig()
49 countMetric->mutable_dimensions_in_what()->add_child()->set_field(1); // uid field in CreateStatsdConfig()
77 auto countMetric = config.add_count_metric(); in CreateStatsdConfigWithOneDeactivation() local
78 countMetric->set_id(metricId); in CreateStatsdConfigWithOneDeactivation()
79 countMetric->set_what(crashMatcher.id()); in CreateStatsdConfigWithOneDeactivation()
80 countMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfigWithOneDeactivation()
[all …]
DPartialBucket_e2e_test.cpp62 auto countMetric = config.add_count_metric(); in MakeConfig() local
63 countMetric->set_id(StringToId("AppCrashes")); in MakeConfig()
64 countMetric->set_what(appCrashMatcher.id()); in MakeConfig()
65 countMetric->set_bucket(FIVE_MINUTES); in MakeConfig()
DAttribution_e2e_test.cpp46 auto countMetric = config.add_count_metric(); in CreateStatsdConfig() local
47 countMetric->set_id(123456); in CreateStatsdConfig()
48 countMetric->set_what(wakelockAcquireMatcher.id()); in CreateStatsdConfig()
49 *countMetric->mutable_dimensions_in_what() = in CreateStatsdConfig()
52 countMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfig()
/frameworks/base/cmds/statsd/src/metrics/
DCountMetricProducer.h43 CountMetricProducer(const ConfigKey& key, const CountMetric& countMetric,
/frameworks/base/cmds/statsd/tests/
DStatsLogProcessor_test.cpp150 auto countMetric = config.add_count_metric(); in MakeConfig() local
151 countMetric->set_id(StringToId("AppCrashes")); in MakeConfig()
152 countMetric->set_what(appCrashMatcher.id()); in MakeConfig()
153 countMetric->set_bucket(FIVE_MINUTES); in MakeConfig()
259 auto countMetric = config.add_count_metric(); in TEST() local
260 countMetric->set_id(123456); in TEST()
261 countMetric->set_what(wakelockAcquireMatcher.id()); in TEST()
262 countMetric->set_bucket(FIVE_MINUTES); in TEST()