Searched refs:toLocalDateTime (Results 1 – 12 of 12) sorted by relevance
153 LocalDateTime localTime = startTime.atOffset(mCurrentZone).toLocalDateTime(); in dataOriginFilter_invalidApp_noDataReturned()201 LocalDateTime localTime = startTime.atOffset(mCurrentZone).toLocalDateTime(); in dataOriginFilter_appNotInPriorityList_noDataReturned()246 LocalDateTime localTime = startTime.atOffset(mCurrentZone).toLocalDateTime(); in dataOriginFilter_noDataFromFilteredApps_noDataReturned()287 LocalDateTime localTime = startTime.atOffset(mCurrentZone).toLocalDateTime(); in timeRangeFilter_noDataWithinTimeInterval_noDataReturned()327 LocalDateTime startLocalTime = startTime.atOffset(dataZone).toLocalDateTime(); in timeRangeFilter_priorityType_outOfRangePriorityDataTrimmed()328 LocalDateTime endLocalTime = endTime.atOffset(dataZone).toLocalDateTime(); in timeRangeFilter_priorityType_outOfRangePriorityDataTrimmed()365 LocalDateTime startLocalTime = startTime.atOffset(dataZone).toLocalDateTime(); in timeRangeFilter_nonPriorityType_outOfRangeNonPriorityDataExcluded()366 LocalDateTime endLocalTime = endTime.atOffset(dataZone).toLocalDateTime(); in timeRangeFilter_nonPriorityType_outOfRangeNonPriorityDataExcluded()398 LocalDateTime endLocalTime = filterEndTime.atOffset(dataZone).toLocalDateTime(); in timeRangeFilter_openStartTime_aggregateDataFromEpoch()431 LocalDateTime startLocalTime = filterStartTime.atOffset(dataZone).toLocalDateTime(); in timeRangeFilter_openEndTime_aggregateDataUntilFuture()[all …]
213 LocalDateTime localTime = time.atOffset(dataZone).toLocalDateTime(); in groupByDurationWithLocalFilter_distanceTotal()254 LocalDateTime localTime = time.atOffset(dataZone).toLocalDateTime(); in groupByPeriod_weightAvg()353 LocalDateTime localTime = time.atOffset(UTC).toLocalDateTime(); in groupByPeriod_stepsCadenceMax()
52 fun Instant.toLocalDateTime(): LocalDateTime { in Instant() method53 return atZone(ZoneId.systemDefault()).toLocalDateTime() in Instant()
42 .toLocalDateTime() in currentLocalDateTime()
28 import com.android.healthconnect.controller.utils.toLocalDateTime197 assertThat(testInstant.toLocalDateTime()).isEqualTo(expectedLocalDateTime) in instantToLocalDateTime_returnsLocalizedDateTime()
58 return LocalDateTime.parse(text, FORMATTER).atOffset(ZoneOffset.UTC).toLocalDateTime(); in getUtcLocalDateTime()
41 Instant.ofEpochMilli(currentTimeMillis()).atZone(deviceZoneOffset()).toLocalDateTime() in currentTimeMillis()
59 import com.android.healthconnect.controller.utils.toLocalDateTime in <lambda>()98 val endTime = startTime.toLocalDateTime().plusHours(8).toInstant() in getSleepSessionRecord()
112 LocalDateTime currentTime = now.toLocalDateTime(); in onPropertiesChanged()
369 .toLocalDateTime() in tryRebootOrSchedule()
873 .toLocalDateTime()); in toDatetimeString()
735 LocalDateTime localStart = t0100.atZone(utcPlusOne).toLocalDateTime(); in testAggregation_stepsCountTotal_acrossDST_works()