Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DExercisePerformanceGoalInternalTest.java25 import android.health.connect.internal.datatypes.ExercisePerformanceGoalInternal;
26 import android.health.connect.internal.datatypes.ExercisePerformanceGoalInternal.AmrapGoalInternal;
27 import android.health.connect.internal.datatypes.ExercisePerformanceGoalInternal.CadenceGoalInterna…
28 import android.health.connect.internal.datatypes.ExercisePerformanceGoalInternal.HeartRateGoalInter…
29 import android.health.connect.internal.datatypes.ExercisePerformanceGoalInternal.PowerGoalInternal;
30 import android.health.connect.internal.datatypes.ExercisePerformanceGoalInternal.SpeedGoalInternal;
31 import android.health.connect.internal.datatypes.ExercisePerformanceGoalInternal.WeightGoalInternal;
49 getOnlyElement(ExercisePerformanceGoalInternal.readFromParcel(parcel)); in powerGoal_writeToParcelThenRestore_objectsAreIdentical()
59 ExercisePerformanceGoalInternal.PowerGoalInternal original = in powerGoal_convertToExternalAndBack_objectsAreIdentical()
60 new ExercisePerformanceGoalInternal.PowerGoalInternal( in powerGoal_convertToExternalAndBack_objectsAreIdentical()
[all …]
DPlannedExerciseSessionInternalTest.java21 import android.health.connect.internal.datatypes.ExercisePerformanceGoalInternal;
41 new ExercisePerformanceGoalInternal.PowerGoalInternal( in testPlanWriteToParcel_populateToParcelAndFrom_restoredFieldsAreIdentical()
43 ExercisePerformanceGoalInternal.UnknownGoalInternal.INSTANCE, in testPlanWriteToParcel_populateToParcelAndFrom_restoredFieldsAreIdentical()
44 new ExercisePerformanceGoalInternal.PowerGoalInternal( in testPlanWriteToParcel_populateToParcelAndFrom_restoredFieldsAreIdentical()
49 new ExercisePerformanceGoalInternal.PowerGoalInternal( in testPlanWriteToParcel_populateToParcelAndFrom_restoredFieldsAreIdentical()
DTestUtils.java29 import android.health.connect.internal.datatypes.ExercisePerformanceGoalInternal;
131 new ExercisePerformanceGoalInternal.PowerGoalInternal( in buildExerciseStepInternal()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DExercisePerformanceGoalInternal.java33 public abstract class ExercisePerformanceGoalInternal { class
44 List<ExercisePerformanceGoalInternal> performanceGoals, Parcel parcel) { in writeToParcel()
46 for (ExercisePerformanceGoalInternal performanceGoal : performanceGoals) { in writeToParcel()
53 public static List<ExercisePerformanceGoalInternal> readFromParcel(Parcel parcel) { in readFromParcel()
54 List<ExercisePerformanceGoalInternal> result = new ArrayList<>(); in readFromParcel()
80 case ExercisePerformanceGoalInternal.UnknownGoalInternal.UNKNOWN_GOAL_TYPE_ID: in readFromParcel()
93 public static ExercisePerformanceGoalInternal fromExternalObject( in fromExternalObject()
131 public static final class UnknownGoalInternal extends ExercisePerformanceGoalInternal {
154 public static final class PowerGoalInternal extends ExercisePerformanceGoalInternal {
195 public static final class SpeedGoalInternal extends ExercisePerformanceGoalInternal {
[all …]
DPlannedExerciseStepInternal.java38 private List<ExercisePerformanceGoalInternal> mPerformanceGoals = Collections.emptyList();
68 public void setPerformanceGoals(List<ExercisePerformanceGoalInternal> performanceGoals) { in setPerformanceGoals()
86 public List<ExercisePerformanceGoalInternal> getPerformanceGoals() { in getPerformanceGoals()
98 for (ExercisePerformanceGoalInternal goal : mPerformanceGoals) { in toExternalObject()
112 ExercisePerformanceGoalInternal.writeToParcel(step.getPerformanceGoals(), parcel); in writeToParcel()
127 step.setPerformanceGoals(ExercisePerformanceGoalInternal.readFromParcel(parcel)); in readFromParcel()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DPlannedExerciseSessionRecordHelper.java61 import android.health.connect.internal.datatypes.ExercisePerformanceGoalInternal;
62 import android.health.connect.internal.datatypes.ExercisePerformanceGoalInternal.AmrapGoalInternal;
63 import android.health.connect.internal.datatypes.ExercisePerformanceGoalInternal.CadenceGoalInterna…
64 import android.health.connect.internal.datatypes.ExercisePerformanceGoalInternal.HeartRateGoalInter…
65 import android.health.connect.internal.datatypes.ExercisePerformanceGoalInternal.PowerGoalInternal;
66 import android.health.connect.internal.datatypes.ExercisePerformanceGoalInternal.RateOfPerceivedExe…
67 import android.health.connect.internal.datatypes.ExercisePerformanceGoalInternal.SpeedGoalInternal;
68 import android.health.connect.internal.datatypes.ExercisePerformanceGoalInternal.WeightGoalInternal;
293 List<ExercisePerformanceGoalInternal> performanceGoals = new ArrayList<>(); in extractSteps()
344 private ExercisePerformanceGoalInternal extractPerformanceGoal(@NonNull Cursor cursor) { in extractPerformanceGoal()
[all …]
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DPlannedExerciseStep.java26 import android.health.connect.internal.datatypes.ExercisePerformanceGoalInternal;
228 .map(ExercisePerformanceGoalInternal::fromExternalObject) in toInternalObject()