Home
last modified time | relevance | path

Searched refs:chosenRange (Results 1 – 7 of 7) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/
DDeletionParametersTest.kt26 chosenRange = ChosenRange.DELETE_RANGE_LAST_24_HOURS, in deletionToParcel()
36 assertTrue(deletionParameters.chosenRange == outValue?.chosenRange) in deletionToParcel()
49 chosenRange = ChosenRange.DELETE_RANGE_LAST_30_DAYS, in deletionTypeHealthPermissionTypeData_toParcel()
62 assertTrue(deletionParameters.chosenRange == outValue?.chosenRange) in deletionTypeHealthPermissionTypeData_toParcel()
82 chosenRange = ChosenRange.DELETE_RANGE_LAST_30_DAYS, in deletionTypeCategoryData_toParcel()
95 assertTrue(deletionParameters.chosenRange == outValue?.chosenRange) in deletionTypeCategoryData_toParcel()
111 chosenRange = ChosenRange.DELETE_RANGE_LAST_24_HOURS, in getPermissionTypeLabel_permissionTypeFromApp_correctPermissionLabelReturned()
146 chosenRange = ChosenRange.DELETE_RANGE_LAST_24_HOURS, in getStartTimeInstant_24HoursRangeSelected_correctStartTimeReturned()
158 chosenRange = ChosenRange.DELETE_RANGE_LAST_7_DAYS, in getStartTimeInstant_7DaysRangeSelected_correctStartTimeReturned()
170 chosenRange = ChosenRange.DELETE_RANGE_LAST_30_DAYS, in getStartTimeInstant_30DaysRangeSelected_correctStartTimeReturned()
[all …]
DDeletionFragmentTest.kt202 chosenRange = ChosenRange.DELETE_RANGE_LAST_24_HOURS)) in deleteAllData_confirmationDialogForOneDay_showsCorrectText()
235 chosenRange = ChosenRange.DELETE_RANGE_LAST_7_DAYS)) in deleteAllData_confirmationDialogForOneWeek_showsCorrectText()
268 chosenRange = ChosenRange.DELETE_RANGE_LAST_30_DAYS)) in deleteAllData_confirmationDialogForOneMonth_showsCorrectText()
301 chosenRange = ChosenRange.DELETE_RANGE_ALL_DATA)) in deleteAllData_confirmationDialogForAllTime_showsCorrectText()
335 chosenRange = ChosenRange.DELETE_RANGE_LAST_24_HOURS)) in deleteCategoryData_confirmationDialogForOneDay_showsCorrectText()
368 chosenRange = ChosenRange.DELETE_RANGE_LAST_7_DAYS)) in deleteCategoryData_confirmationDialogForOneWeek_showsCorrectText()
402 chosenRange = ChosenRange.DELETE_RANGE_LAST_30_DAYS)) in deleteCategoryData_confirmationDialogForOneMonth_showsCorrectText()
435 chosenRange = ChosenRange.DELETE_RANGE_ALL_DATA)) in deleteCategoryData_confirmationDialogForAllTime_showsCorrectText()
470 chosenRange = ChosenRange.DELETE_RANGE_LAST_24_HOURS)) in deletePermissionTypeData_confirmationDialogForOneDay_showsCorrectText()
505 chosenRange = ChosenRange.DELETE_RANGE_LAST_7_DAYS)) in deletePermissionTypeData_confirmationDialogForOneWeek_showsCorrectText()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/
DDeletionConfirmationDialogFragment.kt85 val chosenRange = deletionParameters.chosenRange in <lambda>() constant
89 return when (chosenRange) { in <lambda>()
101 return when (chosenRange) { in <lambda>()
117 return when (chosenRange) { in <lambda>()
133 return when (chosenRange) { in <lambda>()
DDeletionParameters.kt29 var chosenRange: ChosenRange = ChosenRange.DELETE_RANGE_LAST_24_HOURS, variable in com.android.healthconnect.controller.deletion.DeletionParameters
55 parcel.writeString(this.chosenRange.toString()) in writeToParcel()
115 return when (chosenRange) { in getStartTimeInstant()
124 if (chosenRange == ChosenRange.DELETE_RANGE_ALL_DATA) { in getEndTimeInstant()
DDeletionViewModel.kt79 fun setChosenRange(chosenRange: ChosenRange) { in setChosenRange()
80 _deletionParameters.value = _deletionParameters.value?.copy(chosenRange = chosenRange) in setChosenRange()
DTimeRangeDialogFragment.kt72 val chosenRange = getChosenRange(radioGroup) in <lambda>() constant
73 viewModel.setChosenRange(chosenRange) in <lambda>()
DDeletionFragment.kt149 viewModel.deletionParameters.value?.chosenRange == ChosenRange.DELETE_RANGE_ALL_DATA) { in <lambda>()