Home
last modified time | relevance | path

Searched refs:currentLocalDateTime (Results 1 – 10 of 10) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DTimeSource.kt28 fun currentLocalDateTime(): LocalDateTime method
DSystemTimeSource.kt39 override fun currentLocalDateTime(): LocalDateTime { in currentLocalDateTime() method
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/autodelete/
DAutoDeleteRange.kt57 val localDateTimeNow: LocalDateTime = timeSource.currentLocalDateTime() in autoDeleteRangeEnd()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/
DTestTimeSource.kt40 override fun currentLocalDateTime(): LocalDateTime = in currentTimeMillis() method
DTestConstants.kt384 val instantToday: Instant = timeSource.currentLocalDateTime().toInstant() in getMixedRecordsAcrossTwoDays()
385 val instantYesterday: Instant = timeSource.currentLocalDateTime().minusDays(1).toInstant() in getMixedRecordsAcrossTwoDays()
394 val instantTwoDaysAgo: Instant = timeSource.currentLocalDateTime().minusDays(2).toInstant() in getMixedRecordsAcrossThreeDays()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/
DLoadLastDateWithPriorityDataUseCaseTest.kt117 queryDate = timeSource.currentLocalDateTime().toLocalDate().minusMonths(1), in <lambda>()
130 val queryDate = timeSource.currentLocalDateTime().toLocalDate().minusMonths(1) in <lambda>()
179 queryDate = timeSource.currentLocalDateTime().toLocalDate().minusMonths(1), in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/api/
DLoadLastDateWithPriorityDataUseCase.kt105 val today = timeSource.currentLocalDateTime().toLocalDate() in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/recentaccess/
DRecentAccessViewModel.kt196 .currentLocalDateTime() in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/preference/
DAggregationDataCard.kt134 .currentLocalDateTime() in isLessThanOneYearAgo()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/api/
DLoadEntriesHelperUseCaseTest.kt412 .formatLongDate(timeSource.currentLocalDateTime().minusDays(2).toInstant())) in <lambda>()