Home
last modified time | relevance | path

Searched refs:DocumentProviders (Results 1 – 5 of 5) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/exportimport/api/
DDocumentProviders.kt24 sealed class DocumentProviders { class
25 data object Loading : DocumentProviders()
27 data object LoadingFailed : DocumentProviders()
29 data class WithData(val providers: List<DocumentProvider>) : DocumentProviders()
DExportSettingsViewModel.kt42 private val _documentProviders = MutableLiveData<DocumentProviders>()
57 val documentProviders: LiveData<DocumentProviders>
83 _documentProviders.postValue(DocumentProviders.Loading) in loadDocumentProviders()
87 _documentProviders.postValue(DocumentProviders.WithData(result.data)) in loadDocumentProviders()
90 _documentProviders.postValue(DocumentProviders.LoadingFailed) in loadDocumentProviders()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/exportimport/
DExportDestinationFragment.kt37 import com.android.healthconnect.controller.exportimport.api.DocumentProviders in <lambda>()
92 is DocumentProviders.Loading -> { in <lambda>()
95 is DocumentProviders.LoadingFailed -> { in <lambda>()
98 is DocumentProviders.WithData -> { in <lambda>()
DImportSourceLocationFragment.kt39 import com.android.healthconnect.controller.exportimport.api.DocumentProviders in <lambda>()
93 is DocumentProviders.Loading -> { in <lambda>()
96 is DocumentProviders.LoadingFailed -> { in <lambda>()
99 is DocumentProviders.WithData -> { in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/exportimport/api/
DExportSettingsViewModelTest.kt24 import com.android.healthconnect.controller.exportimport.api.DocumentProviders
108 val testObserver = TestObserver<DocumentProviders>() in <lambda>()
126 .isEqualTo(DocumentProviders.WithData(documentProviders)) in <lambda>()