Home
last modified time | relevance | path

Searched refs:toExternalObject (Results 1 – 8 of 8) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DExercisePerformanceGoalInternalTest.java66 original.toExternalObject())) in powerGoal_convertToExternalAndBack_objectsAreIdentical()
72 original.toExternalObject())) in powerGoal_convertToExternalAndBack_objectsAreIdentical()
103 original.toExternalObject())) in speedGoal_convertToExternalAndBack_objectsAreIdentical()
109 original.toExternalObject())) in speedGoal_convertToExternalAndBack_objectsAreIdentical()
137 original.toExternalObject())) in cadenceGoal_convertToExternalAndBack_objectsAreIdentical()
143 original.toExternalObject())) in cadenceGoal_convertToExternalAndBack_objectsAreIdentical()
171 original.toExternalObject())) in heartRateGoal_convertToExternalAndBack_objectsAreIdentical()
177 original.toExternalObject())) in heartRateGoal_convertToExternalAndBack_objectsAreIdentical()
204 original.toExternalObject())) in weightGoal_convertToExternalAndBack_objectsAreIdentical()
226 assertThat(ExercisePerformanceGoalInternal.fromExternalObject(original.toExternalObject())) in amrapGoal_convertToExternalAndBack_objectsAreIdentical()
DExerciseCompletionGoalInternalTest.java60 original.toExternalObject())) in distanceGoal_convertToExternalAndBack_objectsAreIdentical()
85 original.toExternalObject())) in stepsGoal_convertToExternalAndBack_objectsAreIdentical()
110 original.toExternalObject())) in durationGoal_convertToExternalAndBack_objectsAreIdentical()
135 original.toExternalObject())) in repsGoal_convertToExternalAndBack_objectsAreIdentical()
163 original.toExternalObject())) in totalCaloriesBurnedGoal_convertToExternalAndBack_objectsAreIdentical()
191 original.toExternalObject())) in activeCaloriesBurnedGoal_convertToExternalAndBack_objectsAreIdentical()
221 original.toExternalObject()); in distanceWithVariableRestGoal_convertToExternalAndBack_objectsAreIdentical()
243 assertThat(ExerciseCompletionGoalInternal.fromExternalObject(original.toExternalObject())) in unknownGoal_convertToExternalAndBack_objectsAreIdentical()
264 assertThat(UnspecifiedGoalInternal.fromExternalObject(original.toExternalObject())) in unspecifiedGoal_convertToExternalAndBack_objectsAreIdentical()
DPlannedExerciseSessionInternalTest.java97 assertThat(firstStep.getCompletionGoal().toExternalObject()) in assertFieldsAreEqual()
98 .isEqualTo(secondStep.getCompletionGoal().toExternalObject()); in assertFieldsAreEqual()
100 assertThat(firstStep.getPerformanceGoals().get(k).toExternalObject()) in assertFieldsAreEqual()
101 .isEqualTo(secondStep.getPerformanceGoals().get(k).toExternalObject()); in assertFieldsAreEqual()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DExerciseCompletionGoalInternal.java36 public abstract ExerciseCompletionGoal toExternalObject(); in toExternalObject() method in ExerciseCompletionGoalInternal
143 public ExerciseCompletionGoal toExternalObject() { in toExternalObject() method in ExerciseCompletionGoalInternal.DistanceGoalInternal
179 public ExerciseCompletionGoal toExternalObject() { in toExternalObject() method in ExerciseCompletionGoalInternal.StepsGoalInternal
216 public ExerciseCompletionGoal toExternalObject() { in toExternalObject() method in ExerciseCompletionGoalInternal.DurationGoalInternal
252 public ExerciseCompletionGoal toExternalObject() { in toExternalObject() method in ExerciseCompletionGoalInternal.RepetitionsGoalInternal
289 public ExerciseCompletionGoal toExternalObject() { in toExternalObject() method in ExerciseCompletionGoalInternal.TotalCaloriesBurnedGoalInternal
328 public ExerciseCompletionGoal toExternalObject() { in toExternalObject() method in ExerciseCompletionGoalInternal.ActiveCaloriesBurnedGoalInternal
378 public ExerciseCompletionGoal toExternalObject() { in toExternalObject() method in ExerciseCompletionGoalInternal.DistanceWithVariableRestGoalInternal
407 public ExerciseCompletionGoal toExternalObject() { in toExternalObject() method in ExerciseCompletionGoalInternal.UnknownGoalInternal
435 public ExerciseCompletionGoal toExternalObject() { in toExternalObject() method in ExerciseCompletionGoalInternal.UnspecifiedGoalInternal
DExercisePerformanceGoalInternal.java35 public abstract ExercisePerformanceGoal toExternalObject(); in toExternalObject() method in ExercisePerformanceGoalInternal
149 public ExercisePerformanceGoal toExternalObject() { in toExternalObject() method in ExercisePerformanceGoalInternal.UnknownGoalInternal
190 public ExercisePerformanceGoal toExternalObject() { in toExternalObject() method in ExercisePerformanceGoalInternal.PowerGoalInternal
232 public ExercisePerformanceGoal toExternalObject() { in toExternalObject() method in ExercisePerformanceGoalInternal.SpeedGoalInternal
272 public ExercisePerformanceGoal toExternalObject() { in toExternalObject() method in ExercisePerformanceGoalInternal.CadenceGoalInternal
312 public ExercisePerformanceGoal toExternalObject() { in toExternalObject() method in ExercisePerformanceGoalInternal.HeartRateGoalInternal
345 public ExercisePerformanceGoal toExternalObject() { in toExternalObject() method in ExercisePerformanceGoalInternal.WeightGoalInternal
379 public ExercisePerformanceGoal toExternalObject() { in toExternalObject() method in ExercisePerformanceGoalInternal.RateOfPerceivedExertionGoalInternal
402 public ExercisePerformanceGoal toExternalObject() { in toExternalObject() method in ExercisePerformanceGoalInternal.AmrapGoalInternal
DPlannedExerciseStepInternal.java91 public PlannedExerciseStep toExternalObject() { in toExternalObject() method in PlannedExerciseStepInternal
94 mExerciseType, mExerciseCategory, mCompletionGoal.toExternalObject()); in toExternalObject()
99 builder.addPerformanceGoal(goal.toExternalObject()); in toExternalObject()
DPlannedExerciseBlockInternal.java91 public PlannedExerciseBlock toExternalObject() { in toExternalObject() method in PlannedExerciseBlockInternal
95 builder.addStep(step.toExternalObject()); in toExternalObject()
DPlannedExerciseSessionRecordInternal.java179 builder.addBlock(block.toExternalObject()); in toExternalRecord()