Home
last modified time | relevance | path

Searched refs:AllDataViewModel (Results 1 – 4 of 4) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/alldata/
DAllDataViewModelTest.kt29 import com.android.healthconnect.controller.data.alldata.AllDataViewModel in <lambda>()
71 private lateinit var viewModel: AllDataViewModel in <lambda>()
81 viewModel = AllDataViewModel(AppDataUseCase(manager, Dispatchers.Main)) in <lambda>()
94 val testObserver = TestObserver<AllDataViewModel.AllDataState>() in <lambda>()
108 .isEqualTo(AllDataViewModel.AllDataState.WithData(expected)) in <lambda>()
136 val testObserver = TestObserver<AllDataViewModel.AllDataState>() in <lambda>()
153 .isEqualTo(AllDataViewModel.AllDataState.WithData(expected)) in <lambda>()
DAllDataFragmentTest.kt43 import com.android.healthconnect.controller.data.alldata.AllDataViewModel in <lambda>()
79 @BindValue val allDataViewModel: AllDataViewModel = AllDataViewModel(appDataUseCase) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/alldata/
DAllDataFragment.kt64 private val viewModel: AllDataViewModel by activityViewModels() in <lambda>()
139 is AllDataViewModel.AllDataState.Loading -> { in <lambda>()
146 is AllDataViewModel.AllDataState.Error -> { in <lambda>()
149 is AllDataViewModel.AllDataState.WithData -> { in <lambda>()
DAllDataViewModel.kt34 class AllDataViewModel class