Home
last modified time | relevance | path

Searched refs:getBlocks (Results 1 – 4 of 4) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DPlannedExerciseSessionRecord.java157 public List<PlannedExerciseBlock> getBlocks() { in getBlocks() method in PlannedExerciseSessionRecord
173 && Objects.equals(this.getBlocks(), that.getBlocks()); in equals()
185 this.getBlocks()); in hashCode()
460 getBlocks().stream().map(it -> it.toInternalObject()).collect(Collectors.toList())); in toRecordInternal()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DPlannedExerciseSessionRecordTest.java1128 assertThat(builtRecord.getBlocks()).isEqualTo(List.of(baseExerciseBlock().build())); in builtRecord_fieldsMatchValuesSpecifiedViaBuilder()
1214 record.getBlocks().stream().forEach(block -> builder.addBlock(block)); in plannedExerciseSessionRecordToBuilder()
1307 assertThat(builder.build().getBlocks()).hasSize(1); in builder_clearBlocks()
1311 assertThat(builder.build().getBlocks()).isEmpty(); in builder_clearBlocks()
1433 .that(actual.getBlocks().size()) in assertRecordsEqual()
1434 .isEqualTo(expected.getBlocks().size()); in assertRecordsEqual()
1435 for (int i = 0; i < actual.getBlocks().size(); i++) { in assertRecordsEqual()
1436 PlannedExerciseBlock firstBlock = actual.getBlocks().get(i); in assertRecordsEqual()
1437 PlannedExerciseBlock secondBlock = expected.getBlocks().get(i); in assertRecordsEqual()
DExerciseCompletionGoalTest.java325 restored.getBlocks().get(0).getSteps().get(0).getCompletionGoal(); in distanceWithVariableRestGoal_insertionAndRead()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1398 … @NonNull public java.util.List<android.health.connect.datatypes.PlannedExerciseBlock> getBlocks();