Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DPlannedExerciseSessionRecordTest.java290 ExerciseSessionRecord.Builder exerciseSession = in updateExerciseSession_dropTheReferenceToTrainingPlan_trainingPlanAlsoUpdated() local
297 insertRecordAndGetId(exerciseSession.build()); in updateExerciseSession_dropTheReferenceToTrainingPlan_trainingPlanAlsoUpdated()
302 exerciseSession = in updateExerciseSession_dropTheReferenceToTrainingPlan_trainingPlanAlsoUpdated()
310 TestUtils.updateRecords(Collections.singletonList(exerciseSession.build())); in updateExerciseSession_dropTheReferenceToTrainingPlan_trainingPlanAlsoUpdated()
334 ExerciseSessionRecord.Builder exerciseSession = in updateExerciseSession_introduceReferenceToTrainingPlan_trainingPlanAlsoUpdated() local
340 insertRecordAndGetId(exerciseSession.build()); in updateExerciseSession_introduceReferenceToTrainingPlan_trainingPlanAlsoUpdated()
345 exerciseSession = in updateExerciseSession_introduceReferenceToTrainingPlan_trainingPlanAlsoUpdated()
353 TestUtils.updateRecords(Collections.singletonList(exerciseSession.build())); in updateExerciseSession_introduceReferenceToTrainingPlan_trainingPlanAlsoUpdated()
403 ExerciseSessionRecord exerciseSession = in insertSession_sessionReferencesPlannedExerciseSession_idReferencesCreatedBothWays() local
412 String exerciseSessionId = insertRecordAndGetId(exerciseSession); in insertSession_sessionReferencesPlannedExerciseSession_idReferencesCreatedBothWays()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/route/
DRouteRequestActivityTest.kt171 whenever(viewModel.exerciseSession).then { in <lambda>()
190 whenever(viewModel.exerciseSession).then { in <lambda>()
205 whenever(viewModel.exerciseSession).then { in <lambda>()
230 whenever(viewModel.exerciseSession).then { in <lambda>()
260 whenever(viewModel.exerciseSession).then { in <lambda>()
302 whenever(viewModel.exerciseSession).then { in <lambda>()
352 whenever(viewModel.exerciseSession).then { in <lambda>()
388 whenever(viewModel.exerciseSession).then { in <lambda>()
409 whenever(viewModel.exerciseSession).then { in <lambda>()
432 whenever(viewModel.exerciseSession).then { in <lambda>()
[all …]
DExerciseRouteViewModelTest.kt112 viewModel.exerciseSession.observeForever(testObserver) in <lambda>()
136 viewModel.exerciseSession.observeForever(testObserver) in <lambda>()
165 viewModel.exerciseSession.observeForever(testObserver) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/route/
DExerciseRouteViewModel.kt60 val exerciseSession: LiveData<SessionWithAttribution?> constant in com.android.healthconnect.controller.route.ExerciseRouteViewModel
DRouteRequestActivity.kt107 viewModel.exerciseSession.observe(this) { session -> in <lambda>()