/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | AggregateRecordsResponse.java | 58 @NonNull AggregationType<U> aggregationType, in getZoneOffsetInternal() 60 Objects.requireNonNull(aggregationType); in getZoneOffsetInternal() 62 AggregateResult<U> result = mAggregateResults.get(aggregationType); in getZoneOffsetInternal() 73 @NonNull AggregationType<U> aggregationType, in getDataOriginsInternal() 75 Objects.requireNonNull(aggregationType); in getDataOriginsInternal() 77 AggregateResult<U> result = mAggregateResults.get(aggregationType); in getDataOriginsInternal() 89 @NonNull AggregationType<U> aggregationType, in getInternal() 91 Objects.requireNonNull(aggregationType); in getInternal() 93 AggregateResult<U> result = mAggregateResults.get(aggregationType); in getInternal() 122 public T get(@NonNull AggregationType<T> aggregationType) { in get() argument [all …]
|
D | AggregateRecordsGroupedByDurationResponse.java | 89 public T get(@NonNull AggregationType<T> aggregationType) { in get() argument 90 return AggregateRecordsResponse.getInternal(aggregationType, mResult); in get() 98 public ZoneOffset getZoneOffset(@NonNull AggregationType<T> aggregationType) { in getZoneOffset() argument 99 return AggregateRecordsResponse.getZoneOffsetInternal(aggregationType, mResult); in getZoneOffset() 107 public Set<DataOrigin> getDataOrigins(@NonNull AggregationType<T> aggregationType) { in getDataOrigins() argument 108 return AggregateRecordsResponse.getDataOriginsInternal(aggregationType, mResult); in getDataOrigins()
|
D | AggregateRecordsGroupedByPeriodResponse.java | 101 public T get(@NonNull AggregationType<T> aggregationType) { in get() argument 102 return AggregateRecordsResponse.getInternal(aggregationType, mResult); in get() 110 public ZoneOffset getZoneOffset(@NonNull AggregationType<T> aggregationType) { in getZoneOffset() argument 111 return AggregateRecordsResponse.getZoneOffsetInternal(aggregationType, mResult); in getZoneOffset() 119 public Set<DataOrigin> getDataOrigins(@NonNull AggregationType<T> aggregationType) { in getDataOrigins() argument 120 return AggregateRecordsResponse.getDataOriginsInternal(aggregationType, mResult); in getDataOrigins()
|
D | AggregateRecordsRequest.java | 96 public Builder<T> addAggregationType(@NonNull AggregationType<T> aggregationType) { in addAggregationType() argument 97 mAggregationTypes.add(aggregationType); in addAggregationType()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/ |
D | AggregationTypeIdMapper.java | 267 public int getIdFor(AggregationType<?> aggregationType) { in getIdFor() argument 268 return mDataAggregationTypeIdMap.get(aggregationType); in getIdFor() 323 for (AggregationType<?> aggregationType : aggregationTypeList) { in addLongIdsToAggregateResultMap() 325 aggregationType.getAggregationTypeIdentifier(), in addLongIdsToAggregateResultMap() 327 populateIdDataAggregationType(aggregationType); in addLongIdsToAggregateResultMap() 333 for (AggregationType<?> aggregationType : aggregationTypeList) { in addDoubleIdsToAggregateResultMap() 335 aggregationType.getAggregationTypeIdentifier(), in addDoubleIdsToAggregateResultMap() 337 populateIdDataAggregationType(aggregationType); in addDoubleIdsToAggregateResultMap() 343 for (AggregationType<?> aggregationType : aggregationTypeList) { in addEnergyIdsToAggregateResultMap() 345 aggregationType.getAggregationTypeIdentifier(), in addEnergyIdsToAggregateResultMap() [all …]
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/ |
D | AggregateTransactionRequest.java | 66 AggregationType<?> aggregationType = aggregationTypeIdMapper.getAggregationTypeFor(id); in AggregateTransactionRequest() local 67 List<Integer> recordTypeIds = aggregationType.getApplicableRecordTypeIds(); in AggregateTransactionRequest() 73 aggregationType, in AggregateTransactionRequest() 122 for (AggregationType<?> aggregationType : results.keySet()) { in getAggregateDataResponseParcel() 124 (AggregationTypeIdMapper.getInstance().getIdFor(aggregationType)), in getAggregateDataResponseParcel() 125 Objects.requireNonNull(results.get(aggregationType)).get(i)); in getAggregateDataResponseParcel()
|
D | AggregateParams.java | 163 String columnToAggregateName, Class<?> aggregationType) { in PriorityAggregationExtraParams() argument 167 (aggregationType == Long.class ? VALUE_TYPE_LONG : VALUE_TYPE_DOUBLE); in PriorityAggregationExtraParams()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/ |
D | AggregateOtherAppsDataTest.java | 148 private static <T> void assertAggregation(AggregationType<T> aggregationType, T expectedValue) in assertAggregation() argument 151 aggregationType, expectedValue, NOW.minus(1000, DAYS), NOW.plus(1000, DAYS)); in assertAggregation() 155 AggregationType<T> aggregationType, T expectedValue, Instant startTime, Instant endTime) in assertAggregation() argument 164 .addAggregationType(aggregationType) in assertAggregation() 167 assertThat(response.get(aggregationType)).isEqualTo(expectedValue); in assertAggregation()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/ |
D | HealthConnectManagerNoPermissionsGrantedTest.java | 283 AggregationType<?> aggregationType = recordAndAggregationType.second; in testAggregate_noPermissions_expectError() local 291 .addAggregationType((AggregationType<Object>) aggregationType) in testAggregate_noPermissions_expectError() 315 for (var aggregationType : aggregationTypes) { in testAggregateGroupByDuration_noPermissions_expectError() 324 .addAggregationType((AggregationType<Object>) aggregationType) in testAggregateGroupByDuration_noPermissions_expectError() 349 for (var aggregationType : aggregationTypes) { in testAggregateGroupByPeriod_noPermissions_expectError() 360 .addAggregationType((AggregationType<Object>) aggregationType) in testAggregateGroupByPeriod_noPermissions_expectError()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/ |
D | LoadDataAggregationsUseCase.kt | 106 aggregationType: AggregationType<T>, in <lambda>() 111 .addAggregationType(aggregationType) in <lambda>() 119 val aggregationResult: T = requireNotNull(response.get(aggregationType)) in <lambda>() 120 val apps = response.getDataOrigins(aggregationType) in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/api/ |
D | LoadDataAggregationsUseCase.kt | 128 aggregationType: AggregationType<T>, in <lambda>() 134 AggregateRecordsRequest.Builder<T>(timeFilterRange).addAggregationType(aggregationType) in <lambda>() 144 val aggregationResult: T = requireNotNull(response.get(aggregationType)) in <lambda>() 145 val apps = response.getDataOrigins(aggregationType) in <lambda>()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | HydrationRecordHelper.java | 53 Cursor results, AggregationType<?> aggregationType) { in getAggregateResult() argument 54 switch (aggregationType.getAggregationTypeIdentifier()) { in getAggregateResult()
|
D | ActiveCaloriesBurnedRecordHelper.java | 58 Cursor results, AggregationType<?> aggregationType, double aggregation) { in getAggregateResult() argument 59 switch (aggregationType.getAggregationTypeIdentifier()) { in getAggregateResult()
|
D | HeightRecordHelper.java | 57 Cursor results, AggregationType<?> aggregationType) { in getAggregateResult() argument 59 switch (aggregationType.getAggregationTypeIdentifier()) { in getAggregateResult()
|
D | RestingHeartRateRecordHelper.java | 58 Cursor results, AggregationType<?> aggregationType) { in getAggregateResult() argument 60 switch (aggregationType.getAggregationTypeIdentifier()) { in getAggregateResult()
|
D | BasalMetabolicRateRecordHelper.java | 59 Cursor results, AggregationType<?> aggregationType, double result) { in getAggregateResult() argument 60 switch (aggregationType.getAggregationTypeIdentifier()) { in getAggregateResult()
|
D | WeightRecordHelper.java | 56 Cursor results, AggregationType<?> aggregationType) { in getAggregateResult() argument 58 switch (aggregationType.getAggregationTypeIdentifier()) { in getAggregateResult()
|
D | CyclingPedalingCadenceRecordHelper.java | 119 Cursor results, AggregationType<?> aggregationType) { in getAggregateResult() argument 120 switch (aggregationType.getAggregationTypeIdentifier()) { in getAggregateResult()
|
D | PowerRecordHelper.java | 67 Cursor results, AggregationType<?> aggregationType) { in getAggregateResult() argument 68 switch (aggregationType.getAggregationTypeIdentifier()) { in getAggregateResult()
|
D | StepsCadenceRecordHelper.java | 113 Cursor results, AggregationType<?> aggregationType) { in getAggregateResult() argument 114 switch (aggregationType.getAggregationTypeIdentifier()) { in getAggregateResult()
|
D | HeartRateRecordHelper.java | 69 Cursor results, AggregationType<?> aggregationType) { in getAggregateResult() argument 70 switch (aggregationType.getAggregationTypeIdentifier()) { in getAggregateResult()
|
D | TotalCaloriesBurnedRecordHelper.java | 65 Cursor results, AggregationType<?> aggregationType, double aggregation) { in getAggregateResult() argument 66 switch (aggregationType.getAggregationTypeIdentifier()) { in getAggregateResult()
|
D | SpeedRecordHelper.java | 105 Cursor results, AggregationType<?> aggregationType) { in getAggregateResult() argument 106 switch (aggregationType.getAggregationTypeIdentifier()) { in getAggregateResult()
|
D | BloodPressureRecordHelper.java | 96 Cursor results, AggregationType<?> aggregationType) { in getAggregateResult() argument 98 switch (aggregationType.getAggregationTypeIdentifier()) { in getAggregateResult()
|
/packages/modules/StatsD/statsd/benchmark/ |
D | duration_metric_benchmark.cpp | 32 DurationMetric::AggregationType aggregationType, bool addExtraDimensionInCondition) { in CreateDurationMetricConfig_NoLink_AND_CombinationCondition() argument 70 metric->set_aggregation_type(aggregationType); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition() 80 DurationMetric::AggregationType aggregationType, bool addExtraDimensionInCondition) { in CreateDurationMetricConfig_Link_AND_CombinationCondition() argument 118 metric->set_aggregation_type(aggregationType); in CreateDurationMetricConfig_Link_AND_CombinationCondition()
|