Home
last modified time | relevance | path

Searched refs:aggregate (Results 1 – 25 of 40) sorted by relevance

12

/packages/modules/StatsD/statsd/src/metrics/
DNumericValueMetricProducer.cpp489 interval.aggregate += value; in aggregateFields()
492 interval.aggregate = min(value, interval.aggregate); in aggregateFields()
495 interval.aggregate = max(value, interval.aggregate); in aggregateFields()
501 interval.aggregate = value; in aggregateFields()
510 long wholeBucketVal = intervals[0].aggregate.long_value; in aggregateFields()
538 (mSkipZeroDiffOutput && mUseDiff && interval.aggregate.isZero())) { in buildPartialBucket()
592 mCurrentFullBucket[metricDimensionKey] += interval.aggregate.long_value; in appendToFullBucket()
612 interval.aggregate.long_value, in appendToFullBucket()
626 mCurrentFullBucket[metricDimensionKey] += interval.aggregate.long_value; in appendToFullBucket()
695 return interval.aggregate; in getFinalValue()
[all …]
DKllMetricProducer.cpp130 if (!interval.aggregate) { in aggregateFields()
131 interval.aggregate = KllQuantile::Create(); in aggregateFields()
134 interval.aggregate->Add(valueOpt.value()); in aggregateFields()
150 bucket.aggregates.push_back(std::move(interval.aggregate)); in buildPartialBucket()
DKllMetricProducer.h88 const std::unique_ptr<KllQuantile>& aggregate) const override { in aggregatedValueToString() argument
89 return std::to_string(aggregate->num_values()) + " values"; in aggregatedValueToString()
DValueMetricProducer.h196 virtual std::string aggregatedValueToString(const AggregatedValue& aggregate) const = 0;
276 AggregatedValue aggregate; member
351 const AggregatedValue& aggregate,
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/flex_event/
Dflex_event_attribution_rate_limits_aggregate_and_v1_interplay.json10 // Source results in one event and one aggregate report
34 // one event and one aggregate report.
105 // but no aggregate report since the aggregate attribution rate limit of 1 was already
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/data/
DLogAggregators.java60 return toAggregate(aggregate(toAggregate, fromAggregate(existing))); in aggregateValues()
73 protected abstract Stored aggregate(ToAggregate toAggregate, Stored existing); in aggregate() method in LogAggregators.LogAggregatorImpl
94 protected Long aggregate(Long toAggregate, Long existing) { in aggregate() method in LogAggregators.CountAggregator
120 protected LocalIndexHistogram aggregate( in aggregate() method in LogAggregators.StringIndexAggregator
/packages/services/Car/service/src/com/android/car/telemetry/publisher/statsconverters/
DEventMetricDataConverter.java54 StatsLogProto.AggregatedAtomInfo aggregate = eventData.getAggregatedAtomInfo(); in convertEventDataList() local
55 AtomsProto.Atom atom = aggregate.getAtom(); in convertEventDataList()
56 for (long elapsedTime : aggregate.getElapsedTimestampNanosList()) { in convertEventDataList()
DGaugeMetricDataConverter.java74 for (AggregatedAtomInfo aggregate : aggregateList) { in convertGaugeDataList()
75 Atom atom = aggregate.getAtom(); in convertGaugeDataList()
76 for (long elapsedTime : aggregate.getElapsedTimestampNanosList()) { in convertGaugeDataList()
/packages/apps/Settings/src/com/android/settings/datausage/lib/
DNetworkCycleBucketRepository.kt26 import com.android.settings.datausage.lib.NetworkStatsRepository.Companion.aggregate
45 buckets.aggregate()?.timeRange.asFourWeeks() in queryCyclesAsFourWeeks()
59 usage = buckets.filterTime(range.lower, range.upper).aggregate()?.usage ?: 0,
DNetworkStatsRepository.kt36 ).convertToBuckets().aggregate() in queryAggregateForUid()
50 fun getTimeRange(): Range<Long>? = queryDetailsForDevice().aggregate()?.timeRange in getTimeRange()
79 fun List<Bucket>.aggregate(): NetworkUsageData? = when { in List() method
DAppDataUsageSummaryRepository.kt39 }.filterNotNull().aggregate() in querySummary()
DNetworkUsageData.kt58 fun List<NetworkUsageData>.aggregate(): NetworkUsageData? = when { in List() method
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v31/
DAppPermissionUsage.java232 long aggregate = 0; in extractAggregate() local
238 aggregate += extractor.apply(historicalOp); in extractAggregate()
242 return aggregate; in extractAggregate()
246 long aggregate = 0; in lastAccessAggregate() local
255 aggregate = Math.max(aggregate, extractor.apply(op)); in lastAccessAggregate()
259 return aggregate; in lastAccessAggregate()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/api/
DLoadDataAggregationsUseCaseTest.kt86 .aggregate<Long>( in <lambda>()
109 .aggregate<Length>( in <lambda>()
131 .aggregate<Energy>( in <lambda>()
154 .aggregate<Long>( in <lambda>()
/packages/modules/StatsD/statsd/tests/metrics/
DKllMetricProducer_test.cpp242 EXPECT_EQ(1, curInterval0.aggregate->num_values()); in TEST()
249 EXPECT_EQ(2, curInterval0.aggregate->num_values()); in TEST()
277 EXPECT_EQ(1, curInterval0.aggregate->num_values()); in TEST()
285 EXPECT_EQ(2, curInterval0.aggregate->num_values()); in TEST()
295 EXPECT_EQ(2, curInterval0.aggregate->num_values()); in TEST()
DNumericValueMetricProducer_test.cpp652 EXPECT_EQ(20, curInterval.aggregate.long_value); in TEST()
871 EXPECT_EQ(10, curInterval.aggregate.long_value); in TEST()
879 EXPECT_EQ(30, curInterval.aggregate.long_value); in TEST()
932 EXPECT_EQ(20, curInterval.aggregate.long_value); in TEST()
941 EXPECT_EQ(50, curInterval.aggregate.long_value); in TEST()
952 EXPECT_EQ(50, curInterval.aggregate.long_value); in TEST()
1316 EXPECT_EQ(10, curInterval.aggregate.long_value); in TEST()
1353 EXPECT_EQ(10, curInterval.aggregate.long_value); in TEST()
1361 EXPECT_EQ(10, curInterval.aggregate.long_value); in TEST()
1390 EXPECT_EQ(10, curInterval.aggregate.long_value); in TEST()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/debug_report/
Ddebug_report_trigger_aggregate_deduplicated_web-app.json117 // Selected dedup key, generate trigger-aggregate-deduplicated debug report.
Ddebug_report_trigger_aggregate_deduplicated_app-app.json105 // Selected dedup key, generate trigger-aggregate-deduplicated debug report.
Ddebug_report_trigger_aggregate_deduplicated_app-web.json120 // Selected dedup key, generate trigger-aggregate-deduplicated debug report.
Ddebug_report_trigger_aggregate_deduplicated_web-web-same-registrant.json118 // Selected dedup key, generate trigger-aggregate-deduplicated debug report.
Ddebug_report_trigger_aggregate_deduplicated_web-web-different-registrant.json123 // Selected dedup key, generate trigger-aggregate-deduplicated debug report.
/packages/modules/AdServices/adservices/libraries/cobalt/proto/
Dwindow_size.proto29 // A time window over which to aggregate Events on-device.
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/
DHealthConnectServiceLogsTests.java306 mHealthConnectManager.aggregate( in testHealthConnectAggregatedData()
331 mHealthConnectManager.aggregate( in testHealthConnectAggregatedDataError()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/
DAggregateTableRequest.java423 for (double aggregate : derivedAggregateArray) { in deriveAggregate()
425 index, mRecordHelper.getAggregateResult(cursor, mAggregationType, aggregate)); in deriveAggregate()
/packages/modules/NeuralNetworks/tools/systrace_parser/parser/
Doutput.py1 from parser.aggregate import aggregate_times, nan_to_zero, LAYER_TOTAL

12