Searched refs:StepsGoalInternal (Results 1 – 3 of 3) sorted by relevance
29 import android.health.connect.internal.datatypes.ExerciseCompletionGoalInternal.StepsGoalInternal;67 StepsGoalInternal original = new StepsGoalInternal(500); in stepsGoal_writeToParcelThenRestore_objectsAreIdentical()70 StepsGoalInternal restored = in stepsGoal_writeToParcelThenRestore_objectsAreIdentical()71 (StepsGoalInternal) ExerciseCompletionGoalInternal.readFromParcel(parcel); in stepsGoal_writeToParcelThenRestore_objectsAreIdentical()73 assertThat(restored).isInstanceOf(StepsGoalInternal.class); in stepsGoal_writeToParcelThenRestore_objectsAreIdentical()80 StepsGoalInternal original = new StepsGoalInternal(100); in stepsGoal_convertToExternalAndBack_objectsAreIdentical()83 ((StepsGoalInternal) in stepsGoal_convertToExternalAndBack_objectsAreIdentical()
57 return new StepsGoalInternal(goal.getSteps()); in fromExternalObject()94 case StepsGoalInternal.STEPS_GOAL_TYPE_ID: in readFromParcel()95 return StepsGoalInternal.readFieldsFromParcel(parcel); in readFromParcel()153 public static final class StepsGoalInternal extends ExerciseCompletionGoalInternal { class in ExerciseCompletionGoalInternal163 public static StepsGoalInternal readFieldsFromParcel(@NonNull Parcel parcel) { in readFieldsFromParcel()164 return new StepsGoalInternal(parcel.readInt()); in readFieldsFromParcel()169 public StepsGoalInternal(int steps) { in StepsGoalInternal() method in ExerciseCompletionGoalInternal.StepsGoalInternal
58 import android.health.connect.internal.datatypes.ExerciseCompletionGoalInternal.StepsGoalInternal;317 case StepsGoalInternal.STEPS_GOAL_TYPE_ID: in extractCompletionGoal()318 return new StepsGoalInternal( in extractCompletionGoal()460 } else if (completionGoal instanceof StepsGoalInternal) { in getCompletionGoalUpsert()463 convertIntToBytes(((StepsGoalInternal) completionGoal).getSteps())); in getCompletionGoalUpsert()