/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/ |
D | HealthDataCategoryExtensions.kt | 38 HealthDataCategory.NUTRITION -> NUTRITION_PERMISSION_GROUPS in healthPermissionTypes() 51 HealthDataCategory.NUTRITION -> R.string.nutrition_category_lowercase in lowercaseTitle() 64 HealthDataCategory.NUTRITION -> R.string.nutrition_category_uppercase in uppercaseTitle() 77 HealthDataCategory.NUTRITION -> R.attr.nutritionCategoryIcon in icon() 134 listOf(HealthPermissionType.HYDRATION, HealthPermissionType.NUTRITION) 158 HealthDataCategory.NUTRITION,
|
D | HealthPermissionToDatatypeMapper.kt | 81 import com.android.healthconnect.controller.permissions.data.HealthPermissionType.NUTRITION 124 NUTRITION to listOf(NutritionRecord::class.java),
|
D | DataType.kt | 85 NUTRITION(NutritionRecord::class.java),
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/data/ |
D | HealthPermissionType.kt | 55 NUTRITION(HealthPermissionCategory.NUTRITION), 108 HealthPermissionCategory.NUTRITION -> HealthPermissionType.NUTRITION in fromHealthPermissionCategory()
|
D | FitnessPermissionStrings.kt | 210 HealthPermissionType.NUTRITION,
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/recentaccess/ |
D | RecentAccessFragmentTest.kt | 96 HealthDataCategory.NUTRITION.uppercaseTitle())) in test_RecentAccessFragment_displaysCorrectly() 107 HealthDataCategory.NUTRITION.uppercaseTitle()), in test_RecentAccessFragment_displaysCorrectly() 155 HealthDataCategory.NUTRITION.uppercaseTitle())) in test_RecentAccessFragment_inactiveApp_doesNotNavigate() 170 HealthDataCategory.NUTRITION.uppercaseTitle())) in test_RecentAccessFragment_inactiveApp_doesNotNavigate() 200 HealthDataCategory.NUTRITION.uppercaseTitle())) in test_RecentAccessFragment_display12HourFormatCorrectly()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | HealthDataCategory.java | 41 public static final int NUTRITION = 4; field in HealthDataCategory 56 NUTRITION,
|
D | HealthPermissionCategory.java | 128 public static final int NUTRITION = 24; field in HealthPermissionCategory 204 NUTRITION,
|
D | HealthPermissions.java | 42 import static android.health.connect.HealthPermissionCategory.NUTRITION; 1015 sHealthCategoryToWritePermissionMap.put(NUTRITION, WRITE_NUTRITION); in populateHealthPermissionToHealthPermissionCategoryMap() 1058 sHealthCategoryToReadPermissionMap.put(NUTRITION, READ_NUTRITION); in populateHealthPermissionToHealthPermissionCategoryMap() 1129 WRITE_HYDRATION, HealthDataCategory.NUTRITION); in populateWriteHealthPermissionToHealthDataCategoryMap() 1131 WRITE_NUTRITION, HealthDataCategory.NUTRITION); in populateWriteHealthPermissionToHealthDataCategoryMap() 1195 HealthDataCategory.NUTRITION, new String[] {WRITE_HYDRATION, WRITE_NUTRITION}); in populateWriteHealthPermissionToHealthDataCategoryMap()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/shared/ |
D | HealthDataCategoryExtensionsTest.kt | 24 import android.health.connect.HealthDataCategory.NUTRITION in <lambda>() 81 assertThat(NUTRITION.uppercaseTitle()).isEqualTo(R.string.nutrition_category_uppercase) in <lambda>() 100 assertThat(NUTRITION.lowercaseTitle()).isEqualTo(R.string.nutrition_category_lowercase) in <lambda>()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/ |
D | RecordTypeRecordCategoryMapper.java | 22 import static android.health.connect.HealthDataCategory.NUTRITION; 99 put(RECORD_TYPE_HYDRATION, NUTRITION); in populateRecordTypeToRecordCategoryMap() 100 put(RECORD_TYPE_NUTRITION, NUTRITION); in populateRecordTypeToRecordCategoryMap()
|
D | RecordTypePermissionCategoryMapper.java | 106 put(RECORD_TYPE_NUTRITION, HealthPermissionCategory.NUTRITION); in populateDataTypeHealthPermissionCategoryMap()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | HealthPermissionCategoryPriorityTests.java | 22 import static android.health.connect.HealthDataCategory.NUTRITION; 56 Set.of(ACTIVITY, BODY_MEASUREMENTS, CYCLE_TRACKING, NUTRITION, SLEEP, VITALS);
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/categories/ |
D | HealthDataCategoriesFragmentTest.kt | 75 HealthCategoryUiState(category = HealthDataCategory.NUTRITION, hasData = false), 245 HealthCategoryUiState(category = HealthDataCategory.NUTRITION, hasData = false), in seeAllCategoriesPreference_withNoData_isDisplayed() 266 HealthCategoryUiState(category = HealthDataCategory.NUTRITION, hasData = false), in deleteAllData_withNoData_isDisabled() 298 HealthCategoryUiState(category = HealthDataCategory.NUTRITION, hasData = true), in categoriesFragment_withAllCategoriesPresent_seeAllCategoriesPreferenceIsNotDisplayed()
|
D | HealthDataAllCategoriesFragmentTest.kt | 23 import android.health.connect.HealthDataCategory.NUTRITION 74 HealthCategoryUiState(category = NUTRITION, hasData = true),
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ |
D | Constants.kt | 197 NUTRITION( 242 listOf(HealthPermissionType.HYDRATION, HealthPermissionType.NUTRITION) 303 NUTRITION(NutritionRecord::class, R.string.nutrition_label),
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/appdata/ |
D | AppDataViewModelTest.kt | 108 PermissionTypesPerCategory(HealthDataCategory.NUTRITION, listOf()), in <lambda>() 151 PermissionTypesPerCategory(HealthDataCategory.NUTRITION, listOf()), in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/alldata/ |
D | AllDataViewModelTest.kt | 104 PermissionTypesPerCategory(HealthDataCategory.NUTRITION, listOf()), in <lambda>() 148 PermissionTypesPerCategory(HealthDataCategory.NUTRITION, listOf()), in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/ |
D | HealthPermissionTypesFragmentTest.kt | 750 listOf(HealthPermissionType.NUTRITION))) in permissionTypesFragment_whenNutritionCategory_doesNotShowOldPriorityButton() 766 MutableLiveData(HealthDataCategory.NUTRITION.lowercaseTitle()) in permissionTypesFragment_whenNutritionCategory_doesNotShowOldPriorityButton() 780 listOf(HealthPermissionType.NUTRITION))) in permissionTypesFragment_whenNutritionCategory_doesNotShowNewPriorityButton() 796 MutableLiveData(HealthDataCategory.NUTRITION.lowercaseTitle()) in permissionTypesFragment_whenNutritionCategory_doesNotShowNewPriorityButton() 884 bundle.putInt(HealthDataCategoriesFragment.CATEGORY_KEY, HealthDataCategory.NUTRITION) in nutritionCategoryBundle()
|
/packages/modules/HealthFitness/testapps/toolbox/tests/src/com/android/healthconnect/testapps/toolbox/ |
D | DataTypeListFragmentTest.kt | 94 launchScenario(HealthDataCategory.NUTRITION) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/home/ |
D | HomeFragmentTest.kt | 224 HealthDataCategory.NUTRITION.uppercaseTitle())) in <lambda>() 259 HealthDataCategory.NUTRITION.uppercaseTitle())) in <lambda>() 302 HealthDataCategory.NUTRITION.uppercaseTitle())) in <lambda>() 788 HealthDataCategory.NUTRITION.uppercaseTitle())) in <lambda>()
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | TestUtils.java | 24 import static android.health.connect.HealthDataCategory.NUTRITION; 668 NUTRITION, HealthPermissionCategory.HYDRATION, new ArrayList<>())); in populateAndResetExpectedResponseMap() 741 NUTRITION, HealthPermissionCategory.NUTRITION, new ArrayList<>())); in populateAndResetExpectedResponseMap()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/ |
D | HealthDataCategoryPriorityHelperTest.java | 865 HealthDataCategory.NUTRITION)) in testOldReSyncHealthDataPriorityTable_addsNewApps_withWritePermission() 1604 APP_PACKAGE_NAME_4, HealthDataCategory.NUTRITION)) in testAppHasDataInCategory_forAppsWithoutDataInCategory_returnsFalse() 1640 APP_PACKAGE_NAME_4, HealthDataCategory.NUTRITION)) in testAppHasDataInCategory_ifContributingPackagesMapEmpty_returnsFalse() 1683 .isEqualTo(Set.of(HealthDataCategory.ACTIVITY, HealthDataCategory.NUTRITION)); in testGetDataCategoriesWithDataForPackage_returnsCorrectCategories() 1714 expectedResult.put(HealthDataCategory.NUTRITION, Set.of(APP_PACKAGE_NAME_2)); in testGetAllContributorApps_returnsJustAppsWithData()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | NutritionRecordTest.java | 436 TestUtils.setupAggregation(PACKAGE_NAME, HealthDataCategory.NUTRITION); in testAggregation_NutritionValuesTotal() 558 TestUtils.setupAggregation(PACKAGE_NAME, HealthDataCategory.NUTRITION); in testAggregation_NutritionEnergyValuesTotal()
|
/packages/modules/HealthFitness/framework/api/ |
D | system-current.txt | 85 field public static final int NUTRITION = 4; // 0x4 115 field public static final int NUTRITION = 24; // 0x18
|