Home
last modified time | relevance | path

Searched refs:AutoDeleteState (Results 1 – 9 of 9) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/autodelete/
DAutoDeleteViewModel.kt43 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.AutoDeleteViewModel
102 object Loading : AutoDeleteState()
103 object LoadingFailed : AutoDeleteState()
[all …]
DAutoDeleteFragment.kt73 is AutoDeleteViewModel.AutoDeleteState.Loading -> { in <lambda>()
76 is AutoDeleteViewModel.AutoDeleteState.LoadingFailed -> { in <lambda>()
79 is AutoDeleteViewModel.AutoDeleteState.WithData -> { in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/autodelete/
DAutoDeleteFragmentTest.kt73 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()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/managedata/
DManageDataFragment.kt105 AutoDeleteViewModel.AutoDeleteState.Loading -> { in <lambda>()
108 is AutoDeleteViewModel.AutoDeleteState.LoadingFailed -> { in <lambda>()
111 is AutoDeleteViewModel.AutoDeleteState.WithData -> { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/categories/
DHealthDataCategoriesFragment.kt173 AutoDeleteViewModel.AutoDeleteState.Loading -> { in <lambda>()
177 is AutoDeleteViewModel.AutoDeleteState.LoadingFailed -> { in <lambda>()
181 is AutoDeleteViewModel.AutoDeleteState.WithData -> { in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/navigation/
DTrampolineActivityTest.kt45 import com.android.healthconnect.controller.autodelete.AutoDeleteViewModel.AutoDeleteState
206 MutableLiveData(AutoDeleteState.WithData(AUTO_DELETE_RANGE_NEVER)) in manageHealthDataIntent_launchesDataManagementActivity()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/categories/
DHealthDataCategoriesFragmentTest.kt36 import com.android.healthconnect.controller.autodelete.AutoDeleteViewModel.AutoDeleteState
98 MutableLiveData(AutoDeleteState.WithData(AutoDeleteRange.AUTO_DELETE_RANGE_NEVER)) in setup()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/
DDataManagementActivityTest.kt83 AutoDeleteViewModel.AutoDeleteState.WithData( in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/managedata/
DManageDataFragmentTest.kt69 AutoDeleteViewModel.AutoDeleteState.WithData( in setup()