Home
last modified time | relevance | path

Searched refs:ELEVATION_GAINED_TOTAL (Results 1 – 5 of 5) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DAggregateWithFiltersTest.java20 import static android.health.connect.datatypes.ElevationGainedRecord.ELEVATION_GAINED_TOTAL;
512 .addAggregationType(ELEVATION_GAINED_TOTAL) in aggregationTypeFilter_noDataForFilteredType_noDataReturned()
518 .addAggregationType(ELEVATION_GAINED_TOTAL) in aggregationTypeFilter_noDataForFilteredType_noDataReturned()
523 assertThat(aggregateResponse.get(ELEVATION_GAINED_TOTAL)).isNull(); in aggregationTypeFilter_noDataForFilteredType_noDataReturned()
524 assertThat(aggregateResponse.getDataOrigins(ELEVATION_GAINED_TOTAL)).isEmpty(); in aggregationTypeFilter_noDataForFilteredType_noDataReturned()
529 assertThat(groupedByDurationResponses.get(0).get(ELEVATION_GAINED_TOTAL)).isNull(); in aggregationTypeFilter_noDataForFilteredType_noDataReturned()
530 assertThat(groupedByDurationResponses.get(0).getDataOrigins(ELEVATION_GAINED_TOTAL)) in aggregationTypeFilter_noDataForFilteredType_noDataReturned()
536 assertThat(groupedByPeriodResponses.get(0).get(ELEVATION_GAINED_TOTAL)).isNull(); in aggregationTypeFilter_noDataForFilteredType_noDataReturned()
537 assertThat(groupedByPeriodResponses.get(0).getDataOrigins(ELEVATION_GAINED_TOTAL)) in aggregationTypeFilter_noDataForFilteredType_noDataReturned()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DElevationGainedRecordTest.java19 import static android.health.connect.datatypes.ElevationGainedRecord.ELEVATION_GAINED_TOTAL;
364 .addAggregationType(ELEVATION_GAINED_TOTAL) in testAggregation_ElevationTotal()
376 .addAggregationType(ELEVATION_GAINED_TOTAL) in testAggregation_ElevationTotal()
379 Length newElevation = newResponse.get(ELEVATION_GAINED_TOTAL); in testAggregation_ElevationTotal()
380 Length oldElevation = oldResponse.get(ELEVATION_GAINED_TOTAL); in testAggregation_ElevationTotal()
384 Set<DataOrigin> newDataOrigin = newResponse.getDataOrigins(ELEVATION_GAINED_TOTAL); in testAggregation_ElevationTotal()
388 Set<DataOrigin> oldDataOrigin = oldResponse.getDataOrigins(ELEVATION_GAINED_TOTAL); in testAggregation_ElevationTotal()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DElevationGainedRecord.java135 public static final AggregationType<Length> ELEVATION_GAINED_TOTAL = field in ElevationGainedRecord
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/
DAggregationTypeIdMapper.java31 import static android.health.connect.datatypes.ElevationGainedRecord.ELEVATION_GAINED_TOTAL;
181 ELEVATION_GAINED_TOTAL, in AggregationTypeIdMapper()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt648 …ct.datatypes.AggregationType<android.health.connect.datatypes.units.Length> ELEVATION_GAINED_TOTAL;