Home
last modified time | relevance | path

Searched refs:endZoneOffset (Results 1 – 25 of 43) sorted by relevance

12

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DMindfulnessSessionRecordTest.java80 ZoneOffset endZoneOffset = ZoneOffset.ofHours(-3); in mindfulnessSessionRecordBuilder_allFieldsSet() local
104 .setEndZoneOffset(endZoneOffset) in mindfulnessSessionRecordBuilder_allFieldsSet()
112 assertThat(record.getEndZoneOffset()).isEqualTo(endZoneOffset); in mindfulnessSessionRecordBuilder_allFieldsSet()
177 ZoneOffset endZoneOffset = ZoneOffset.ofHours(-3); in equals_hashCode_allFieldsEqual_recordsEqual() local
186 .setEndZoneOffset(endZoneOffset) in equals_hashCode_allFieldsEqual_recordsEqual()
195 .setEndZoneOffset(endZoneOffset) in equals_hashCode_allFieldsEqual_recordsEqual()
207 ZoneOffset endZoneOffset = ZoneOffset.ofHours(-3); in equals_hashCode_metadataNotEqual_recordsNotEqual() local
217 .setEndZoneOffset(endZoneOffset) in equals_hashCode_metadataNotEqual_recordsNotEqual()
226 .setEndZoneOffset(endZoneOffset) in equals_hashCode_metadataNotEqual_recordsNotEqual()
239 ZoneOffset endZoneOffset = ZoneOffset.ofHours(-3); in equals_hashCode_startTimeNotEqual_recordsNotEqual() local
[all …]
DTotalCaloriesBurnedRecordTest.java238 final ZoneOffset endZoneOffset = ZoneOffset.MAX; in testZoneOffsets() local
248 assertThat(builder.setEndZoneOffset(endZoneOffset).build().getEndZoneOffset()) in testZoneOffsets()
249 .isEqualTo(endZoneOffset); in testZoneOffsets()
DSleepSessionRecordTest.java208 final ZoneOffset endZoneOffset = ZoneOffset.MAX; in testZoneOffsets() local
217 assertThat(builder.setEndZoneOffset(endZoneOffset).build().getEndZoneOffset()) in testZoneOffsets()
218 .isEqualTo(endZoneOffset); in testZoneOffsets()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DWheelchairPushesRecord.java68 @NonNull ZoneOffset endZoneOffset, in WheelchairPushesRecord() argument
76 endZoneOffset, in WheelchairPushesRecord()
83 Objects.requireNonNull(endZoneOffset); in WheelchairPushesRecord()
161 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() argument
162 Objects.requireNonNull(endZoneOffset); in setEndZoneOffset()
164 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
DTotalCaloriesBurnedRecord.java67 @NonNull ZoneOffset endZoneOffset, in TotalCaloriesBurnedRecord() argument
75 endZoneOffset, in TotalCaloriesBurnedRecord()
82 Objects.requireNonNull(endZoneOffset); in TotalCaloriesBurnedRecord()
164 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() argument
165 Objects.requireNonNull(endZoneOffset); in setEndZoneOffset()
167 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
DMenstruationPeriodRecord.java43 @NonNull ZoneOffset endZoneOffset, in MenstruationPeriodRecord() argument
50 endZoneOffset, in MenstruationPeriodRecord()
118 @NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset()
119 Objects.requireNonNull(endZoneOffset); in setEndZoneOffset()
121 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
DStepsRecord.java78 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() argument
79 Objects.requireNonNull(endZoneOffset); in setEndZoneOffset()
81 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
150 @NonNull ZoneOffset endZoneOffset, in StepsRecord() argument
158 endZoneOffset, in StepsRecord()
DFloorsClimbedRecord.java62 @NonNull ZoneOffset endZoneOffset, in FloorsClimbedRecord() argument
70 endZoneOffset, in FloorsClimbedRecord()
152 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() argument
153 Objects.requireNonNull(endZoneOffset); in setEndZoneOffset()
155 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
DActiveCaloriesBurnedRecord.java79 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() argument
80 Objects.requireNonNull(endZoneOffset); in setEndZoneOffset()
82 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
161 @NonNull ZoneOffset endZoneOffset, in ActiveCaloriesBurnedRecord() argument
169 endZoneOffset, in ActiveCaloriesBurnedRecord()
DHydrationRecord.java61 @NonNull ZoneOffset endZoneOffset, in HydrationRecord() argument
69 endZoneOffset, in HydrationRecord()
154 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() argument
155 Objects.requireNonNull(endZoneOffset); in setEndZoneOffset()
157 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
DElevationGainedRecord.java77 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() argument
78 Objects.requireNonNull(endZoneOffset); in setEndZoneOffset()
80 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
159 @NonNull ZoneOffset endZoneOffset, in ElevationGainedRecord() argument
167 endZoneOffset, in ElevationGainedRecord()
DDistanceRecord.java85 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() argument
86 Objects.requireNonNull(endZoneOffset); in setEndZoneOffset()
88 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
165 @NonNull ZoneOffset endZoneOffset, in DistanceRecord() argument
173 endZoneOffset, in DistanceRecord()
DMindfulnessSessionRecord.java118 @NonNull ZoneOffset endZoneOffset, in MindfulnessSessionRecord() argument
128 endZoneOffset, in MindfulnessSessionRecord()
232 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() argument
233 Objects.requireNonNull(endZoneOffset); in setEndZoneOffset()
234 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
DIntervalRecord.java47 @NonNull ZoneOffset endZoneOffset, in IntervalRecord() argument
54 Objects.requireNonNull(endZoneOffset); in IntervalRecord()
72 mEndZoneOffset = endZoneOffset; in IntervalRecord()
DHeartRateRecord.java90 @NonNull ZoneOffset endZoneOffset, in HeartRateRecord() argument
98 endZoneOffset, in HeartRateRecord()
281 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() argument
282 Objects.requireNonNull(endZoneOffset); in setEndZoneOffset()
284 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
DStepsCadenceRecord.java87 @NonNull ZoneOffset endZoneOffset, in StepsCadenceRecord() argument
95 endZoneOffset, in StepsCadenceRecord()
235 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() argument
236 Objects.requireNonNull(endZoneOffset); in setEndZoneOffset()
237 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
DSpeedRecord.java88 @NonNull ZoneOffset endZoneOffset, in SpeedRecord() argument
96 endZoneOffset, in SpeedRecord()
238 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() argument
239 Objects.requireNonNull(endZoneOffset); in setEndZoneOffset()
240 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
DPowerRecord.java53 @NonNull ZoneOffset endZoneOffset, in PowerRecord() argument
61 endZoneOffset, in PowerRecord()
205 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() argument
206 Objects.requireNonNull(endZoneOffset); in setEndZoneOffset()
207 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
DCyclingPedalingCadenceRecord.java90 @NonNull ZoneOffset endZoneOffset, in CyclingPedalingCadenceRecord() argument
98 endZoneOffset, in CyclingPedalingCadenceRecord()
246 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() argument
247 Objects.requireNonNull(endZoneOffset); in setEndZoneOffset()
248 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
DSleepSessionRecord.java85 @NonNull ZoneOffset endZoneOffset, in SleepSessionRecord() argument
95 endZoneOffset, in SleepSessionRecord()
329 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() argument
330 Objects.requireNonNull(endZoneOffset); in setEndZoneOffset()
331 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
DSkinTemperatureRecord.java116 @NonNull ZoneOffset endZoneOffset, in SkinTemperatureRecord() argument
126 endZoneOffset, in SkinTemperatureRecord()
373 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() argument
374 requireNonNull(endZoneOffset); in setEndZoneOffset()
375 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
DExerciseSessionRecord.java91 @NonNull ZoneOffset endZoneOffset, in ExerciseSessionRecord() argument
106 endZoneOffset, in ExerciseSessionRecord()
274 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() argument
275 Objects.requireNonNull(endZoneOffset); in setEndZoneOffset()
277 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
DPlannedExerciseSessionRecord.java80 @NonNull ZoneOffset endZoneOffset, in PlannedExerciseSessionRecord() argument
93 endZoneOffset, in PlannedExerciseSessionRecord()
296 public Builder setEndZoneOffset(@NonNull ZoneOffset endZoneOffset) { in setEndZoneOffset() argument
297 Objects.requireNonNull(endZoneOffset); in setEndZoneOffset()
298 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DBundleHelper.java470 ZoneOffset endZoneOffset = ZoneOffset.ofTotalSeconds(bundle.getInt(END_ZONE_OFFSET)); in toRecord() local
478 metadata, startTime, endTime, startZoneOffset, endZoneOffset, values); in toRecord()
481 metadata, startTime, endTime, startZoneOffset, endZoneOffset, values); in toRecord()
484 metadata, startTime, endTime, startZoneOffset, endZoneOffset, values); in toRecord()
487 metadata, startTime, endTime, startZoneOffset, endZoneOffset, values); in toRecord()
490 metadata, startTime, endTime, startZoneOffset, endZoneOffset, values); in toRecord()
493 metadata, startTime, endTime, startZoneOffset, endZoneOffset, values); in toRecord()
621 ZoneOffset endZoneOffset, in createExerciseSessionRecord() argument
726 record.setEndZoneOffset(endZoneOffset); in createExerciseSessionRecord()
786 ZoneOffset endZoneOffset, in createHeartRateRecord() argument
[all …]
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DIntervalRecordInternal.java112 public IntervalRecordInternal<T> setEndZoneOffset(int endZoneOffset) { in setEndZoneOffset() argument
113 mEndZoneOffset = endZoneOffset; in setEndZoneOffset()

12