Searched refs:DocumentProviders (Results 1 – 5 of 5) sorted by relevance
24 sealed class DocumentProviders { class25 data object Loading : DocumentProviders()27 data object LoadingFailed : DocumentProviders()29 data class WithData(val providers: List<DocumentProvider>) : DocumentProviders()
42 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()
37 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>()
39 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>()
24 import com.android.healthconnect.controller.exportimport.api.DocumentProviders108 val testObserver = TestObserver<DocumentProviders>() in <lambda>()126 .isEqualTo(DocumentProviders.WithData(documentProviders)) in <lambda>()