Home
last modified time | relevance | path

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

123

/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/registry/
DRegistryValidatorTest.java128 MetricDefinition metric = MetricDefinition.newBuilder().setMetricType(OCCURRENCE).build(); in testIsValidReportTypeAndPrivacyMechanism_privateFleetwideOccurrenceCounts() local
139 MetricDefinition metric = MetricDefinition.newBuilder().setMetricType(OCCURRENCE).build(); in tetIsValidReportTypeAndPrivacyMechanism_deIdFleetwideOccurrenceCounts() local
150 MetricDefinition metric = MetricDefinition.newBuilder().setMetricType(STRING).build(); in testIsValidReportTypeAndPrivacyMechanism_deIdStringCounts() local
162 MetricDefinition metric = MetricDefinition.newBuilder().setMetricType(OCCURRENCE).build(); in testIsValidReportTypeAndPrivacyMechanism_fleetwideOccurrenceCounts_unsetIntegerBuckets() local
183 MetricDefinition metric = MetricDefinition.newBuilder().setMetricType(STRING).build(); in testIsValidReportTypeAndPrivacyMechanism_stringCounts_defaultIntegerBuckets() local
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dmetrics_manager_util_test.cpp127 CountMetric* metric = config.add_count_metric(); in buildAlertWithUnknownMetric() local
173 CountMetric* metric = config.add_count_metric(); in buildMissingPredicate() local
211 CountMetric* metric = config.add_count_metric(); in buildDimensionMetricsWithMultiTags() local
519 CountMetric* metric = config.add_count_metric(); in TEST_F() local
528 CountMetric* metric = config.add_count_metric(); in TEST_F() local
544 DurationMetric* metric = config.add_duration_metric(); in TEST_F() local
553 DurationMetric* metric = config.add_duration_metric(); in TEST_F() local
571 GaugeMetric* metric = config.add_gauge_metric(); in TEST_F() local
580 GaugeMetric* metric = config.add_gauge_metric(); in TEST_F() local
597 EventMetric* metric = config.add_event_metric(); in TEST_F() local
[all …]
/packages/modules/StatsD/statsd/tests/metrics/
DKllMetricProducer_test.cpp104 static sp<KllMetricProducer> createKllProducerNoConditions(const KllMetric& metric) { in createKllProducerNoConditions()
109 const KllMetric& metric, const ConditionState& initialCondition) { in createKllProducerWithCondition()
114 const KllMetric& metric, optional<ConditionState> initialCondition = nullopt, in createKllProducer()
155 KllMetric metric; in createMetric() local
165 KllMetric metric = KllMetricProducerTestHelper::createMetric(); in createMetricWithCondition() local
178 const KllMetric& metric = KllMetricProducerTestHelper::createMetric(); in TEST_P() local
227 const KllMetric& metric = KllMetricProducerTestHelper::createMetric(); in TEST() local
257 const KllMetric& metric = KllMetricProducerTestHelper::createMetric(); in TEST() local
307 const KllMetric& metric = KllMetricProducerTestHelper::createMetricWithCondition(); in TEST() local
342 KllMetric metric = KllMetricProducerTestHelper::createMetric(); in TEST() local
[all …]
DRestrictedEventMetricProducer_test.cpp55 EventMetric metric; in TEST_F() local
89 EventMetric metric; in TEST_F() local
131 EventMetric metric; in TEST_F() local
166 EventMetric metric; in TEST_F() local
187 EventMetric metric; in TEST_F() local
207 EventMetric metric; in TEST_F() local
250 EventMetric metric; in TEST_F() local
DNumericValueMetricProducer_test.cpp109 sp<MockStatsPullerManager>& pullerManager, ValueMetric& metric, in createValueProducerNoConditions()
115 sp<MockStatsPullerManager>& pullerManager, ValueMetric& metric, in createValueProducerWithCondition()
122 sp<MockStatsPullerManager>& pullerManager, ValueMetric& metric, in createValueProducerWithState()
132 sp<MockStatsPullerManager>& pullerManager, ValueMetric& metric, in createValueProducerWithConditionAndState()
142 sp<MockStatsPullerManager>& pullerManager, ValueMetric& metric, in createValueProducerWithSampling()
158 sp<MockStatsPullerManager>& pullerManager, ValueMetric& metric, in createValueProducerWithBucketParams()
166 sp<MockStatsPullerManager>& pullerManager, ValueMetric& metric, in createValueProducerWithEventMatcherWizard()
175 sp<MockStatsPullerManager>& pullerManager, ValueMetric& metric, const int pullAtomId, in createValueProducer()
195 ValueMetric metric; in createMetric() local
206 ValueMetric metric = NumericValueMetricProducerTestHelper::createMetric(); in createMetricWithCondition() local
[all …]
DDurationMetricProducer_test.cpp68 DurationMetric metric; in TEST() local
91 DurationMetric metric; in TEST() local
131 DurationMetric metric; in TEST() local
190 DurationMetric metric; in TEST() local
248 DurationMetric metric; in TEST_P() local
313 DurationMetric metric; in TEST_P() local
375 DurationMetric metric; in TEST_P() local
427 DurationMetric metric; in TEST_P() local
483 DurationMetric metric; in TEST_P() local
547 DurationMetric metric; in TEST() local
[all …]
DEventMetricProducer_test.cpp73 EventMetric metric; in TEST_F() local
110 EventMetric metric; in TEST_F() local
154 EventMetric metric; in TEST_F() local
205 EventMetric metric; in TEST_F() local
256 EventMetric metric; in TEST_F() local
310 EventMetric metric; in TEST_F() local
357 EventMetric metric; in TEST_F() local
464 EventMetric metric; in TEST_F() local
562 EventMetric metric; in TEST_F() local
660 EventMetric metric; in TEST_F() local
DCountMetricProducer_test.cpp73 CountMetric metric; in TEST() local
94 CountMetric metric; in TEST() local
157 CountMetric metric; in TEST() local
207 CountMetric metric; in TEST() local
267 CountMetric metric; in TEST_P() local
339 CountMetric metric; in TEST_P() local
398 CountMetric metric; in TEST() local
471 CountMetric metric; in TEST() local
532 CountMetric metric; in TEST() local
DGaugeMetricProducer_test.cpp86 GaugeMetric metric; in TEST() local
117 GaugeMetric metric; in TEST() local
217 GaugeMetric metric; in TEST_P() local
304 GaugeMetric metric; in TEST_P() local
382 GaugeMetric metric; in TEST() local
431 GaugeMetric metric; in TEST() local
509 GaugeMetric metric; in TEST() local
584 GaugeMetric metric; in TEST() local
663 GaugeMetric metric; in TEST() local
728 GaugeMetric metric; in TEST() local
[all …]
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/observations/
DPrivateIntegerEncoderTest.java43 MetricDefinition metric = in encodesAsPrivateIndex() local
77 MetricDefinition metric = in valueBelowMinimum_encodedAsMinimumValue() local
109 MetricDefinition metric = in valueAboveMaximum_encodedAsMaximumValue() local
DPrivateIndexCalculationsTest.java246 MetricDefinition metric = in testEventVectorToIndex_oneEventCode_correctIndex() local
261 MetricDefinition metric = in testEventVectorToIndex_oneEventCodeWithMax_correctIndex() local
273 MetricDefinition metric = in testEventVectorToIndex_twoEventCodes_correctIndex() local
296 MetricDefinition metric = in testEventVectorToIndex_twoEventCodesOneWithMax_correctIndex() local
312 MetricDefinition metric = in testEventVectorToIndex_twoDimensionOneEventCode_correctIndex() local
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/observations/
DObservationGeneratorFactory.java74 MetricDefinition metric, ReportDefinition report, int dayIndex) { in getObservationGenerator()
87 MetricDefinition metric, ReportDefinition report, int dayIndex) { in getNonPrivateObservationGenerator()
121 MetricDefinition metric, ReportDefinition report) { in getPrivateObservationGenerator()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/statsd/
DFederatedComputeStatsdLoggerTest.java29 ExampleIteratorLatency metric = in logWithRateLimit_1QPS() local
47 ExampleIteratorLatency metric = in logWithRateLimit_3QPS() local
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/domain/
DProjectTest.java57 MetricDefinition metric = MetricDefinition.newBuilder().setId(METRIC_ID).build(); in create_populatesIdsAndMetrics_withNonEmptyMetrics() local
92 MetricDefinition metric = MetricDefinition.newBuilder().setId(METRIC_ID).build(); in create_moreThanOneCustomer_throwsIllegalArgumentException() local
114 MetricDefinition metric = MetricDefinition.newBuilder().setId(METRIC_ID).build(); in create_moreThanOneProject_throwsIllegalArgumentException() local
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/impl/
DCobaltLoggerImpl.java130 MetricDefinition metric, long count, List<Integer> eventCodes, long currentTimeMillis) { in loggerEnabledLogOccurrence()
147 MetricDefinition metric, in loggerEnabledLogString()
191 MetricDefinition metric, long value, EventVector eventVector, long currentTimeMillis) { in logNumberToReports()
225 MetricDefinition metric, in logStringToReports()
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/impl/
DCobaltLoggerImplTest.java468 MetricDefinition metric = in logOccurrence_oneLogForMetricInLaterReleaseStage_dropped() local
509 MetricDefinition metric = in logOccurrence_oneLogForReportInLaterReleaseStage_dropped() local
828 MetricDefinition metric = in logString_oneLogForMetricInLaterReleaseStage_dropped() local
870 MetricDefinition metric = in logString_oneLogForReportInLaterReleaseStage_dropped() local
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/service/
DRegistrationBinder.java232 RkpdClientOperation metric = RkpdClientOperation.getKey(mClientUid, in getKeyThreadWorker() local
262 private byte mapToGetKeyError(RkpdException e, RkpdClientOperation metric) { in mapToGetKeyError()
289 try (RkpdClientOperation metric = RkpdClientOperation.cancelGetKey(mClientUid, in cancelGetKey()
312 try (RkpdClientOperation metric = RkpdClientOperation.storeUpgradedKey( in storeUpgradedKeyAsync()
DRemoteProvisioningService.java62 RkpdClientOperation metric = RkpdClientOperation.getRegistration(callerUid, irpcName); in getRegistration() local
63 try (metric) { in getRegistration() argument
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dconfig_update_utils.cpp499 const StatsdConfig& config, const MessageLite& metric, const int64_t metricId, in determineMetricUpdateStatus()
580 const CountMetric& metric = config.count_metric(i); in determineAllMetricUpdateStatuses() local
595 const DurationMetric& metric = config.duration_metric(i); in determineAllMetricUpdateStatuses() local
610 const EventMetric& metric = config.event_metric(i); in determineAllMetricUpdateStatuses() local
625 const ValueMetric& metric = config.value_metric(i); in determineAllMetricUpdateStatuses() local
640 const GaugeMetric& metric = config.gauge_metric(i); in determineAllMetricUpdateStatuses() local
660 const KllMetric& metric = config.kll_metric(i); in determineAllMetricUpdateStatuses() local
780 const CountMetric& metric = config.count_metric(i); in updateMetrics() local
822 const DurationMetric& metric = config.duration_metric(i); in updateMetrics() local
864 const EventMetric& metric = config.event_metric(i); in updateMetrics() local
[all …]
Dmetrics_manager_util.cpp196 const StatsdConfig& config, const MessageLite& metric, const int64_t id, in getMetricProtoHash()
499 const int64_t currentTimeNs, const CountMetric& metric, const int metricIndex, in createCountMetricProducerAndUpdateMetadata()
621 const int64_t currentTimeNs, const DurationMetric& metric, const int metricIndex, in createDurationMetricProducerAndUpdateMetadata()
807 const EventMetric& metric, const int metricIndex, in createEventMetricProducerAndUpdateMetadata()
885 const ValueMetric& metric, const int metricIndex, in createNumericValueMetricProducerAndUpdateMetadata()
1069 const KllMetric& metric, const int metricIndex, in createKllMetricProducerAndUpdateMetadata()
1229 const GaugeMetric& metric, const int metricIndex, in createGaugeMetricProducerAndUpdateMetadata()
1427 sp<MetricProducer> metric = allMetricProducers[metricIndex]; in createAnomalyTracker() local
1624 const CountMetric& metric = config.count_metric(i); in initMetrics() local
1642 const DurationMetric& metric = config.duration_metric(i); in initMetrics() local
[all …]
/packages/modules/RemoteKeyProvisioning/app/tests/hosttest/src/com/android/rkpdapp/hosttest/
DRkpdStatsTests.java368 RemoteKeyProvisioningAttempt metric = null; in getAttemptMetric() local
379 RemoteKeyProvisioningTiming metric = null; in getTimingMetric() local
390 RemoteKeyProvisioningNetworkInfo metric = null; in getNetworkMetric() local
/packages/modules/Virtualization/authfs/tests/benchmarks/src/java/com/android/fs/benchmarks/
DAuthFsBenchmarks.java164 Metric metric = in reportMetrics() local
170 mTestMetrics.addTestMetric(entry.getKey(), metric); in reportMetrics() local
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/system/
DCobaltClock.java50 public int dayIndex(MetricDefinition metric) { in dayIndex()
/packages/modules/StatsD/statsd/benchmark/
Dduration_metric_benchmark.cpp65 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
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DDaveyView.java56 FontMetrics metric = mPaint.getFontMetrics(); in DaveyView() local

123