Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/categories/
DHealthDataCategoriesFragmentTest.kt37 import com.android.healthconnect.controller.categories.HealthCategoryUiState
70 HealthCategoryUiState(category = HealthDataCategory.ACTIVITY, hasData = true),
71 HealthCategoryUiState(category = HealthDataCategory.BODY_MEASUREMENTS, hasData = true),
72 HealthCategoryUiState(category = HealthDataCategory.SLEEP, hasData = false),
73 HealthCategoryUiState(category = HealthDataCategory.VITALS, hasData = false),
74 HealthCategoryUiState(category = HealthDataCategory.CYCLE_TRACKING, hasData = false),
75 HealthCategoryUiState(category = HealthDataCategory.NUTRITION, hasData = false),
238 HealthCategoryUiState(category = HealthDataCategory.ACTIVITY, hasData = false), in seeAllCategoriesPreference_withNoData_isDisplayed()
239 HealthCategoryUiState( in seeAllCategoriesPreference_withNoData_isDisplayed()
241 HealthCategoryUiState(category = HealthDataCategory.SLEEP, hasData = false), in seeAllCategoriesPreference_withNoData_isDisplayed()
[all …]
DHealthDataAllCategoriesFragmentTest.kt38 import com.android.healthconnect.controller.categories.HealthCategoryUiState
69 HealthCategoryUiState(category = ACTIVITY, hasData = false),
70 HealthCategoryUiState(category = BODY_MEASUREMENTS, hasData = false),
71 HealthCategoryUiState(category = SLEEP, hasData = false),
72 HealthCategoryUiState(category = VITALS, hasData = false),
73 HealthCategoryUiState(category = CYCLE_TRACKING, hasData = false),
74 HealthCategoryUiState(category = NUTRITION, hasData = true),
142 HealthCategoryUiState(category = ACTIVITY, hasData = false), in allCategoriesFragment_noDataForSomeCategories_isDisplayedNoDataLabel()
143 HealthCategoryUiState(category = BODY_MEASUREMENTS, hasData = true)))) in allCategoriesFragment_noDataForSomeCategories_isDisplayedNoDataLabel()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/categories/
DLoadHealthCategoriesUseCase.kt41 suspend operator fun invoke(): UseCaseResults<List<HealthCategoryUiState>> = in <lambda>()
51 HealthCategoryUiState(it, hasData(it, recordTypeInfoMap)) in <lambda>()
75 data class HealthCategoryUiState(val category: @HealthDataCategoryInt Int, val hasData: Boolean) class
DHealthDataAllCategoriesFragment.kt78 private fun updateAllDataList(categoriesList: List<HealthCategoryUiState>) { in <lambda>()
79 val sortedAllCategoriesList: List<HealthCategoryUiState> = in <lambda>()
DHealthDataCategoryViewModel.kt62 data class WithData(val categories: List<HealthCategoryUiState>) :
DHealthDataCategoriesFragment.kt198 private fun updateDataList(categoriesList: List<HealthCategoryUiState>) { in <lambda>()
199 val sortedCategoriesList: List<HealthCategoryUiState> = in <lambda>()