Home
last modified time | relevance | path

Searched refs:EntriesFragmentState (Results 1 – 6 of 6) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/
DEntriesViewModel.kt58 private val _entries = MutableLiveData<EntriesFragmentState>()
59 val entries: LiveData<EntriesFragmentState>
93 _entries.postValue(EntriesFragmentState.Loading) in loadData()
114 _entries.postValue(EntriesFragmentState.Empty) in loadData()
118 _entries.postValue(EntriesFragmentState.With(list)) in loadData()
123 _entries.postValue(EntriesFragmentState.LoadingFailed) in loadData()
190 sealed class EntriesFragmentState { class
191 object Loading : EntriesFragmentState()
193 object Empty : EntriesFragmentState()
195 object LoadingFailed : EntriesFragmentState()
[all …]
DAllEntriesFragment.kt31 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Empty in <lambda>()
32 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load… in <lambda>()
33 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load… in <lambda>()
34 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.With in <lambda>()
DAppEntriesFragment.kt34 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Empty in <lambda>()
35 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load… in <lambda>()
36 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load… in <lambda>()
37 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.With in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/
DEntriesViewModelTest.kt119 val testObserver = TestObserver<EntriesViewModel.EntriesFragmentState>() in <lambda>()
129 EntriesViewModel.EntriesFragmentState.With( in <lambda>()
138 val testObserver = TestObserver<EntriesViewModel.EntriesFragmentState>() in <lambda>()
148 EntriesViewModel.EntriesFragmentState.With( in <lambda>()
156 val testObserver = TestObserver<EntriesViewModel.EntriesFragmentState>() in <lambda>()
166 EntriesViewModel.EntriesFragmentState.With(listOf(FORMATTED_MENSTRUATION_PERIOD)) in <lambda>()
DAppEntriesFragmentTest.kt32 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Empty
33 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load…
34 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load…
35 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.With
DAllEntriesFragmentTest.kt35 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Empty in <lambda>()
36 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load… in <lambda>()
37 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load… in <lambda>()
38 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.With in <lambda>()