Home
last modified time | relevance | path

Searched refs:EXERCISE_DURATION_TOTAL (Results 1 – 7 of 7) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DExerciseDurationAggregationTest.java19 import static android.health.connect.datatypes.ExerciseSessionRecord.EXERCISE_DURATION_TOTAL;
69 .addAggregationType(EXERCISE_DURATION_TOTAL)
74 .addAggregationType(EXERCISE_DURATION_TOTAL)
113 assertThat(response.get(EXERCISE_DURATION_TOTAL)).isNotNull(); in testSimpleAggregation_oneSession_returnsItsDuration()
114 assertThat(response.get(EXERCISE_DURATION_TOTAL)) in testSimpleAggregation_oneSession_returnsItsDuration()
118 assertThat(response.getZoneOffset(EXERCISE_DURATION_TOTAL)) in testSimpleAggregation_oneSession_returnsItsDuration()
137 assertThat(response.get(EXERCISE_DURATION_TOTAL)).isNotNull(); in testSimpleAggregation_oneSessionStartEarlierThanWindow_returnsOverlapDuration()
138 assertThat(response.get(EXERCISE_DURATION_TOTAL)) in testSimpleAggregation_oneSessionStartEarlierThanWindow_returnsOverlapDuration()
140 assertThat(response.getZoneOffset(EXERCISE_DURATION_TOTAL)) in testSimpleAggregation_oneSessionStartEarlierThanWindow_returnsOverlapDuration()
160 assertThat(response.get(EXERCISE_DURATION_TOTAL)).isNotNull(); in testSimpleAggregation_oneSessionBiggerThanWindow_returnsOverlapDuration()
[all …]
DAggregateOtherAppsDataTest.java19 import static android.health.connect.datatypes.ExerciseSessionRecord.EXERCISE_DURATION_TOTAL;
128 EXERCISE_DURATION_TOTAL, in testAppWithReadPerms_aggregateOtherAppsExercise_expectSuccess()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/
DHealthConnectManagerNoPermissionsGrantedTest.java26 import static android.health.connect.datatypes.ExerciseSessionRecord.EXERCISE_DURATION_TOTAL;
279 new Pair<>(buildExerciseSession(), EXERCISE_DURATION_TOTAL)); in testAggregate_noPermissions_expectError()
314 EXERCISE_DURATION_TOTAL); in testAggregateGroupByDuration_noPermissions_expectError()
348 EXERCISE_DURATION_TOTAL); in testAggregateGroupByPeriod_noPermissions_expectError()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/
DHealthConnectDeviceTest.java20 import static android.health.connect.datatypes.ExerciseSessionRecord.EXERCISE_DURATION_TOTAL;
167 EXERCISE_DURATION_TOTAL;
1079 .addAggregationType(EXERCISE_DURATION_TOTAL) in testAggregationOutputForExerciseSessionWithDataFromTwoAppsHavingDifferentPriority()
1086 assertThat(response.get(EXERCISE_DURATION_TOTAL)).isNotNull(); in testAggregationOutputForExerciseSessionWithDataFromTwoAppsHavingDifferentPriority()
1087 assertThat(response.get(EXERCISE_DURATION_TOTAL)) in testAggregationOutputForExerciseSessionWithDataFromTwoAppsHavingDifferentPriority()
1119 assertThat(newResponse.get(EXERCISE_DURATION_TOTAL)).isNotNull(); in testAggregationOutputForExerciseSessionWithDataFromTwoAppsHavingDifferentPriority()
1120 assertThat(newResponse.get(EXERCISE_DURATION_TOTAL)) in testAggregationOutputForExerciseSessionWithDataFromTwoAppsHavingDifferentPriority()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/
DAggregationTypeIdMapper.java32 import static android.health.connect.datatypes.ExerciseSessionRecord.EXERCISE_DURATION_TOTAL;
154 EXERCISE_DURATION_TOTAL)); in AggregationTypeIdMapper()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DExerciseSessionRecord.java53 public static final AggregationType<Long> EXERCISE_DURATION_TOTAL = field in ExerciseSessionRecord
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt885 …tic final android.health.connect.datatypes.AggregationType<java.lang.Long> EXERCISE_DURATION_TOTAL;