Home
last modified time | relevance | path

Searched refs:setEndZoneOffset (Results 1 – 25 of 73) sorted by relevance

123

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DMindfulnessSessionRecordTest.java104 .setEndZoneOffset(endZoneOffset) in mindfulnessSessionRecordBuilder_allFieldsSet()
164 .setEndZoneOffset(ZoneOffset.ofHours(5)); in mindfulnessSessionRecordBuilder_clearZoneOffsets()
186 .setEndZoneOffset(endZoneOffset) in equals_hashCode_allFieldsEqual_recordsEqual()
195 .setEndZoneOffset(endZoneOffset) in equals_hashCode_allFieldsEqual_recordsEqual()
217 .setEndZoneOffset(endZoneOffset) in equals_hashCode_metadataNotEqual_recordsNotEqual()
226 .setEndZoneOffset(endZoneOffset) in equals_hashCode_metadataNotEqual_recordsNotEqual()
248 .setEndZoneOffset(endZoneOffset) in equals_hashCode_startTimeNotEqual_recordsNotEqual()
257 .setEndZoneOffset(endZoneOffset) in equals_hashCode_startTimeNotEqual_recordsNotEqual()
279 .setEndZoneOffset(endZoneOffset) in equals_hashCode_endTimeNotEqual_recordsNotEqual()
288 .setEndZoneOffset(endZoneOffset) in equals_hashCode_endTimeNotEqual_recordsNotEqual()
[all …]
DMenstruationPeriodRecordTest.java328 .setEndZoneOffset(ZoneOffset.MAX) in testZoneOffsets()
333 assertThat(builder.setEndZoneOffset(endZoneOffset).build().getEndZoneOffset()) in testZoneOffsets()
364 .setEndZoneOffset(ZoneOffset.MAX) in testMenstruationPeriod_buildSessionWithAllFields_buildCorrectObject()
582 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getMenstruationPeriodRecord_update()
611 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteMenstruationPeriodRecord()
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DTestUtils.java83 .setEndZoneOffset(1) in buildExerciseSessionInternal()
104 .setEndZoneOffset(1) in buildPlannedExerciseSessionInternal()
144 .setEndZoneOffset(1) in buildSleepSessionInternal()
DMindfulSessionRecordInternalTest.java61 .setEndZoneOffset(3 * 3600) in toExternalRecord_allFieldsSet()
144 .setEndZoneOffset(3 * 3600) in writeToParcel_populateUsing_allFieldsSet()
256 .setEndZoneOffset(ZoneOffset.ofHours(3)) in mindfulnessSessionRecord_toInternalRecord_allFieldsSet()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DMenstruationPeriodRecord.java117 public MenstruationPeriodRecord.Builder setEndZoneOffset( in setEndZoneOffset() method in MenstruationPeriodRecord.Builder
169 recordInternal.setEndZoneOffset(getEndZoneOffset().getTotalSeconds()); in toRecordInternal()
DStepsRecord.java78 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() method in StepsRecord.Builder
216 recordInternal.setEndZoneOffset(getEndZoneOffset().getTotalSeconds()); in toRecordInternal()
DFloorsClimbedRecord.java152 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() method in FloorsClimbedRecord.Builder
224 recordInternal.setEndZoneOffset(getEndZoneOffset().getTotalSeconds()); in toRecordInternal()
DActiveCaloriesBurnedRecord.java79 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() method in ActiveCaloriesBurnedRecord.Builder
229 recordInternal.setEndZoneOffset(getEndZoneOffset().getTotalSeconds()); in toRecordInternal()
DHydrationRecord.java154 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() method in HydrationRecord.Builder
226 recordInternal.setEndZoneOffset(getEndZoneOffset().getTotalSeconds()); in toRecordInternal()
DWheelchairPushesRecord.java161 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() method in WheelchairPushesRecord.Builder
233 recordInternal.setEndZoneOffset(getEndZoneOffset().getTotalSeconds()); in toRecordInternal()
DElevationGainedRecord.java77 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() method in ElevationGainedRecord.Builder
228 recordInternal.setEndZoneOffset(getEndZoneOffset().getTotalSeconds()); in toRecordInternal()
DDistanceRecord.java85 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() method in DistanceRecord.Builder
234 recordInternal.setEndZoneOffset(getEndZoneOffset().getTotalSeconds()); in toRecordInternal()
DTotalCaloriesBurnedRecord.java164 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() method in TotalCaloriesBurnedRecord.Builder
236 recordInternal.setEndZoneOffset(getEndZoneOffset().getTotalSeconds()); in toRecordInternal()
DMindfulnessSessionRecord.java232 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() method in MindfulnessSessionRecord.Builder
327 recordInternal.setEndZoneOffset(getEndZoneOffset().getTotalSeconds()); in toRecordInternal()
DHeartRateRecord.java281 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() method in HeartRateRecord.Builder
362 recordInternal.setEndZoneOffset(getEndZoneOffset().getTotalSeconds()); in toRecordInternal()
DStepsCadenceRecord.java235 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() method in StepsCadenceRecord.Builder
344 recordInternal.setEndZoneOffset(getEndZoneOffset().getTotalSeconds()); in toRecordInternal()
DSpeedRecord.java238 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() method in SpeedRecord.Builder
349 recordInternal.setEndZoneOffset(getEndZoneOffset().getTotalSeconds()); in toRecordInternal()
DPowerRecord.java205 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() method in PowerRecord.Builder
343 recordInternal.setEndZoneOffset(getEndZoneOffset().getTotalSeconds()); in toRecordInternal()
DCyclingPedalingCadenceRecord.java246 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() method in CyclingPedalingCadenceRecord.Builder
359 recordInternal.setEndZoneOffset(getEndZoneOffset().getTotalSeconds()); in toRecordInternal()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DDataFactory.java241 .setEndZoneOffset(ZoneOffset.MAX) in buildExerciseSession()
276 sessionBuilder.setEndZoneOffset(ZoneOffset.UTC); in plannedExerciseSession()
491 .setEndZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(NOW)) in getUpdatedStepsRecord()
576 builder.setEndZoneOffset(endZoneOffset); in getDistanceRecord()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DMenstruationPeriodRecordInternal.java37 .setEndZoneOffset(getEndZoneOffset()) in toExternalRecord()
DWheelchairPushesRecordInternal.java50 .setEndZoneOffset(getEndZoneOffset()) in toExternalRecord()
DFloorsClimbedRecordInternal.java49 .setEndZoneOffset(getEndZoneOffset()) in toExternalRecord()
DStepsRecordInternal.java50 .setEndZoneOffset(getEndZoneOffset()) in toExternalRecord()
DElevationGainedRecordInternal.java54 .setEndZoneOffset(getEndZoneOffset()) in toExternalRecord()

123