Home
last modified time | relevance | path

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

123

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DMindfulnessSessionRecordTest.java103 .setStartZoneOffset(startZoneOffset) in mindfulnessSessionRecordBuilder_allFieldsSet()
163 .setStartZoneOffset(ZoneOffset.ofHours(-4)) in mindfulnessSessionRecordBuilder_clearZoneOffsets()
185 .setStartZoneOffset(startZoneOffset) in equals_hashCode_allFieldsEqual_recordsEqual()
194 .setStartZoneOffset(startZoneOffset) in equals_hashCode_allFieldsEqual_recordsEqual()
216 .setStartZoneOffset(startZoneOffset) in equals_hashCode_metadataNotEqual_recordsNotEqual()
225 .setStartZoneOffset(startZoneOffset) in equals_hashCode_metadataNotEqual_recordsNotEqual()
247 .setStartZoneOffset(startZoneOffset) in equals_hashCode_startTimeNotEqual_recordsNotEqual()
256 .setStartZoneOffset(startZoneOffset) in equals_hashCode_startTimeNotEqual_recordsNotEqual()
278 .setStartZoneOffset(startZoneOffset) in equals_hashCode_endTimeNotEqual_recordsNotEqual()
287 .setStartZoneOffset(startZoneOffset) in equals_hashCode_endTimeNotEqual_recordsNotEqual()
[all …]
DMenstruationPeriodRecordTest.java329 .setStartZoneOffset(ZoneOffset.MIN); in testZoneOffsets()
331 assertThat(builder.setStartZoneOffset(startZoneOffset).build().getStartZoneOffset()) in testZoneOffsets()
365 .setStartZoneOffset(ZoneOffset.MIN) in testMenstruationPeriod_buildSessionWithAllFields_buildCorrectObject()
581 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getMenstruationPeriodRecord_update()
610 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(Instant.now())) in getCompleteMenstruationPeriodRecord()
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DTestUtils.java84 .setStartZoneOffset(1) in buildExerciseSessionInternal()
103 .setStartZoneOffset(1) in buildPlannedExerciseSessionInternal()
145 .setStartZoneOffset(1) in buildSleepSessionInternal()
DMindfulSessionRecordInternalTest.java60 .setStartZoneOffset(-2 * 3600) in toExternalRecord_allFieldsSet()
143 .setStartZoneOffset(-2 * 3600) in writeToParcel_populateUsing_allFieldsSet()
255 .setStartZoneOffset(ZoneOffset.ofHours(-2)) in mindfulnessSessionRecord_toInternalRecord_allFieldsSet()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DMenstruationPeriodRecord.java100 public MenstruationPeriodRecord.Builder setStartZoneOffset( in setStartZoneOffset() method in MenstruationPeriodRecord.Builder
168 recordInternal.setStartZoneOffset(getStartZoneOffset().getTotalSeconds()); in toRecordInternal()
DStepsRecord.java69 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() method in StepsRecord.Builder
215 recordInternal.setStartZoneOffset(getStartZoneOffset().getTotalSeconds()); in toRecordInternal()
DFloorsClimbedRecord.java143 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() method in FloorsClimbedRecord.Builder
223 recordInternal.setStartZoneOffset(getStartZoneOffset().getTotalSeconds()); in toRecordInternal()
DActiveCaloriesBurnedRecord.java70 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() method in ActiveCaloriesBurnedRecord.Builder
228 recordInternal.setStartZoneOffset(getStartZoneOffset().getTotalSeconds()); in toRecordInternal()
DHydrationRecord.java145 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() method in HydrationRecord.Builder
225 recordInternal.setStartZoneOffset(getStartZoneOffset().getTotalSeconds()); in toRecordInternal()
DWheelchairPushesRecord.java152 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() method in WheelchairPushesRecord.Builder
232 recordInternal.setStartZoneOffset(getStartZoneOffset().getTotalSeconds()); in toRecordInternal()
DElevationGainedRecord.java68 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() method in ElevationGainedRecord.Builder
227 recordInternal.setStartZoneOffset(getStartZoneOffset().getTotalSeconds()); in toRecordInternal()
DDistanceRecord.java76 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() method in DistanceRecord.Builder
233 recordInternal.setStartZoneOffset(getStartZoneOffset().getTotalSeconds()); in toRecordInternal()
DTotalCaloriesBurnedRecord.java155 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() method in TotalCaloriesBurnedRecord.Builder
235 recordInternal.setStartZoneOffset(getStartZoneOffset().getTotalSeconds()); in toRecordInternal()
DMindfulnessSessionRecord.java223 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() method in MindfulnessSessionRecord.Builder
326 recordInternal.setStartZoneOffset(getStartZoneOffset().getTotalSeconds()); in toRecordInternal()
DHeartRateRecord.java269 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() method in HeartRateRecord.Builder
361 recordInternal.setStartZoneOffset(getStartZoneOffset().getTotalSeconds()); in toRecordInternal()
DStepsCadenceRecord.java227 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() method in StepsCadenceRecord.Builder
343 recordInternal.setStartZoneOffset(getStartZoneOffset().getTotalSeconds()); in toRecordInternal()
DSpeedRecord.java230 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() method in SpeedRecord.Builder
348 recordInternal.setStartZoneOffset(getStartZoneOffset().getTotalSeconds()); in toRecordInternal()
DPowerRecord.java197 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() method in PowerRecord.Builder
342 recordInternal.setStartZoneOffset(getStartZoneOffset().getTotalSeconds()); in toRecordInternal()
DCyclingPedalingCadenceRecord.java238 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() method in CyclingPedalingCadenceRecord.Builder
358 recordInternal.setStartZoneOffset(getStartZoneOffset().getTotalSeconds()); in toRecordInternal()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DDataFactory.java242 .setStartZoneOffset(ZoneOffset.MIN) in buildExerciseSession()
275 sessionBuilder.setStartZoneOffset(ZoneOffset.UTC); in plannedExerciseSession()
490 .setStartZoneOffset(ZoneOffset.systemDefault().getRules().getOffset(NOW)) in getUpdatedStepsRecord()
573 builder.setStartZoneOffset(startZoneOffset); in getDistanceRecord()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DMenstruationPeriodRecordInternal.java36 .setStartZoneOffset(getStartZoneOffset()) in toExternalRecord()
DWheelchairPushesRecordInternal.java49 .setStartZoneOffset(getStartZoneOffset()) in toExternalRecord()
DFloorsClimbedRecordInternal.java48 .setStartZoneOffset(getStartZoneOffset()) in toExternalRecord()
DStepsRecordInternal.java49 .setStartZoneOffset(getStartZoneOffset()) in toExternalRecord()
DElevationGainedRecordInternal.java53 .setStartZoneOffset(getStartZoneOffset()) in toExternalRecord()

123