Home
last modified time | relevance | path

Searched defs:metric (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/av/drm/libmediadrm/tests/
DEventMetric_test.cpp28 EventMetric<int> metric("MyMetricName", "MetricAttributeName"); in TEST() local
41 EventMetric<int> metric("MyMetricName", "MetricAttributeName"); in TEST() local
72 EventMetric<std::string> metric("MyMetricName", "MetricAttributeName"); in TEST() local
104 EventMetric<AttributeType>* metric) in MockEventTimer()
112 EventMetric<int> metric("MyMetricName", "MetricAttributeName"); in TEST() local
DCounterMetric_test.cpp30 CounterMetric<int> metric("MyMetricName", "MetricAttributeName"); in TEST_F() local
43 CounterMetric<int> metric("MyMetricName", "MetricAttributeName"); in TEST_F() local
62 CounterMetric<std::string> metric("MyMetricName", "MetricAttributeName"); in TEST_F() local
DDrmMetrics_test.cpp452 PersistableBundle metric; in TEST_F() local
/frameworks/base/cmds/statsd/tests/metrics/
DValueMetricProducer_test.cpp93 sp<MockStatsPullerManager>& pullerManager, ValueMetric& metric) { in createValueProducerNoConditions()
113 sp<MockStatsPullerManager>& pullerManager, ValueMetric& metric) { in createValueProducerWithCondition()
134 ValueMetric metric; in createMetric() local
144 ValueMetric metric = ValueMetricProducerTestHelper::createMetric(); in createMetricWithCondition() local
155 ValueMetric metric = ValueMetricProducerTestHelper::createMetric(); in TEST() local
186 ValueMetric metric = ValueMetricProducerTestHelper::createMetric(); in TEST() local
213 ValueMetric metric = ValueMetricProducerTestHelper::createMetric(); in TEST() local
297 ValueMetric metric = ValueMetricProducerTestHelper::createMetric(); in TEST() local
354 ValueMetric metric = ValueMetricProducerTestHelper::createMetric(); in TEST() local
450 ValueMetric metric = ValueMetricProducerTestHelper::createMetric(); in TEST() local
[all …]
DDurationMetricProducer_test.cpp44 DurationMetric metric; in TEST() local
64 DurationMetric metric; in TEST() local
101 DurationMetric metric; in TEST() local
149 DurationMetric metric; in TEST() local
207 DurationMetric metric; in TEST() local
261 DurationMetric metric; in TEST() local
311 DurationMetric metric; in TEST() local
350 DurationMetric metric; in TEST() local
397 DurationMetric metric; in TEST() local
DCountMetricProducer_test.cpp41 CountMetric metric; in TEST() local
60 CountMetric metric; in TEST() local
121 CountMetric metric; in TEST() local
166 CountMetric metric; in TEST() local
223 CountMetric metric; in TEST() local
284 CountMetric metric; in TEST() local
342 CountMetric metric; in TEST() local
DEventMetricProducer_test.cpp43 EventMetric metric; in TEST() local
66 EventMetric metric; in TEST() local
95 EventMetric metric; in TEST() local
DGaugeMetricProducer_test.cpp57 GaugeMetric metric; in TEST() local
91 GaugeMetric metric; in TEST() local
191 GaugeMetric metric; in TEST() local
271 GaugeMetric metric; in TEST() local
347 GaugeMetric metric; in TEST() local
400 GaugeMetric metric; in TEST() local
478 GaugeMetric metric; in TEST() local
568 GaugeMetric metric; in TEST() local
652 GaugeMetric metric; in TEST() local
725 GaugeMetric metric; in TEST() local
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DConfigFactory.java172 EventMetric.Builder metric = template.toBuilder() in addEventMetric() local
192 CountMetric.Builder metric = template.toBuilder() in addCountMetric() local
213 DurationMetric.Builder metric = template.toBuilder() in addDurationMetric() local
234 GaugeMetric.Builder metric = template.toBuilder() in addGaugeMetric() local
255 ValueMetric.Builder metric = template.toBuilder() in addValueMetric() local
/frameworks/base/cmds/statsd/src/metrics/
DMetricsManager.cpp132 for (int metric : mMetricIndexesWithActivation) { in MetricsManager() local
143 for (const auto& metric : mAllMetricProducers) { in MetricsManager() local
371 const sp<MetricProducer>& metric = mAllMetricProducers[metricIndex]; in onLogEvent() local
409 const sp<MetricProducer>& metric = mAllMetricProducers[metricIndex]; in onLogEvent() local
531 const auto& metric = mAllMetricProducers[metricIndex]; in loadActiveConfig() local
550 const auto& metric = mAllMetricProducers[metricIndex]; in writeActiveConfigToProtoOutputStream() local
Dmetrics_manager_util.cpp308 const CountMetric& metric = config.count_metric(i); in initMetrics() local
347 const DurationMetric& metric = config.duration_metric(i); in initMetrics() local
418 const EventMetric& metric = config.event_metric(i); in initMetrics() local
453 const ValueMetric& metric = config.value_metric(i); in initMetrics() local
510 const GaugeMetric& metric = config.gauge_metric(i); in initMetrics() local
629 sp<MetricProducer> metric = allMetricProducers[metricIndex]; in initAlerts() local
727 const sp<MetricProducer>& metric = allMetricProducers[metricTrackerIndex]; in initMetricActivations() local
768 for (const auto& metric: allMetricProducers) { in prepareFirstBucket() local
DEventMetricProducer.cpp54 EventMetricProducer::EventMetricProducer(const ConfigKey& key, const EventMetric& metric, in EventMetricProducer()
DCountMetricProducer.cpp68 CountMetricProducer::CountMetricProducer(const ConfigKey& key, const CountMetric& metric, in CountMetricProducer()
DGaugeMetricProducer.cpp70 const ConfigKey& key, const GaugeMetric& metric, const int conditionIndex, in GaugeMetricProducer()
DDurationMetricProducer.cpp66 DurationMetricProducer::DurationMetricProducer(const ConfigKey& key, const DurationMetric& metric, in DurationMetricProducer()
/frameworks/base/cmds/statsd/tests/e2e/
DDimensionInCondition_e2e_combination_OR_cond_test.cpp57 auto metric = config.add_count_metric(); in CreateCountMetric_NoLink_CombinationCondition_Config() local
260 auto metric = config.add_count_metric(); in CreateCountMetric_Link_CombinationCondition() local
455 auto metric = config.add_duration_metric(); in CreateDurationMetricConfig_NoLink_CombinationCondition() local
650 auto metric = config.add_duration_metric(); in CreateDurationMetricConfig_Link_CombinationCondition() local
DDimensionInCondition_e2e_simple_cond_test.cpp56 auto metric = config.add_duration_metric(); in CreateDurationMetricConfig_NoLink_SimpleCondition() local
337 auto metric = config.add_duration_metric(); in createDurationMetric_Link_SimpleConditionConfig() local
559 auto metric = config.add_duration_metric(); in createDurationMetric_PartialLink_SimpleConditionConfig() local
DDimensionInCondition_e2e_combination_AND_cond_test.cpp68 auto metric = config.add_duration_metric(); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition() local
433 auto metric = config.add_duration_metric(); in CreateDurationMetricConfig_Link_AND_CombinationCondition() local
680 auto metric = config.add_duration_metric(); in CreateDurationMetricConfig_PartialLink_AND_CombinationCondition() local
/frameworks/base/cmds/statsd/benchmark/
Dduration_metric_benchmark.cpp64 auto metric = config.add_duration_metric(); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition() local
113 auto metric = config.add_duration_metric(); in CreateDurationMetricConfig_Link_AND_CombinationCondition() local
/frameworks/base/cmds/statsd/src/
Dactive_config_list.proto51 repeated ActiveMetric metric = 3; field
/frameworks/base/cmds/statsd/tests/
DMetricsManager_test.cpp78 CountMetric* metric = config.add_count_metric(); in buildGoodConfig() local
129 CountMetric* metric = config.add_count_metric(); in buildAlertWithUnknownMetric() local
175 CountMetric* metric = config.add_count_metric(); in buildMissingPredicate() local
213 CountMetric* metric = config.add_count_metric(); in buildDimensionMetricsWithMultiTags() local
/frameworks/av/media/libmedia/include/media/
DEventMetric.h149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer()
/frameworks/av/drm/libmediadrm/
DDrmMetrics.cpp325 DrmFrameworkMetrics::DistributionMetric *metric = in GetSerializedMetrics() local
337 DrmFrameworkMetrics::DistributionMetric *metric = in GetSerializedMetrics() local
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java270 final PasswordMetrics metric = PasswordMetrics.computeForCredential( in testTokenBasedResetPassword() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessController.java347 final int metric; in onChanged() local

12