Home
last modified time | relevance | path

Searched refs:PlannedExerciseBlock (Results 1 – 15 of 15) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DPlannedExerciseBlockTest.java23 import android.health.connect.datatypes.PlannedExerciseBlock;
51 PlannedExerciseBlock.Builder builder = new PlannedExerciseBlock.Builder(1); in hashCodeAndEquals_sensitiveToAllFields()
95 PlannedExerciseBlock.Builder builder = new PlannedExerciseBlock.Builder(1); in clearSteps_removesAllExistingSteps()
108 PlannedExerciseBlock.Builder builder = new PlannedExerciseBlock.Builder(1); in clearDescription_setsDescriptionToNull()
116 PlannedExerciseBlock.Builder builder = new PlannedExerciseBlock.Builder(1); in addStep()
131 PlannedExerciseBlock.Builder builder = new PlannedExerciseBlock.Builder(8); in getRepetitions()
DPlannedExerciseSessionRecordTest.java47 import android.health.connect.datatypes.PlannedExerciseBlock;
119 PlannedExerciseBlock.Builder blockBuilder = new PlannedExerciseBlock.Builder(3); in insertRecord_startTimeInFuture_bypassesFutureTimeRestrictions()
131 PlannedExerciseBlock.Builder blockBuilder = new PlannedExerciseBlock.Builder(3); in insertRecord_noBlocks()
143 PlannedExerciseBlock.Builder blockBuilder = new PlannedExerciseBlock.Builder(3); in insertRecord_singleBlock()
156 PlannedExerciseBlock.Builder blockBuilder = new PlannedExerciseBlock.Builder(3); in insertRecord_multipleBlocks()
176 PlannedExerciseBlock.Builder blockBuilder = new PlannedExerciseBlock.Builder(3); in insertRecord_singleStep()
199 PlannedExerciseBlock.Builder blockBuilder = new PlannedExerciseBlock.Builder(3); in insertRecord_multipleSteps()
243 PlannedExerciseBlock.Builder blockBuilder = new PlannedExerciseBlock.Builder(3); in updateTrainingPlan()
282 PlannedExerciseBlock.Builder blockBuilder = new PlannedExerciseBlock.Builder(3); in updateExerciseSession_dropTheReferenceToTrainingPlan_trainingPlanAlsoUpdated()
326 PlannedExerciseBlock.Builder blockBuilder = new PlannedExerciseBlock.Builder(3); in updateExerciseSession_introduceReferenceToTrainingPlan_trainingPlanAlsoUpdated()
[all …]
DExercisePerformanceGoalTest.java32 import android.health.connect.datatypes.PlannedExerciseBlock;
373 new PlannedExerciseBlock.Builder(1) in createPlannedSessionWithPerformanceGoal()
DExerciseCompletionGoalTest.java31 import android.health.connect.datatypes.PlannedExerciseBlock;
374 new PlannedExerciseBlock.Builder(1) in createPlannedSessionWithCompletionGoal()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DPlannedExerciseBlock.java34 public final class PlannedExerciseBlock { class
39 private PlannedExerciseBlock( in PlannedExerciseBlock() method in PlannedExerciseBlock
72 if (!(o instanceof PlannedExerciseBlock)) return false; in equals()
73 PlannedExerciseBlock that = (PlannedExerciseBlock) o; in equals()
139 public PlannedExerciseBlock build() { in build()
140 return new PlannedExerciseBlock(mRepetitions, mDescription, List.copyOf(mSteps)); in build()
DPlannedExerciseSessionRecord.java54 private final List<PlannedExerciseBlock> mBlocks;
85 @NonNull List<PlannedExerciseBlock> blocks, in PlannedExerciseSessionRecord()
157 public List<PlannedExerciseBlock> getBlocks() { in getBlocks()
199 private final List<PlannedExerciseBlock> mBlocks = new ArrayList<>();
344 public Builder addBlock(@NonNull PlannedExerciseBlock block) { in addBlock()
356 public Builder setBlocks(@NonNull List<PlannedExerciseBlock> blocks) { in setBlocks()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DPlannedExerciseBlockFormatter.kt19 import android.health.connect.datatypes.PlannedExerciseBlock in <lambda>()
37 block: PlannedExerciseBlock, in <lambda>()
43 private fun formatBlockTitle(block: PlannedExerciseBlock): String { in <lambda>()
52 private fun formatBlockTitleA11y(block: PlannedExerciseBlock): String { in <lambda>()
62 block: PlannedExerciseBlock, in <lambda>()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DPlannedExerciseBlockInternal.java20 import android.health.connect.datatypes.PlannedExerciseBlock;
91 public PlannedExerciseBlock toExternalObject() { in toExternalObject()
92 PlannedExerciseBlock.Builder builder = new PlannedExerciseBlock.Builder(mRepetitions); in toExternalObject()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/fieldviews/
DExerciseBlockInputField.kt8 import android.health.connect.datatypes.PlannedExerciseBlock
42 return PlannedExerciseBlock.Builder( in getFieldValue()
61 return PlannedExerciseBlock.Builder( in getFieldValue()
DListInputField.kt25 import android.health.connect.datatypes.PlannedExerciseBlock
122 PlannedExerciseBlock::class.java -> { in addRow()
197 PlannedExerciseBlock::class.java -> { in getFieldValue()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/
DFormattedDataEntry.kt20 import android.health.connect.datatypes.PlannedExerciseBlock
113 val block: PlannedExerciseBlock,
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/
DTestConstants.kt34 import android.health.connect.datatypes.PlannedExerciseBlock in <lambda>()
194 exerciseBlocks: List<PlannedExerciseBlock> in getPlannedExerciseSessionRecord()
218 ): PlannedExerciseBlock { in getPlannedExerciseBlock()
219 return PlannedExerciseBlock.Builder(repetitions) in getPlannedExerciseBlock()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DDataFactory.java41 import android.health.connect.datatypes.PlannedExerciseBlock;
282 var blockBuilder = new PlannedExerciseBlock.Builder(3).setDescription("Main set"); in plannedExerciseSession()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DInsertOrUpdateRecords.kt50 import android.health.connect.datatypes.PlannedExerciseBlock
605 as List<PlannedExerciseBlock>) in createRecordObjectHelper()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1381 …ggedApi("com.android.healthconnect.flags.training_plans") public final class PlannedExerciseBlock {
1387 public static final class PlannedExerciseBlock.Builder {
1388 ctor public PlannedExerciseBlock.Builder(int);
1389 …method @NonNull public android.health.connect.datatypes.PlannedExerciseBlock.Builder addStep(@NonN…
1390 method @NonNull public android.health.connect.datatypes.PlannedExerciseBlock build();
1391 … method @NonNull public android.health.connect.datatypes.PlannedExerciseBlock.Builder clearSteps();
1392 …method @NonNull public android.health.connect.datatypes.PlannedExerciseBlock.Builder setDescriptio…
1393 …method @NonNull public android.health.connect.datatypes.PlannedExerciseBlock.Builder setRepetition…
1394 …method @NonNull public android.health.connect.datatypes.PlannedExerciseBlock.Builder setSteps(@Non…
1398 …method @NonNull public java.util.List<android.health.connect.datatypes.PlannedExerciseBlock> getBl…
[all …]