Searched refs:maxDate (Results 1 – 6 of 6) sorted by relevance
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utiltests/ |
D | DatePickerFactoryTest.kt | 48 val maxDate = NOW.plus(ofDays(10)) in create_respectSelectedDate() constant 50 val dialog = DatePickerFactory.create(requireContext(), selectedDate, maxDate) in create_respectSelectedDate() 64 val maxDate = NOW.plus(ofDays(10)) in create_respectMaxDate() constant 66 val dialog = DatePickerFactory.create(requireContext(), selectedDate, maxDate) in create_respectMaxDate() 68 assertThat(dialog.datePicker.maxDate).isEqualTo(maxDate.toEpochMilli()) in create_respectMaxDate()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/ |
D | DatePickerFactory.kt | 24 fun create(context: Context, selectedDate: Instant, maxDate: Instant?): DatePickerDialog { in create() 27 if (maxDate != null) { in create() 28 datePicker.maxDate = maxDate.toEpochMilli() in create()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/ |
D | DateNavigationView.kt | 61 private var maxDate: Instant? = timeSource.currentTimeMillis().toInstant() in <lambda>() variable 90 maxDate = instant in <lambda>() 120 val datePickerDialog = DatePickerFactory.create(context, selectedDate, maxDate) in <lambda>() 121 setMaxDate(datePickerDialog.datePicker.maxDate.toInstant()) in <lambda>() 153 if (maxDate != null) { in <lambda>() 154 curDate.isBefore(maxDate?.toLocalDate()?.atStartOfDay()) in <lambda>()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/ |
D | DatePreferenceControllerTest.java | 141 long maxDate = dialog.getDatePicker().getMaxDate(); in testBuildDatePicker() local 142 calendar.setTimeInMillis(maxDate); in testBuildDatePicker()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/di/ |
D | FakeComponents.kt | 202 fun setDatePair(minDate: Instant, maxDate: Instant) { in setDatePair() 203 datePair = Pair(minDate, maxDate) in setDatePair()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/ |
D | SleepSessionHelperTest.kt | 379 val maxDate = Instant.parse("2023-02-14T00:00:00.00Z") in clusterSessions_atLeastOneSessionStartsYesterdayAndEndsToday_withSessionUnknownEnd_returnsForcedMax() constant 402 .isEqualTo(Pair(SLEEP_SESSION_5_START_DATE, maxDate)) in clusterSessions_atLeastOneSessionStartsYesterdayAndEndsToday_withSessionUnknownEnd_returnsForcedMax()
|