Home
last modified time | relevance | path

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

12

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DMindfulnessSessionRecordTest.java79 ZoneOffset startZoneOffset = ZoneOffset.ofHours(2); in mindfulnessSessionRecordBuilder_allFieldsSet() local
103 .setStartZoneOffset(startZoneOffset) in mindfulnessSessionRecordBuilder_allFieldsSet()
111 assertThat(record.getStartZoneOffset()).isEqualTo(startZoneOffset); in mindfulnessSessionRecordBuilder_allFieldsSet()
176 ZoneOffset startZoneOffset = ZoneOffset.ofHours(2); in equals_hashCode_allFieldsEqual_recordsEqual() local
185 .setStartZoneOffset(startZoneOffset) in equals_hashCode_allFieldsEqual_recordsEqual()
194 .setStartZoneOffset(startZoneOffset) in equals_hashCode_allFieldsEqual_recordsEqual()
206 ZoneOffset startZoneOffset = ZoneOffset.ofHours(2); in equals_hashCode_metadataNotEqual_recordsNotEqual() local
216 .setStartZoneOffset(startZoneOffset) in equals_hashCode_metadataNotEqual_recordsNotEqual()
225 .setStartZoneOffset(startZoneOffset) in equals_hashCode_metadataNotEqual_recordsNotEqual()
238 ZoneOffset startZoneOffset = ZoneOffset.ofHours(2); in equals_hashCode_startTimeNotEqual_recordsNotEqual() local
[all …]
DTotalCaloriesBurnedRecordTest.java237 final ZoneOffset startZoneOffset = ZoneOffset.UTC; in testZoneOffsets() local
246 assertThat(builder.setStartZoneOffset(startZoneOffset).build().getStartZoneOffset()) in testZoneOffsets()
247 .isEqualTo(startZoneOffset); in testZoneOffsets()
DSleepSessionRecordTest.java207 final ZoneOffset startZoneOffset = ZoneOffset.UTC; in testZoneOffsets() local
215 assertThat(builder.setStartZoneOffset(startZoneOffset).build().getStartZoneOffset()) in testZoneOffsets()
216 .isEqualTo(startZoneOffset); in testZoneOffsets()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DWheelchairPushesRecord.java66 @NonNull ZoneOffset startZoneOffset, in WheelchairPushesRecord() argument
74 startZoneOffset, in WheelchairPushesRecord()
81 Objects.requireNonNull(startZoneOffset); in WheelchairPushesRecord()
152 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() argument
153 Objects.requireNonNull(startZoneOffset); in setStartZoneOffset()
155 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
DTotalCaloriesBurnedRecord.java65 @NonNull ZoneOffset startZoneOffset, in TotalCaloriesBurnedRecord() argument
73 startZoneOffset, in TotalCaloriesBurnedRecord()
80 Objects.requireNonNull(startZoneOffset); in TotalCaloriesBurnedRecord()
155 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() argument
156 Objects.requireNonNull(startZoneOffset); in setStartZoneOffset()
158 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
DMenstruationPeriodRecord.java41 @NonNull ZoneOffset startZoneOffset, in MenstruationPeriodRecord() argument
48 startZoneOffset, in MenstruationPeriodRecord()
101 @NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset()
102 Objects.requireNonNull(startZoneOffset); in setStartZoneOffset()
104 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
DStepsRecord.java69 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() argument
70 Objects.requireNonNull(startZoneOffset); in setStartZoneOffset()
72 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
148 @NonNull ZoneOffset startZoneOffset, in StepsRecord() argument
156 startZoneOffset, in StepsRecord()
DFloorsClimbedRecord.java60 @NonNull ZoneOffset startZoneOffset, in FloorsClimbedRecord() argument
68 startZoneOffset, in FloorsClimbedRecord()
143 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() argument
144 Objects.requireNonNull(startZoneOffset); in setStartZoneOffset()
146 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
DActiveCaloriesBurnedRecord.java70 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() argument
71 Objects.requireNonNull(startZoneOffset); in setStartZoneOffset()
73 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
159 @NonNull ZoneOffset startZoneOffset, in ActiveCaloriesBurnedRecord() argument
167 startZoneOffset, in ActiveCaloriesBurnedRecord()
DHydrationRecord.java59 @NonNull ZoneOffset startZoneOffset, in HydrationRecord() argument
67 startZoneOffset, in HydrationRecord()
145 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() argument
146 Objects.requireNonNull(startZoneOffset); in setStartZoneOffset()
148 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
DElevationGainedRecord.java68 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() argument
69 Objects.requireNonNull(startZoneOffset); in setStartZoneOffset()
71 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
157 @NonNull ZoneOffset startZoneOffset, in ElevationGainedRecord() argument
165 startZoneOffset, in ElevationGainedRecord()
DDistanceRecord.java76 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() argument
77 Objects.requireNonNull(startZoneOffset); in setStartZoneOffset()
79 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
163 @NonNull ZoneOffset startZoneOffset, in DistanceRecord() argument
171 startZoneOffset, in DistanceRecord()
DMindfulnessSessionRecord.java116 @NonNull ZoneOffset startZoneOffset, in MindfulnessSessionRecord() argument
126 startZoneOffset, in MindfulnessSessionRecord()
223 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() argument
224 Objects.requireNonNull(startZoneOffset); in setStartZoneOffset()
226 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
DIntervalRecord.java45 @NonNull ZoneOffset startZoneOffset, in IntervalRecord() argument
52 Objects.requireNonNull(startZoneOffset); in IntervalRecord()
70 mStartZoneOffset = startZoneOffset; in IntervalRecord()
DHeartRateRecord.java88 @NonNull ZoneOffset startZoneOffset, in HeartRateRecord() argument
96 startZoneOffset, in HeartRateRecord()
269 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() argument
270 Objects.requireNonNull(startZoneOffset); in setStartZoneOffset()
272 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
DStepsCadenceRecord.java85 @NonNull ZoneOffset startZoneOffset, in StepsCadenceRecord() argument
93 startZoneOffset, in StepsCadenceRecord()
227 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() argument
228 Objects.requireNonNull(startZoneOffset); in setStartZoneOffset()
229 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
DSpeedRecord.java86 @NonNull ZoneOffset startZoneOffset, in SpeedRecord() argument
94 startZoneOffset, in SpeedRecord()
230 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() argument
231 Objects.requireNonNull(startZoneOffset); in setStartZoneOffset()
232 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
DPowerRecord.java51 @NonNull ZoneOffset startZoneOffset, in PowerRecord() argument
59 startZoneOffset, in PowerRecord()
197 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() argument
198 Objects.requireNonNull(startZoneOffset); in setStartZoneOffset()
199 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
DCyclingPedalingCadenceRecord.java88 @NonNull ZoneOffset startZoneOffset, in CyclingPedalingCadenceRecord() argument
96 startZoneOffset, in CyclingPedalingCadenceRecord()
238 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() argument
239 Objects.requireNonNull(startZoneOffset); in setStartZoneOffset()
240 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
DSleepSessionRecord.java83 @NonNull ZoneOffset startZoneOffset, in SleepSessionRecord() argument
93 startZoneOffset, in SleepSessionRecord()
320 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() argument
321 Objects.requireNonNull(startZoneOffset); in setStartZoneOffset()
323 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
DSkinTemperatureRecord.java114 @NonNull ZoneOffset startZoneOffset, in SkinTemperatureRecord() argument
124 startZoneOffset, in SkinTemperatureRecord()
365 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() argument
366 requireNonNull(startZoneOffset); in setStartZoneOffset()
367 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
DExerciseSessionRecord.java89 @NonNull ZoneOffset startZoneOffset, in ExerciseSessionRecord() argument
104 startZoneOffset, in ExerciseSessionRecord()
265 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() argument
266 Objects.requireNonNull(startZoneOffset); in setStartZoneOffset()
268 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
DPlannedExerciseSessionRecord.java78 @NonNull ZoneOffset startZoneOffset, in PlannedExerciseSessionRecord() argument
91 startZoneOffset, in PlannedExerciseSessionRecord()
288 public Builder setStartZoneOffset(@NonNull ZoneOffset startZoneOffset) { in setStartZoneOffset() argument
289 Objects.requireNonNull(startZoneOffset); in setStartZoneOffset()
290 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DBundleHelper.java469 ZoneOffset startZoneOffset = ZoneOffset.ofTotalSeconds(bundle.getInt(START_ZONE_OFFSET)); in toRecord() local
475 return createBasalMetabolicRateRecord(metadata, startTime, startZoneOffset, values); in toRecord()
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()
508 Metadata metadata, Instant time, ZoneOffset startZoneOffset, Bundle values) { in createBasalMetabolicRateRecord() argument
512 .setZoneOffset(startZoneOffset) in createBasalMetabolicRateRecord()
[all …]
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DIntervalRecordInternal.java92 public IntervalRecordInternal<T> setStartZoneOffset(int startZoneOffset) { in setStartZoneOffset() argument
93 mStartZoneOffset = startZoneOffset; in setStartZoneOffset()

12