Home
last modified time | relevance | path

Searched refs:WEIGHT_MAX (Results 1 – 6 of 6) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DWeightRecordTest.java21 import static android.health.connect.datatypes.WeightRecord.WEIGHT_MAX;
668 .addAggregationType(WEIGHT_MAX) in testDurationLocalTimeAggregationZoneOffset()
675 assertThat(responses.get(i).get(WEIGHT_MAX)).isEqualTo(Mass.fromGrams(10.0)); in testDurationLocalTimeAggregationZoneOffset()
676 assertThat(responses.get(i).getZoneOffset(WEIGHT_MAX)).isEqualTo(offset); in testDurationLocalTimeAggregationZoneOffset()
682 assertThat(responses.get(i).getDataOrigins(WEIGHT_MAX)).hasSize(1); in testDurationLocalTimeAggregationZoneOffset()
686 .getDataOrigins(WEIGHT_MAX) in testDurationLocalTimeAggregationZoneOffset()
718 .addAggregationType(WEIGHT_MAX) in testAggregateLocalFilter_minOffsetRecord()
736 assertThat(response.get(WEIGHT_MAX)).isNotNull(); in testAggregateLocalFilter_minOffsetRecord()
737 assertThat(response.get(WEIGHT_MAX)).isEqualTo(Mass.fromGrams(20.0)); in testAggregateLocalFilter_minOffsetRecord()
765 .addAggregationType(WEIGHT_MAX) in testOffset()
[all …]
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DAggregateWithFiltersTest.java26 import static android.health.connect.datatypes.WeightRecord.WEIGHT_MAX;
373 .addAggregationType(WEIGHT_MAX) in timeRangeFilter_nonPriorityType_outOfRangeNonPriorityDataExcluded()
378 assertThat(aggregateResponse.get(WEIGHT_MAX)).isEqualTo(Mass.fromGrams(77)); in timeRangeFilter_nonPriorityType_outOfRangeNonPriorityDataExcluded()
379 assertThat(aggregateResponse.getDataOrigins(WEIGHT_MAX)) in timeRangeFilter_nonPriorityType_outOfRangeNonPriorityDataExcluded()
DAggregationApisTest.java24 import static android.health.connect.datatypes.WeightRecord.WEIGHT_MAX;
302 .addAggregationType(WEIGHT_MAX) in aggregateWithInstantFilter_weightMax()
306 assertMassWithTolerance(response.get(WEIGHT_MAX), 70.0); in aggregateWithInstantFilter_weightMax()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DWeightRecord.java50 public static final AggregationType<Mass> WEIGHT_MAX = field in WeightRecord
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/
DAggregationTypeIdMapper.java99 import static android.health.connect.datatypes.WeightRecord.WEIGHT_MAX;
227 WEIGHT_MAX, in AggregationTypeIdMapper()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1685 …d.health.connect.datatypes.AggregationType<android.health.connect.datatypes.units.Mass> WEIGHT_MAX;