Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/appdata/
DAppDataViewModelTest.kt30 import com.android.healthconnect.controller.data.appdata.AppDataViewModel in <lambda>()
75 private lateinit var viewModel: AppDataViewModel in <lambda>()
85 viewModel = AppDataViewModel(appInfoReader, AppDataUseCase(manager, Dispatchers.Main)) in <lambda>()
98 val testObserver = TestObserver<AppDataViewModel.AppDataState>() in <lambda>()
112 .isEqualTo(AppDataViewModel.AppDataState.WithData(expected)) in <lambda>()
140 val testObserver = TestObserver<AppDataViewModel.AppDataState>() in <lambda>()
156 .isEqualTo(AppDataViewModel.AppDataState.WithData(expected)) in <lambda>()
DAppDataFragmentTest.kt31 import com.android.healthconnect.controller.data.appdata.AppDataViewModel
52 @BindValue val appDataViewModel: AppDataViewModel = Mockito.mock(AppDataViewModel::class.java)
70 MutableLiveData(AppDataViewModel.AppDataState.WithData(listOf())) in allDataFragment_noData_noDataMessageDisplayed()
86 AppDataViewModel.AppDataState.WithData( in appDataFragment_dataPresent_populatedDataTypesDisplayed()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/appdata/
DAppDataFragment.kt54 private val viewModel: AppDataViewModel by viewModels() in <lambda>()
88 is AppDataViewModel.AppDataState.Loading -> { in <lambda>()
91 is AppDataViewModel.AppDataState.Error -> { in <lambda>()
94 is AppDataViewModel.AppDataState.WithData -> { in <lambda>()
DAppDataViewModel.kt33 class AppDataViewModel class