| /packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/ |
| D | ExerciseSessionFormatter.kt | 25 import android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_BADMINTON in <lambda>() 26 import android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_BASEBALL in <lambda>() 27 import android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_BASKETBALL in <lambda>() 28 import android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING in <lambda>() 29 import android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING_STATIONARY in <lambda>() 30 import android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_BOOT_CAMP in <lambda>() 31 import android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_BOXING in <lambda>() 32 import android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_CALISTHENICS in <lambda>() 33 import android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_CRICKET in <lambda>() 34 import android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_DANCING in <lambda>() [all …]
|
| /packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/validation/ |
| D | ExerciseSessionTypesValidation.java | 88 import static android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING; 89 import static android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING_STA… 90 import static android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_BOOT_CAMP; 91 import static android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_CALISTHENI… 92 import static android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_ELLIPTICAL; 93 import static android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_EXERCISE_C… 94 import static android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_GYMNASTICS; 95 import static android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_HIGH_INTEN… 96 import static android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_HIKING; 97 import static android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_OTHER_WORK… [all …]
|
| /packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
| D | PlannedExerciseStepTest.java | 23 import android.health.connect.datatypes.ExerciseSessionType; 54 ExerciseSessionType.EXERCISE_SESSION_TYPE_BOXING, in hashCodeAndEquals_sensitiveToAllFields() 59 builder.setExerciseType(ExerciseSessionType.EXERCISE_SESSION_TYPE_BOXING) in hashCodeAndEquals_sensitiveToAllFields() 62 builder.setExerciseType(ExerciseSessionType.EXERCISE_SESSION_TYPE_BASEBALL) in hashCodeAndEquals_sensitiveToAllFields() 65 builder.setExerciseType(ExerciseSessionType.EXERCISE_SESSION_TYPE_BOXING) in hashCodeAndEquals_sensitiveToAllFields() 69 builder.setExerciseType(ExerciseSessionType.EXERCISE_SESSION_TYPE_BASEBALL) in hashCodeAndEquals_sensitiveToAllFields() 73 builder.setExerciseType(ExerciseSessionType.EXERCISE_SESSION_TYPE_BOXING) in hashCodeAndEquals_sensitiveToAllFields() 76 builder.setExerciseType(ExerciseSessionType.EXERCISE_SESSION_TYPE_BOXING) in hashCodeAndEquals_sensitiveToAllFields() 79 builder.setExerciseType(ExerciseSessionType.EXERCISE_SESSION_TYPE_BOXING) in hashCodeAndEquals_sensitiveToAllFields() 83 builder.setExerciseType(ExerciseSessionType.EXERCISE_SESSION_TYPE_BOXING) in hashCodeAndEquals_sensitiveToAllFields() [all …]
|
| D | PlannedExerciseSessionRecordTest.java | 44 import android.health.connect.datatypes.ExerciseSessionType; 119 basePlannedExerciseSession(ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING) in insertRecord_startTimeInFuture_bypassesFutureTimeRestrictions() 133 basePlannedExerciseSession(ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING); in insertRecord_noBlocks() 145 basePlannedExerciseSession(ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING); in insertRecord_singleBlock() 158 basePlannedExerciseSession(ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING); in insertRecord_multipleBlocks() 178 basePlannedExerciseSession(ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING); in insertRecord_singleStep() 201 basePlannedExerciseSession(ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING); in insertRecord_multipleSteps() 229 basePlannedExerciseSession(ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING) in insertMultipleRecords() 232 basePlannedExerciseSession(ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING) in insertMultipleRecords() 245 basePlannedExerciseSession(ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING); in updateTrainingPlan() [all …]
|
| D | PlannedExerciseBlockTest.java | 22 import android.health.connect.datatypes.ExerciseSessionType; 73 ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING, in hashCodeAndEquals_sensitiveToAllFields() 78 .setExerciseType(ExerciseSessionType.EXERCISE_SESSION_TYPE_BADMINTON) in hashCodeAndEquals_sensitiveToAllFields() 82 .setExerciseType(ExerciseSessionType.EXERCISE_SESSION_TYPE_BOXING) in hashCodeAndEquals_sensitiveToAllFields() 99 ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING, in clearSteps_removesAllExistingSteps() 121 ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING, in addStep()
|
| D | ExerciseLapTest.java | 27 import android.health.connect.datatypes.ExerciseSessionType; 77 ExerciseSessionType.EXERCISE_SESSION_TYPE_CALISTHENICS) in testLaps_lapStartTimeIllegal_throwsException() 93 ExerciseSessionType.EXERCISE_SESSION_TYPE_CALISTHENICS) in testLaps_lapEndTimeIllegal_throwsException() 109 ExerciseSessionType.EXERCISE_SESSION_TYPE_CALISTHENICS) in testLaps_lapsOverlaps_throwsException()
|
| D | ExerciseSegmentTest.java | 28 import android.health.connect.datatypes.ExerciseSessionType; 87 ExerciseSessionType.EXERCISE_SESSION_TYPE_BADMINTON) in testExerciseSegment_lapStartTimeIllegal_throwsException() 104 ExerciseSessionType.EXERCISE_SESSION_TYPE_BADMINTON) in testExerciseSegment_lapEndTimeIllegal_throwsException() 121 ExerciseSessionType.EXERCISE_SESSION_TYPE_HIGH_INTENSITY_INTERVAL_TRAINING) in testExerciseSegment_segmentsOverlap_throwsException()
|
| D | ExerciseSessionRecordTest.java | 58 import android.health.connect.datatypes.ExerciseSessionType; 135 ExerciseSessionType.EXERCISE_SESSION_TYPE_BADMINTON) in testExerciseSession_buildEqualSessions_equalsReturnsTrue() 142 ExerciseSessionType.EXERCISE_SESSION_TYPE_BADMINTON) in testExerciseSession_buildEqualSessions_equalsReturnsTrue() 171 ExerciseSessionType.EXERCISE_SESSION_TYPE_FOOTBALL_AMERICAN) in testExerciseSession_buildSessionWithAllFields_buildCorrectObject() 186 .isEqualTo(ExerciseSessionType.EXERCISE_SESSION_TYPE_FOOTBALL_AMERICAN); in testExerciseSession_buildSessionWithAllFields_buildCorrectObject() 202 ExerciseSessionType.EXERCISE_SESSION_TYPE_FOOTBALL_AMERICAN) in testUpdateRecord_updateToRecordWithoutRouteWithWritePerm_routeIsNullAfterUpdate() 231 ExerciseSessionType.EXERCISE_SESSION_TYPE_FOOTBALL_AMERICAN) in testExerciseSessionBuilds_routeTimestampAfterSessionEnd_throwsException() 247 ExerciseSessionType.EXERCISE_SESSION_TYPE_FOOTBALL_AMERICAN) in testExerciseSessionBuilds_routeTimestampBeforeSessionStart_throwsException() 262 ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING_STATIONARY, in testExerciseSessionBuilds_sessionTypeDoesntMatchSegment_throwsException() 269 ExerciseSessionType.EXERCISE_SESSION_TYPE_SWIMMING_OPEN_WATER, in testExerciseSessionBuilds_sessionTypeSwimming_noException() [all …]
|
| D | ExercisePerformanceGoalTest.java | 30 import android.health.connect.datatypes.ExerciseSessionType; 371 ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING, in createPlannedSessionWithPerformanceGoal() 382 ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING, in createStepWithPerformanceGoal()
|
| D | ExerciseCompletionGoalTest.java | 29 import android.health.connect.datatypes.ExerciseSessionType; 372 ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING, in createPlannedSessionWithCompletionGoal() 383 ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING, in createStepWithCompletionGoal()
|
| /packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/ |
| D | ExerciseDurationAggregationTest.java | 38 import android.health.connect.datatypes.ExerciseSessionType; 109 ExerciseSessionType in testSimpleAggregation_oneSession_returnsItsDuration() 133 ExerciseSessionType in testSimpleAggregation_oneSessionStartEarlierThanWindow_returnsOverlapDuration() 156 ExerciseSessionType in testSimpleAggregation_oneSessionBiggerThanWindow_returnsOverlapDuration() 185 ExerciseSessionType.EXERCISE_SESSION_TYPE_CALISTHENICS) in testSimpleAggregation_oneSessionWithRest_returnsDurationMinusRest() 221 ExerciseSessionType.EXERCISE_SESSION_TYPE_BADMINTON) in testAggregationByDuration_oneSession_returnsSplitDurationIntoGroups() 256 ExerciseSessionType.EXERCISE_SESSION_TYPE_BADMINTON) in testAggregation_oneSessionLocalTimeFilter_findsSessionWithMinOffset() 285 ExerciseSessionType.EXERCISE_SESSION_TYPE_BADMINTON) in testAggregation_oneSessionLocalTimeFilterExcludeSegment_substractsExcludeInterval()
|
| /packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
| D | PlannedExerciseSessionRecord.java | 48 @ExerciseSessionType.ExerciseSessionTypes private final int mExerciseType; 84 @NonNull @ExerciseSessionType.ExerciseSessionTypes int exerciseType, in PlannedExerciseSessionRecord() 105 @ExerciseSessionType.ExerciseSessionTypes 195 @ExerciseSessionType.ExerciseSessionTypes private int mExerciseType; 211 @ExerciseSessionType.ExerciseSessionTypes int exerciseType, in Builder() 237 @ExerciseSessionType.ExerciseSessionTypes int exerciseType, in Builder() 263 public Builder setExerciseType(@ExerciseSessionType.ExerciseSessionTypes int exerciseType) { in setExerciseType() 405 if (!ExerciseSessionType.isKnownSessionType(mExerciseType)) { in build()
|
| D | ExerciseSessionType.java | 31 public final class ExerciseSessionType { class 226 private ExerciseSessionType() {} in ExerciseSessionType() method in ExerciseSessionType
|
| D | ExerciseSessionRecord.java | 93 @NonNull @ExerciseSessionType.ExerciseSessionTypes int exerciseType, in ExerciseSessionRecord() 136 @ExerciseSessionType.ExerciseSessionTypes 249 @ExerciseSessionType.ExerciseSessionTypes int exerciseType) { in Builder()
|
| /packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/seed/ |
| D | SeedActivityData.kt | 34 import android.health.connect.datatypes.ExerciseSessionType in <lambda>() 883 ExerciseSessionType.EXERCISE_SESSION_TYPE_EXERCISE_CLASS, in <lambda>() 911 ExerciseSessionType.EXERCISE_SESSION_TYPE_EXERCISE_CLASS, in <lambda>() 916 .setExerciseType(ExerciseSessionType.EXERCISE_SESSION_TYPE_WEIGHTLIFTING) in <lambda>() 924 ExerciseSessionType.EXERCISE_SESSION_TYPE_WEIGHTLIFTING, in <lambda>() 931 ExerciseSessionType.EXERCISE_SESSION_TYPE_WEIGHTLIFTING, in <lambda>() 938 ExerciseSessionType.EXERCISE_SESSION_TYPE_WEIGHTLIFTING, in <lambda>() 945 ExerciseSessionType.EXERCISE_SESSION_TYPE_STRETCHING, in <lambda>() 961 ExerciseSessionType.EXERCISE_SESSION_TYPE_RUNNING_TREADMILL, in <lambda>() 974 ExerciseSessionType.EXERCISE_SESSION_TYPE_RUNNING_TREADMILL, in <lambda>() [all …]
|
| /packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/ |
| D | ExerciseSessionFormatterTest.kt | 26 import android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_BIKING 27 import android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_OTHER_WORKOUT 28 import android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_RUNNING
|
| /packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/route/ |
| D | LoadExerciseRouteUseCaseTest.kt | 23 import android.health.connect.datatypes.ExerciseSessionType in <lambda>() 88 ExerciseSessionType.EXERCISE_SESSION_TYPE_RUNNING) in <lambda>() 109 ExerciseSessionType.EXERCISE_SESSION_TYPE_RUNNING) in <lambda>()
|
| D | ExerciseRouteViewModelTest.kt | 24 import android.health.connect.datatypes.ExerciseSessionType in <lambda>() 129 ExerciseSessionType.EXERCISE_SESSION_TYPE_RUNNING) in <lambda>() 148 getMetaData(), start, end, ExerciseSessionType.EXERCISE_SESSION_TYPE_RUNNING) in <lambda>()
|
| D | RouteRequestActivityTest.kt | 26 import android.health.connect.datatypes.ExerciseSessionType in <lambda>() 92 ExerciseSessionType.EXERCISE_SESSION_TYPE_RUNNING, in <lambda>() 218 ExerciseSessionType.EXERCISE_SESSION_TYPE_RUNNING, in <lambda>() 246 ExerciseSessionType.EXERCISE_SESSION_TYPE_RUNNING, in <lambda>() 325 ExerciseSessionType.EXERCISE_SESSION_TYPE_RUNNING, in <lambda>()
|
| /packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/ |
| D | TestUtils.java | 22 import android.health.connect.datatypes.ExerciseSessionType; 75 .setExerciseType(ExerciseSessionType.EXERCISE_SESSION_TYPE_OTHER_WORKOUT) in buildExerciseSessionInternal() 180 .setExerciseType(ExerciseSessionType.EXERCISE_SESSION_TYPE_OTHER_WORKOUT) in buildExerciseSessionInternalNoExtraFields()
|
| /packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
| D | PlannedExerciseSessionRecordInternal.java | 20 import android.health.connect.datatypes.ExerciseSessionType; 117 @ExerciseSessionType.ExerciseSessionTypes
|
| D | ExerciseSessionRecordInternal.java | 22 import android.health.connect.datatypes.ExerciseSessionType; 73 @ExerciseSessionType.ExerciseSessionTypes
|
| /packages/modules/HealthFitness/tests/cts/route/src/android/healthconnect/cts/route/ |
| D | ExerciseRouteTestHelper.java | 39 import android.health.connect.datatypes.ExerciseSessionType; 109 ExerciseSessionType.EXERCISE_SESSION_TYPE_RUNNING) in getExerciseSession()
|
| /packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ui/ |
| D | InsertRecordFragment.kt | 28 import android.health.connect.datatypes.ExerciseSessionType in <lambda>() 296 ExerciseSessionRecord::class -> mapOf("mExerciseType" to ExerciseSessionType::class) in <lambda>() 299 mapOf("mPlannedExerciseType" to ExerciseSessionType::class) in <lambda>()
|
| /packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/ |
| D | MindfulnessTest.kt | 22 import android.health.connect.datatypes.ExerciseSessionType.EXERCISE_SESSION_TYPE_RUNNING
|