Searched refs:AutoDeleteState (Results 1 – 9 of 9) sorted by relevance
43 private val _storedAutoDeleteRange = MutableLiveData<AutoDeleteState>()48 val storedAutoDeleteRange: LiveData<AutoDeleteState>64 _storedAutoDeleteRange.postValue(AutoDeleteState.Loading) in loadAutoDeleteRange()69 AutoDeleteState.WithData(fromNumberOfMonths(result.data))) in loadAutoDeleteRange()73 _storedAutoDeleteRange.postValue(AutoDeleteState.LoadingFailed) in loadAutoDeleteRange()83 _storedAutoDeleteRange.postValue(AutoDeleteState.WithData(autoDeleteRange)) in updateAutoDeleteRange()87 _storedAutoDeleteRange.postValue(AutoDeleteState.LoadingFailed) in updateAutoDeleteRange()101 sealed class AutoDeleteState { class in com.android.healthconnect.controller.autodelete.AutoDeleteViewModel102 object Loading : AutoDeleteState()103 object LoadingFailed : AutoDeleteState()[all …]
73 is AutoDeleteViewModel.AutoDeleteState.Loading -> { in <lambda>()76 is AutoDeleteViewModel.AutoDeleteState.LoadingFailed -> { in <lambda>()79 is AutoDeleteViewModel.AutoDeleteState.WithData -> { in <lambda>()
73 AutoDeleteViewModel.AutoDeleteState.WithData( in autoDeleteFragment_isDisplayed()106 AutoDeleteViewModel.AutoDeleteState.WithData( in autoDelete_checkDefaultRange_defaultRange()124 AutoDeleteViewModel.AutoDeleteState.WithData( in autoDelete_setRangeTo3Months_saveChanges()183 AutoDeleteViewModel.AutoDeleteState.WithData( in autoDelete_setRangeTo18Months_confirmationDialog_saveChanges()225 AutoDeleteViewModel.AutoDeleteState.WithData( in autoDeleteFragment_learnMoreButton_isClickable()
105 AutoDeleteViewModel.AutoDeleteState.Loading -> { in <lambda>()108 is AutoDeleteViewModel.AutoDeleteState.LoadingFailed -> { in <lambda>()111 is AutoDeleteViewModel.AutoDeleteState.WithData -> { in <lambda>()
173 AutoDeleteViewModel.AutoDeleteState.Loading -> { in <lambda>()177 is AutoDeleteViewModel.AutoDeleteState.LoadingFailed -> { in <lambda>()181 is AutoDeleteViewModel.AutoDeleteState.WithData -> { in <lambda>()
45 import com.android.healthconnect.controller.autodelete.AutoDeleteViewModel.AutoDeleteState206 MutableLiveData(AutoDeleteState.WithData(AUTO_DELETE_RANGE_NEVER)) in manageHealthDataIntent_launchesDataManagementActivity()
36 import com.android.healthconnect.controller.autodelete.AutoDeleteViewModel.AutoDeleteState98 MutableLiveData(AutoDeleteState.WithData(AutoDeleteRange.AUTO_DELETE_RANGE_NEVER)) in setup()
83 AutoDeleteViewModel.AutoDeleteState.WithData( in <lambda>()
69 AutoDeleteViewModel.AutoDeleteState.WithData( in setup()