Home
last modified time | relevance | path

Searched refs:newAutoDeleteRange (Results 1 – 6 of 6) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/autodelete/
DAutoDeleteViewModel.kt52 val newAutoDeleteRange: LiveData<AutoDeleteRange> constant in com.android.healthconnect.controller.autodelete.AutoDeleteViewModel
94 newAutoDeleteRange: AutoDeleteRange, in updateAutoDeleteDialogArguments()
97 _newAutoDeleteRange.value = newAutoDeleteRange in updateAutoDeleteDialogArguments()
DAutoDeleteRangePickerPreference.kt134 val newAutoDeleteRange: AutoDeleteRange = in setToNeverOrAskConfirmation() constant
142 newAutoDeleteRange, in setToNeverOrAskConfirmation()
151 fun updateAutoDeleteRange(newAutoDeleteRange: AutoDeleteRange) { in updateAutoDeleteRange()
152 autoDeleteRange = newAutoDeleteRange in updateAutoDeleteRange()
DAutoDeleteConfirmationDialogFragment.kt46 check(viewModel.newAutoDeleteRange.value != AutoDeleteRange.AUTO_DELETE_RANGE_NEVER) { in <lambda>()
53 viewModel.newAutoDeleteRange.value?.let { in <lambda>()
62 bundleOf(AUTO_DELETE_SAVED_EVENT to viewModel.newAutoDeleteRange.value)) in <lambda>()
DDeletionStartedDialogFragment.kt39 check(viewModel.newAutoDeleteRange.value != AutoDeleteRange.AUTO_DELETE_RANGE_NEVER) { in onCreateDialog()
49 viewModel.newAutoDeleteRange.value?.let { alertDialog.setMessage(buildMessage(it)) } in onCreateDialog()
DAutoDeleteFragment.kt116 bundle.getSerializable(NEW_AUTO_DELETE_RANGE_BUNDLE)?.let { newAutoDeleteRange -> in <lambda>() method
120 newAutoDeleteRange as AutoDeleteRange, in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/autodelete/
DAutoDeleteFragmentTest.kt109 Mockito.`when`(viewModel.newAutoDeleteRange).then { in autoDelete_checkDefaultRange_defaultRange()
127 Mockito.`when`(viewModel.newAutoDeleteRange).then { in autoDelete_setRangeTo3Months_saveChanges()
186 Mockito.`when`(viewModel.newAutoDeleteRange).then { in autoDelete_setRangeTo18Months_confirmationDialog_saveChanges()