Searched refs:WEIGHT_MIN (Results 1 – 6 of 6) sorted by relevance
25 import static android.health.connect.datatypes.WeightRecord.WEIGHT_MIN;321 .addAggregationType(WEIGHT_MIN) in groupByDurationWithInstantFilter_weightMin()327 assertMassWithTolerance(responses.get(0).get(WEIGHT_MIN), 50.0); in groupByDurationWithInstantFilter_weightMin()330 assertThat(responses.get(0).getZoneOffset(WEIGHT_MIN)).isEqualTo(record1.getZoneOffset()); in groupByDurationWithInstantFilter_weightMin()332 assertThat(responses.get(1).get(WEIGHT_MIN)).isNull(); in groupByDurationWithInstantFilter_weightMin()335 assertThat(responses.get(1).getZoneOffset(WEIGHT_MIN)).isNull(); in groupByDurationWithInstantFilter_weightMin()337 assertMassWithTolerance(responses.get(2).get(WEIGHT_MIN), 60.0); in groupByDurationWithInstantFilter_weightMin()340 assertThat(responses.get(2).getZoneOffset(WEIGHT_MIN)).isEqualTo(record2.getZoneOffset()); in groupByDurationWithInstantFilter_weightMin()342 assertThat(responses.get(3).get(WEIGHT_MIN)).isNull(); in groupByDurationWithInstantFilter_weightMin()345 assertThat(responses.get(3).getZoneOffset(WEIGHT_MIN)).isNull(); in groupByDurationWithInstantFilter_weightMin()
27 import static android.health.connect.datatypes.WeightRecord.WEIGHT_MIN;385 .addAggregationType(WEIGHT_MIN) in timeRangeFilter_nonPriorityType_outOfRangeNonPriorityDataExcluded()389 assertThat(aggregateResponse2.get(WEIGHT_MIN)).isEqualTo(Mass.fromGrams(77)); in timeRangeFilter_nonPriorityType_outOfRangeNonPriorityDataExcluded()390 assertThat(aggregateResponse2.getDataOrigins(WEIGHT_MIN)) in timeRangeFilter_nonPriorityType_outOfRangeNonPriorityDataExcluded()
22 import static android.health.connect.datatypes.WeightRecord.WEIGHT_MIN;553 .addAggregationType(WEIGHT_MIN) in testAggregatePeriodForZoneOffset()560 assertThat(responses.get(i).get(WEIGHT_MIN)).isEqualTo(Mass.fromGrams(10.0)); in testAggregatePeriodForZoneOffset()561 assertThat(responses.get(i).getZoneOffset(WEIGHT_MIN)).isEqualTo(offset); in testAggregatePeriodForZoneOffset()567 assertThat(responses.get(i).getDataOrigins(WEIGHT_MIN)).hasSize(1); in testAggregatePeriodForZoneOffset()571 .getDataOrigins(WEIGHT_MIN) in testAggregatePeriodForZoneOffset()719 .addAggregationType(WEIGHT_MIN) in testAggregateLocalFilter_minOffsetRecord()738 assertThat(response.get(WEIGHT_MIN)).isNotNull(); in testAggregateLocalFilter_minOffsetRecord()739 assertThat(response.get(WEIGHT_MIN)).isEqualTo(Mass.fromGrams(10.0)); in testAggregateLocalFilter_minOffsetRecord()766 .addAggregationType(WEIGHT_MIN) in testOffset()[all …]
61 public static final AggregationType<Mass> WEIGHT_MIN = field in WeightRecord
100 import static android.health.connect.datatypes.WeightRecord.WEIGHT_MIN;228 WEIGHT_MIN, in AggregationTypeIdMapper()
1686 …d.health.connect.datatypes.AggregationType<android.health.connect.datatypes.units.Mass> WEIGHT_MIN;