Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/
DDataSourcesViewModel.kt62 private val _potentialAppSources = MutableLiveData<PotentialAppSourcesState>() in <lambda>()
160 _potentialAppSources.postValue(PotentialAppSourcesState.Loading(shouldObserve)) in <lambda>()
165 PotentialAppSourcesState.WithData(shouldObserve, appSourcesResult.data)) in <lambda>()
173 PotentialAppSourcesState.LoadingFailed(shouldObserve)) in <lambda>()
262 sealed class PotentialAppSourcesState(open val shouldObserve: Boolean) { in <lambda>() class
264 PotentialAppSourcesState(shouldObserve) in <lambda>()
267 PotentialAppSourcesState(shouldObserve) in <lambda>()
272 ) : PotentialAppSourcesState(shouldObserve) in <lambda>()
289 val potentialAppSourcesState: PotentialAppSourcesState? in <lambda>()
293 potentialAppSourcesState is PotentialAppSourcesState.Loading in <lambda>()
[all …]
DAddAnAppFragment.kt23 …port com.android.healthconnect.controller.datasources.DataSourcesViewModel.PotentialAppSourcesState in <lambda>()
73 as PotentialAppSourcesState.WithData) in <lambda>()
DDataSourcesFragment.kt29 …port com.android.healthconnect.controller.datasources.DataSourcesViewModel.PotentialAppSourcesState in <lambda>()
176 (dataSourcesInfo.potentialAppSourcesState as PotentialAppSourcesState.WithData) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/
DDataSourcesFragmentTest.kt40 …port com.android.healthconnect.controller.datasources.DataSourcesViewModel.PotentialAppSourcesState in <lambda>()
118 PotentialAppSourcesState.WithData(true, listOf(TEST_APP_3)), in <lambda>()
161 potentialAppSourcesState = PotentialAppSourcesState.WithData(true, listOf()), in <lambda>()
209 potentialAppSourcesState = PotentialAppSourcesState.WithData(true, listOf()), in <lambda>()
273 potentialAppSourcesState = PotentialAppSourcesState.WithData(true, listOf()), in <lambda>()
312 potentialAppSourcesState = PotentialAppSourcesState.WithData(true, listOf()), in <lambda>()
379 potentialAppSourcesState = PotentialAppSourcesState.WithData(true, listOf()), in <lambda>()
446 potentialAppSourcesState = PotentialAppSourcesState.WithData(true, listOf()), in <lambda>()
511 potentialAppSourcesState = PotentialAppSourcesState.WithData(true, listOf()), in <lambda>()
536 PotentialAppSourcesState.WithData(true, listOf(TEST_APP_3)), in <lambda>()
[all …]
DAddAnAppFragmentTest.kt32 …port com.android.healthconnect.controller.datasources.DataSourcesViewModel.PotentialAppSourcesState
87 PotentialAppSourcesState.WithData( in fragmentIsDisplayed()
109 potentialAppSourcesState = PotentialAppSourcesState.Loading(true))) in showsLoading_whenAppSourcesLoading()
123 potentialAppSourcesState = PotentialAppSourcesState.LoadingFailed(true))) in showsError_whenAppSourcesError()
139 PotentialAppSourcesState.WithData( in addAnApp_navigatesBackToDataSourcesFragment()
DDataSourcesViewModelTest.kt9 …port com.android.healthconnect.controller.datasources.DataSourcesViewModel.PotentialAppSourcesState
133 … potentialAppSourcesState = PotentialAppSourcesState.WithData(true, potentialAppSources), in <lambda>()