Searched refs:intervalRecord (Results 1 – 3 of 3) sorted by relevance
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | IntervalRecordHelper.java | 174 @NonNull ContentValues contentValues, @NonNull T intervalRecord) { in populateContentValues() argument 175 contentValues.put(START_TIME_COLUMN_NAME, intervalRecord.getStartTimeInMillis()); in populateContentValues() 177 START_ZONE_OFFSET_COLUMN_NAME, intervalRecord.getStartZoneOffsetInSeconds()); in populateContentValues() 178 contentValues.put(END_TIME_COLUMN_NAME, intervalRecord.getEndTimeInMillis()); in populateContentValues() 179 contentValues.put(END_ZONE_OFFSET_COLUMN_NAME, intervalRecord.getEndZoneOffsetInSeconds()); in populateContentValues() 185 Instant.ofEpochMilli(intervalRecord.getStartTimeInMillis()), in populateContentValues() 187 intervalRecord.getStartZoneOffsetInSeconds())))); in populateContentValues() 189 populateSpecificContentValues(contentValues, intervalRecord); in populateContentValues()
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | ToStringUtils.java | 53 } else if (record instanceof IntervalRecord intervalRecord) { in recordToString() 55 result, baseIndentation + 4, "startTime", intervalRecord.getStartTime()); in recordToString() 56 addLinesForTime(result, baseIndentation + 4, "endTime", intervalRecord.getEndTime()); in recordToString() 61 intervalRecord.getStartZoneOffset()); in recordToString() 66 intervalRecord.getEndZoneOffset()); in recordToString()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/ |
D | BundleHelper.java | 406 if (record instanceof IntervalRecord intervalRecord) { in fromRecord() 407 bundle.putLong(START_TIME_MILLIS, intervalRecord.getStartTime().toEpochMilli()); in fromRecord() 408 bundle.putLong(END_TIME_MILLIS, intervalRecord.getEndTime().toEpochMilli()); in fromRecord() 409 bundle.putInt(START_ZONE_OFFSET, intervalRecord.getStartZoneOffset().getTotalSeconds()); in fromRecord() 410 bundle.putInt(END_ZONE_OFFSET, intervalRecord.getEndZoneOffset().getTotalSeconds()); in fromRecord()
|