Home
last modified time | relevance | path

Searched refs:setBlocks (Results 1 – 6 of 6) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DPlannedExerciseSessionRecordTest.java270 builder.setBlocks(Collections.singletonList(blockBuilder.build())); in updateTrainingPlan()
1075 assertThat(builder.setBlocks(blocksX).build()) in hashCodeAndEquals_sensitiveToAllFields()
1076 .isNotEqualTo(builder.setBlocks(blocksY).build()); in hashCodeAndEquals_sensitiveToAllFields()
1077 assertThat(builder.setBlocks(blocksX).build().hashCode()) in hashCodeAndEquals_sensitiveToAllFields()
1078 .isNotEqualTo(builder.setBlocks(blocksY).build().hashCode()); in hashCodeAndEquals_sensitiveToAllFields()
1079 assertThat(builder.setBlocks(blocksX).build()) in hashCodeAndEquals_sensitiveToAllFields()
1080 .isEqualTo(builder.setBlocks(blocksX).build()); in hashCodeAndEquals_sensitiveToAllFields()
1081 assertThat(builder.setBlocks(blocksX).build().hashCode()) in hashCodeAndEquals_sensitiveToAllFields()
1082 .isEqualTo(builder.setBlocks(blocksX).build().hashCode()); in hashCodeAndEquals_sensitiveToAllFields()
1118 builder.setBlocks(List.of(baseExerciseBlock().build())); in builtRecord_fieldsMatchValuesSpecifiedViaBuilder()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DPlannedExerciseSessionRecord.java356 public Builder setBlocks(@NonNull List<PlannedExerciseBlock> blocks) { in setBlocks() method in PlannedExerciseSessionRecord.Builder
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/
DTestConstants.kt199 .setBlocks(exerciseBlocks) in getPlannedExerciseSessionRecord()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DDataFactory.java284 sessionBuilder.setBlocks(List.of(blockBuilder.build())); in plannedExerciseSession()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DInsertOrUpdateRecords.kt603 setBlocks( in createRecordObjectHelper()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt1416 …c android.health.connect.datatypes.PlannedExerciseSessionRecord.Builder setBlocks(@NonNull java.ut…