Home
last modified time | relevance | path

Searched refs:ACTIVE_CALORIES_TOTAL (Results 1 – 4 of 4) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DAggregationApisTest.java19 import static android.health.connect.datatypes.ActiveCaloriesBurnedRecord.ACTIVE_CALORIES_TOTAL;
145 .addAggregationType(ACTIVE_CALORIES_TOTAL) in groupByPeriod_noData_nullResponses()
151 assertThat(responses.get(0).get(ACTIVE_CALORIES_TOTAL)).isNull(); in groupByPeriod_noData_nullResponses()
152 assertThat(responses.get(1).get(ACTIVE_CALORIES_TOTAL)).isNull(); in groupByPeriod_noData_nullResponses()
187 .addAggregationType(ACTIVE_CALORIES_TOTAL) in groupByDurationWithInstantFilter_activeCaloriesBurnedTotal()
193 assertThat(responses.get(0).get(ACTIVE_CALORIES_TOTAL)).isNull(); in groupByDurationWithInstantFilter_activeCaloriesBurnedTotal()
196 assertThat(responses.get(0).getZoneOffset(ACTIVE_CALORIES_TOTAL)).isNull(); in groupByDurationWithInstantFilter_activeCaloriesBurnedTotal()
198 assertEnergyWithTolerance(responses.get(1).get(ACTIVE_CALORIES_TOTAL), 140.0); in groupByDurationWithInstantFilter_activeCaloriesBurnedTotal()
201 assertThat(responses.get(1).getZoneOffset(ACTIVE_CALORIES_TOTAL)).isEqualTo(mCurrentZone); in groupByDurationWithInstantFilter_activeCaloriesBurnedTotal()
203 assertEnergyWithTolerance(responses.get(2).get(ACTIVE_CALORIES_TOTAL), 85.0); in groupByDurationWithInstantFilter_activeCaloriesBurnedTotal()
[all …]
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DActiveCaloriesBurnedRecord.java137 public static final AggregationType<Energy> ACTIVE_CALORIES_TOTAL = field in ActiveCaloriesBurnedRecord
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/
DAggregationTypeIdMapper.java19 import static android.health.connect.datatypes.ActiveCaloriesBurnedRecord.ACTIVE_CALORIES_TOTAL;
172 ACTIVE_CALORIES_TOTAL, in AggregationTypeIdMapper()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt376 …ect.datatypes.AggregationType<android.health.connect.datatypes.units.Energy> ACTIVE_CALORIES_TOTAL;