Searched refs:PlannedExerciseBlockInternal (Results 1 – 6 of 6) sorted by relevance
31 public final class PlannedExerciseBlockInternal { class39 public static void writeToParcel(List<PlannedExerciseBlockInternal> blocks, Parcel parcel) { in writeToParcel()41 for (PlannedExerciseBlockInternal block : blocks) { in writeToParcel()49 public static List<PlannedExerciseBlockInternal> readFromParcel(Parcel parcel) { in readFromParcel()50 List<PlannedExerciseBlockInternal> result = new ArrayList<>(); in readFromParcel()53 PlannedExerciseBlockInternal block = new PlannedExerciseBlockInternal(parcel.readInt()); in readFromParcel()61 public PlannedExerciseBlockInternal(int repetitions) { in PlannedExerciseBlockInternal() method in PlannedExerciseBlockInternal
48 private List<PlannedExerciseBlockInternal> mExerciseBlocks = Collections.emptyList();87 List<PlannedExerciseBlockInternal> blocks) { in setExerciseBlocks()101 public List<PlannedExerciseBlockInternal> getExerciseBlocks() { in getExerciseBlocks()135 mExerciseBlocks = PlannedExerciseBlockInternal.readFromParcel(parcel); in populateIntervalRecordFrom()146 PlannedExerciseBlockInternal.writeToParcel(mExerciseBlocks, parcel); in populateIntervalRecordTo()178 for (PlannedExerciseBlockInternal block : mExerciseBlocks) { in toExternalRecord()
22 import android.health.connect.internal.datatypes.PlannedExerciseBlockInternal;36 PlannedExerciseBlockInternal block1 = TestUtils.buildExerciseBlockInternal(); in testPlanWriteToParcel_populateToParcelAndFrom_restoredFieldsAreIdentical()37 PlannedExerciseBlockInternal block2 = TestUtils.buildExerciseBlockInternal(); in testPlanWriteToParcel_populateToParcelAndFrom_restoredFieldsAreIdentical()86 PlannedExerciseBlockInternal firstBlock = first.getExerciseBlocks().get(i); in assertFieldsAreEqual()87 PlannedExerciseBlockInternal secondBlock = second.getExerciseBlocks().get(i); in assertFieldsAreEqual()
33 import android.health.connect.internal.datatypes.PlannedExerciseBlockInternal;115 public static PlannedExerciseBlockInternal buildExerciseBlockInternal() { in buildExerciseBlockInternal()116 PlannedExerciseBlockInternal result = new PlannedExerciseBlockInternal(1); in buildExerciseBlockInternal()
22 import android.health.connect.internal.datatypes.PlannedExerciseBlockInternal;145 public PlannedExerciseBlockInternal toInternalObject() { in toInternalObject()146 PlannedExerciseBlockInternal result = new PlannedExerciseBlockInternal(getRepetitions()); in toInternalObject()
69 import android.health.connect.internal.datatypes.PlannedExerciseBlockInternal;253 private List<PlannedExerciseBlockInternal> extractBlocks(@NonNull Cursor cursor) { in extractBlocks()259 List<PlannedExerciseBlockInternal> result = new ArrayList<>(); in extractBlocks()263 PlannedExerciseBlockInternal block = in extractBlocks()264 new PlannedExerciseBlockInternal( in extractBlocks()406 for (PlannedExerciseBlockInternal exerciseBlock : record.getExerciseBlocks()) { in getChildTableUpsertRequests()413 private UpsertTableRequest getBlockUpsertRequest(PlannedExerciseBlockInternal exerciseBlock) { in getBlockUpsertRequest()