/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/registry/ |
D | RegistryValidatorTest.java | 128 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/ |
D | metrics_manager_util_test.cpp | 127 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/ |
D | KllMetricProducer_test.cpp | 104 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 …]
|
D | RestrictedEventMetricProducer_test.cpp | 55 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
|
D | NumericValueMetricProducer_test.cpp | 109 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 …]
|
D | DurationMetricProducer_test.cpp | 68 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 …]
|
D | EventMetricProducer_test.cpp | 73 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
|
D | CountMetricProducer_test.cpp | 73 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
|
D | GaugeMetricProducer_test.cpp | 86 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/ |
D | PrivateIntegerEncoderTest.java | 43 MetricDefinition metric = in encodesAsPrivateIndex() local 77 MetricDefinition metric = in valueBelowMinimum_encodedAsMinimumValue() local 109 MetricDefinition metric = in valueAboveMaximum_encodedAsMaximumValue() local
|
D | PrivateIndexCalculationsTest.java | 246 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/ |
D | ObservationGeneratorFactory.java | 74 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/ |
D | FederatedComputeStatsdLoggerTest.java | 29 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/ |
D | ProjectTest.java | 57 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/ |
D | CobaltLoggerImpl.java | 130 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/ |
D | CobaltLoggerImplTest.java | 468 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/ |
D | RegistrationBinder.java | 232 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()
|
D | RemoteProvisioningService.java | 62 RkpdClientOperation metric = RkpdClientOperation.getRegistration(callerUid, irpcName); in getRegistration() local 63 try (metric) { in getRegistration() argument
|
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/ |
D | config_update_utils.cpp | 499 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 …]
|
D | metrics_manager_util.cpp | 196 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/ |
D | RkpdStatsTests.java | 368 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/ |
D | AuthFsBenchmarks.java | 164 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/ |
D | CobaltClock.java | 50 public int dayIndex(MetricDefinition metric) { in dayIndex()
|
/packages/modules/StatsD/statsd/benchmark/ |
D | duration_metric_benchmark.cpp | 65 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/ |
D | DaveyView.java | 56 FontMetrics metric = mPaint.getFontMetrics(); in DaveyView() local
|