Searched refs:ExerciseLapInternal (Results 1 – 8 of 8) sorted by relevance
36 public class ExerciseLapInternal { class44 public static ExerciseLapInternal readFromParcel(Parcel parcel) { in readFromParcel()45 return new ExerciseLapInternal() in readFromParcel()51 static void writeLapsToParcel(List<ExerciseLapInternal> laps, Parcel parcel) { in writeLapsToParcel()58 for (ExerciseLapInternal lap : laps) { in writeLapsToParcel()63 static List<ExerciseLap> getExternalLaps(@NonNull List<ExerciseLapInternal> internalLaps) { in getExternalLaps()70 static List<ExerciseLapInternal> populateLapsFromParcel(Parcel parcel) { in populateLapsFromParcel()76 ArrayList<ExerciseLapInternal> laps = new ArrayList<>(lapsSize); in populateLapsFromParcel()78 laps.add(ExerciseLapInternal.readFromParcel(parcel)); in populateLapsFromParcel()110 public ExerciseLapInternal setLength(double lengthInMeters) { in setLength()[all …]
52 private List<ExerciseLapInternal> mExerciseLaps;132 public List<ExerciseLapInternal> getLaps() { in getLaps()138 @NonNull List<ExerciseLapInternal> exerciseLaps) { in setExerciseLaps()204 builder.setLaps(ExerciseLapInternal.getExternalLaps(mExerciseLaps)); in toExternalRecord()223 ExerciseLapInternal.writeLapsToParcel(mExerciseLaps, parcel); in populateIntervalRecordTo()237 mExerciseLaps = ExerciseLapInternal.populateLapsFromParcel(parcel); in populateIntervalRecordFrom()
23 import android.health.connect.internal.datatypes.ExerciseLapInternal;54 ExerciseLapInternal lap = in testExerciseLapInternal_writeToParcelAndBack_recordsAreEqual()55 new ExerciseLapInternal() in testExerciseLapInternal_writeToParcelAndBack_recordsAreEqual()62 assertLapsAreEqual(ExerciseLapInternal.readFromParcel(parcel), lap); in testExerciseLapInternal_writeToParcelAndBack_recordsAreEqual()68 ExerciseLapInternal lap = in testExerciseLapInternal_writeToParcelAndBackNoLength_recordsAreEqual()69 new ExerciseLapInternal() in testExerciseLapInternal_writeToParcelAndBackNoLength_recordsAreEqual()75 assertLapsAreEqual(ExerciseLapInternal.readFromParcel(parcel), lap); in testExerciseLapInternal_writeToParcelAndBackNoLength_recordsAreEqual()79 private void assertLapsAreEqual(ExerciseLapInternal restored, ExerciseLapInternal lap) { in assertLapsAreEqual()
28 import android.health.connect.internal.datatypes.ExerciseLapInternal;155 public static ExerciseLapInternal buildExerciseLap() { in buildExerciseLap()156 return new ExerciseLapInternal().setStarTime(START_TIME).setEndTime(END_TIME).setLength(10); in buildExerciseLap()
25 import android.health.connect.internal.datatypes.ExerciseLapInternal;111 List<ExerciseLapInternal> internalLaps, List<ExerciseLap> externalLaps) { in assertLapsAreEqual()119 ExerciseLapInternal internalLap = internalLaps.get(i); in assertLapsAreEqual()
30 import android.health.connect.internal.datatypes.ExerciseLapInternal;62 static List<UpsertTableRequest> getLapsUpsertRequests(List<ExerciseLapInternal> laps) { in getLapsUpsertRequests()76 @NonNull Cursor cursor, ArraySet<ExerciseLapInternal> lapsSet) { in populateLapIfRecorded()82 new ExerciseLapInternal() in populateLapIfRecorded()88 static void populateLapTo(ContentValues contentValues, ExerciseLapInternal lap) { in populateLapTo()
53 import android.health.connect.internal.datatypes.ExerciseLapInternal;134 ArraySet<ExerciseLapInternal> lapsSet = new ArraySet<>(); in populateSpecificRecordValue()
23 import android.health.connect.internal.datatypes.ExerciseLapInternal;108 public ExerciseLapInternal toExerciseLapInternal() { in toExerciseLapInternal()109 ExerciseLapInternal internalLap = in toExerciseLapInternal()110 new ExerciseLapInternal() in toExerciseLapInternal()