Home
last modified time | relevance | path

Searched refs:blockBuilder (Results 1 – 2 of 2) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DPlannedExerciseSessionRecordTest.java119 PlannedExerciseBlock.Builder blockBuilder = new PlannedExerciseBlock.Builder(3); in insertRecord_startTimeInFuture_bypassesFutureTimeRestrictions() local
120 blockBuilder.setDescription("Some description"); in insertRecord_startTimeInFuture_bypassesFutureTimeRestrictions()
131 PlannedExerciseBlock.Builder blockBuilder = new PlannedExerciseBlock.Builder(3); in insertRecord_noBlocks() local
132 blockBuilder.setDescription("Some description"); in insertRecord_noBlocks()
143 PlannedExerciseBlock.Builder blockBuilder = new PlannedExerciseBlock.Builder(3); in insertRecord_singleBlock() local
144 blockBuilder.setDescription("Some description"); in insertRecord_singleBlock()
145 builder.addBlock(blockBuilder.build()); in insertRecord_singleBlock()
156 PlannedExerciseBlock.Builder blockBuilder = new PlannedExerciseBlock.Builder(3); in insertRecord_multipleBlocks() local
157 blockBuilder.setDescription("Some description"); in insertRecord_multipleBlocks()
158 builder.addBlock(blockBuilder.build()); in insertRecord_multipleBlocks()
[all …]
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DDataFactory.java282 var blockBuilder = new PlannedExerciseBlock.Builder(3).setDescription("Main set"); in plannedExerciseSession() local
283 blockBuilder.setSteps(List.of(stepBuilder.build())); in plannedExerciseSession()
284 sessionBuilder.setBlocks(List.of(blockBuilder.build())); in plannedExerciseSession()