Searched refs:AccessScreenState (Results 1 – 6 of 6) sorted by relevance
23 import com.android.healthconnect.controller.data.access.AccessViewModel.AccessScreenState.Error24 import com.android.healthconnect.controller.data.access.AccessViewModel.AccessScreenState.WithData41 private val _appMetadataMap = MutableLiveData<AccessScreenState>()43 val appMetadataMap: LiveData<AccessScreenState>49 _appMetadataMap.postValue(AccessScreenState.Loading) in loadAppMetaDataMap()64 sealed class AccessScreenState { class65 object Loading : AccessScreenState()67 object Error : AccessScreenState()70 AccessScreenState()
111 is AccessViewModel.AccessScreenState.Loading -> { in <lambda>()114 is AccessViewModel.AccessScreenState.Error -> { in <lambda>()117 is AccessViewModel.AccessScreenState.WithData -> { in <lambda>()
35 import com.android.healthconnect.controller.data.access.AccessViewModel.AccessScreenState36 import com.android.healthconnect.controller.data.access.AccessViewModel.AccessScreenState.WithData75 MutableLiveData<AccessViewModel.AccessScreenState>(WithData(emptyMap())) in dataAccessFragment_noSections_noneDisplayed()99 MutableLiveData<AccessScreenState>(WithData(map)) in dataAccessFragment_readSection_isDisplayed()123 MutableLiveData<AccessScreenState>(WithData(map)) in dataAccessFragment_readAndWriteSections_isDisplayed()147 MutableLiveData<AccessViewModel.AccessScreenState>(WithData(map)) in dataAccessFragment_inactiveSection_isDisplayed()166 MutableLiveData<AccessScreenState>(AccessScreenState.Loading) in dataAccessFragment_loadingState_showsLoading()175 MutableLiveData<AccessScreenState>(WithData(emptyMap())) in dataAccessFragment_withData_hidesLoading()184 MutableLiveData<AccessScreenState>(AccessScreenState.Error) in dataAccessFragment_withError_showError()200 MutableLiveData<AccessScreenState>(WithData(map)) in whenAppNameClicked_navigatesToConnectedApp()
66 val testObserver = TestObserver<AccessViewModel.AccessScreenState>() in <lambda>()72 .isEqualTo(AccessViewModel.AccessScreenState.WithData(expected)) in <lambda>()
29 import com.android.healthconnect.controller.data.access.AccessViewModel.AccessScreenState30 import com.android.healthconnect.controller.data.access.AccessViewModel.AccessScreenState.WithData77 MutableLiveData<AccessScreenState>(WithData(emptyMap())) in dataAccessFragment_noSections_noneDisplayed()101 MutableLiveData<AccessScreenState>(WithData(map)) in dataAccessFragment_readSection_isDisplayed()125 MutableLiveData<AccessScreenState>(WithData(map)) in dataAccessFragment_readAndWriteSections_isDisplayed()156 MutableLiveData<AccessScreenState>(WithData(map)) in dataAccessFragment_inactiveSection_isDisplayed()176 MutableLiveData<AccessScreenState>(AccessScreenState.Loading) in dataAccessFragment_loadingState_showsLoading()185 MutableLiveData<AccessScreenState>(WithData(emptyMap())) in dataAccessFragment_withData_hidesLoading()194 MutableLiveData<AccessScreenState>(AccessScreenState.Error) in dataAccessFragment_withError_showError()
29 import com.android.healthconnect.controller.data.access.AccessViewModel.AccessScreenState in <lambda>()177 is AccessScreenState.Loading -> { in <lambda>()180 is AccessScreenState.Error -> { in <lambda>()183 is AccessScreenState.WithData -> { in <lambda>()