Home
last modified time | relevance | path

Searched refs:atStartOfDay (Results 1 – 19 of 19) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/datenavigation/
DDateNavigationView.kt172 .atStartOfDay(timeSource.deviceZoneOffset()) in updateDisplayedDates()
186 .atStartOfDay(ZoneId.systemDefault()) in updateDisplayedDates()
200 .atStartOfDay(ZoneId.systemDefault()) in getDisplayedStartDate()
211 .atStartOfDay(ZoneId.systemDefault()) in getDisplayedStartDate()
222 .atStartOfDay(ZoneId.systemDefault()) in getDisplayedStartDate()
DDatePickerSpinnerAdapter.kt109 .atStartOfDay(timeSource.deviceZoneOffset()) in maybeReplaceWithTemporalDeixis()
114 .atStartOfDay(timeSource.deviceZoneOffset()) in maybeReplaceWithTemporalDeixis()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DTimeExtensions.kt74 fun Instant.atStartOfDay(): Instant { in atStartOfDay() method
75 return this.toLocalDate().atStartOfDay(ZoneId.systemDefault()).toInstant() in atStartOfDay()
85 return this.atStartOfDay(ZoneId.systemDefault()).toInstant() in toInstantAtStartOfDay()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/api/
DLoadEntriesHelper.kt153 .atStartOfDay(timeSource.deviceZoneOffset()) in <lambda>()
159 .atStartOfDay(timeSource.deviceZoneOffset()) in <lambda>()
213 .atStartOfDay(ZoneId.systemDefault()) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DLoadMenstruationDataUseCase.kt71 .atStartOfDay(ZoneId.systemDefault()) in <lambda>()
106 .atStartOfDay(ZoneId.systemDefault()) in <lambda>()
DDateNavigationView.kt151 val curDate = selectedDate.toLocalDate().atStartOfDay() in <lambda>()
154 curDate.isBefore(maxDate?.toLocalDate()?.atStartOfDay()) in <lambda>()
DLoadDataEntriesUseCase.kt66 .atStartOfDay(ZoneId.systemDefault()) in <lambda>()
DLoadDataAggregationsUseCase.kt180 .atStartOfDay(ZoneId.systemDefault()) in <lambda>()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/util/
DDateTimeUtilsTest.java40 FAKE_DATE.atStartOfDay().toInstant(ZoneOffset.UTC).toEpochMilli();
195 return when.atStartOfDay(ZoneId.systemDefault()).toInstant().toEpochMilli(); in generateDateTimeMillis()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/api/
DSleepSessionHelper.kt117 .atStartOfDay(ZoneId.systemDefault()) in <lambda>()
163 .atStartOfDay(ZoneId.systemDefault()) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utiltests/
DTimeExtensionsTest.kt18 import com.android.healthconnect.controller.utils.atStartOfDay
146 assertThat(testInstant.atStartOfDay()).isEqualTo(expectedInstant) in instantAtStartOfDay_returnsLocalizedStartOfDay()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/autodelete/
DAutoDeleteRange.kt65 .atStartOfDay(timeSource.deviceZoneOffset()) in autoDeleteRangeEnd()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/model/
DItemTest.java250 .atStartOfDay(ZoneId.systemDefault()).toInstant().toEpochMilli(); in testGetContentDescription()
284 .atStartOfDay(ZoneId.systemDefault()).toInstant().toEpochMilli(); in testGetDurationText()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchViewManagerTest.java415 final long startTime = LocalDate.now().minusDays(7).atStartOfDay(ZoneId.systemDefault()) in testBuildQueryArgs_hasWeekAgoTime()
421 final long endTime = LocalDate.now().minusDays(7).atStartOfDay(ZoneId.systemDefault()) in testBuildQueryArgs_hasWeekAgoTime()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DMigrationStateManagerTest.java876 .atStartOfDay() in testSwitchToSetupForUser_migrationHasTimedOutPrematurely()
897 .atStartOfDay() in testSwitchToSetupForUser_migrationHasTimedOutNotPrematurely()
911 .atStartOfDay() in testSwitchToSetupForUser_migrationHasTimedOutPrematurely_stateAlreadyReset()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/api/
DLoadEntriesHelperUseCaseTest.kt76 import com.android.healthconnect.controller.utils.atStartOfDay in <lambda>()
621 displayedStartTime = defaultStartTime.atStartOfDay(), in <lambda>()
627 loadEntriesHelper.getTimeFilter(defaultStartTime.atStartOfDay(), timePeriod, true) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/recentaccess/
DRecentAccessViewModel.kt198 .atStartOfDay(timeSource.deviceZoneOffset()) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/preference/
DAggregationDataCard.kt137 .atStartOfDay(timeSource.deviceZoneOffset()) in isLessThanOneYearAgo()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchChipViewManager.java65 LocalDate.now().minusDays(7).atStartOfDay(ZoneId.systemDefault())