Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/autodelete/
DAutoDeleteRangePickerPreference.kt45 private var autoDeleteRange: AutoDeleteRange, variable
85 setCheckedRadioButton(radioGroup, autoDeleteRange) in onBindViewHolder()
119 private fun setCheckedRadioButton(radioGroup: RadioGroup, autoDeleteRange: AutoDeleteRange) { in setCheckedRadioButton()
120 when (autoDeleteRange) { in setCheckedRadioButton()
144 autoDeleteRange)) in setToNeverOrAskConfirmation()
152 autoDeleteRange = newAutoDeleteRange in updateAutoDeleteRange()
DAutoDeleteViewModel.kt79 fun updateAutoDeleteRange(autoDeleteRange: AutoDeleteRange) { in updateAutoDeleteRange()
81 when (val result = updateAutoDeleteUseCase.invoke(autoDeleteRange.numberOfMonths)) { in updateAutoDeleteRange()
83 _storedAutoDeleteRange.postValue(AutoDeleteState.WithData(autoDeleteRange)) in updateAutoDeleteRange()
104 data class WithData(val autoDeleteRange: AutoDeleteRange) : AutoDeleteState() constant in com.android.healthconnect.controller.autodelete.AutoDeleteViewModel.AutoDeleteState.WithData
DAutoDeleteConfirmationDialogFragment.kt79 private fun buildTitle(autoDeleteRange: AutoDeleteRange): String { in <lambda>()
80 val count = autoDeleteRange.numberOfMonths in <lambda>()
86 private fun buildMessage(autoDeleteRange: AutoDeleteRange): String { in <lambda>()
87 val count = autoDeleteRange.numberOfMonths in <lambda>()
DDeletionStartedDialogFragment.kt53 private fun buildMessage(autoDeleteRange: AutoDeleteRange): String { in buildMessage()
54 val count = autoDeleteRange.numberOfMonths in buildMessage()
DAutoDeleteFragment.kt86 state.autoDeleteRange, in <lambda>()
94 autoDeletePreference.updateAutoDeleteRange(state.autoDeleteRange) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/categories/
DHealthDataCategoriesFragment.kt114 private fun buildSummary(autoDeleteRange: AutoDeleteRange): String { in <lambda>()
115 return when (autoDeleteRange) { in <lambda>()
131 private fun iconAttribute(autoDeleteRange: AutoDeleteRange): Int { in <lambda>()
132 return when (autoDeleteRange) { in <lambda>()
182 mAutoDelete?.summary = buildSummary(state.autoDeleteRange) in <lambda>()
185 requireContext(), iconAttribute(state.autoDeleteRange))) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/managedata/
DManageDataFragment.kt112 mAutoDeletePreference?.summary = buildSummary(state.autoDeleteRange) in <lambda>()
118 private fun buildSummary(autoDeleteRange: AutoDeleteRange): String { in <lambda>()
119 return when (autoDeleteRange) { in <lambda>()