Home
last modified time | relevance | path

Searched refs:WRITE_NUTRITION (Results 1 – 5 of 5) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthPermissions.java666 public static final String WRITE_NUTRITION = "android.permission.health.WRITE_NUTRITION"; field in HealthPermissions
818 WRITE_NUTRITION,
1015 sHealthCategoryToWritePermissionMap.put(NUTRITION, WRITE_NUTRITION); in populateHealthPermissionToHealthPermissionCategoryMap()
1131 WRITE_NUTRITION, HealthDataCategory.NUTRITION); in populateWriteHealthPermissionToHealthDataCategoryMap()
1195 HealthDataCategory.NUTRITION, new String[] {WRITE_HYDRATION, WRITE_NUTRITION}); in populateWriteHealthPermissionToHealthDataCategoryMap()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DHealthDataCategoryPriorityHelperTest.java842 HealthPermissions.WRITE_NUTRITION, in testOldReSyncHealthDataPriorityTable_addsNewApps_withWritePermission()
907 HealthPermissions.WRITE_NUTRITION, in testOldReSyncHealthDataPriorityTable_removesApps_withoutWritePermissionAndData()
975 HealthPermissions.WRITE_NUTRITION, in testNewReSyncHealthDataPriorityTable_emptyListAndNoContributingApps_remainsEmpty()
1045 HealthPermissions.WRITE_NUTRITION, in testNewReSyncHealthDataPriorityTable_emptyList_populateContributingApps()
1115 HealthPermissions.WRITE_NUTRITION, in testNewReSyncHealthDataPriorityTable_oneEmptyList_leaveNonEmptyListsUnchanged()
1190 HealthPermissions.WRITE_NUTRITION, in testNewReSyncHealthDataPriorityTable_newWritePermission_doesNotUpdateTable()
1260 HealthPermissions.WRITE_NUTRITION, in testNewReSyncHealthDataPriorityTable_someAppsNoDataNopermission_removesApps()
1330 HealthPermissions.WRITE_NUTRITION, in testNewReSyncHealthDataPriorityTable_noDataNorPermission_removesApps()
1415 HealthPermissions.WRITE_NUTRITION, in testNewReSyncHealthDataPriorityTable_ifDataForApps_doesNotRemoveApps()
1493 HealthPermissions.WRITE_NUTRITION, in testMaybeAddInactiveAppsToPriorityList_ifPreferenceNotSet_addsToList()
[all …]
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DHealthPermissionsPresenceTest.java80 import static android.health.connect.HealthPermissions.WRITE_NUTRITION;
182 WRITE_NUTRITION,
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/
DHealthPermissionsTest.java131 HealthPermissions.WRITE_NUTRITION,
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt158 field public static final String WRITE_NUTRITION = "android.permission.health.WRITE_NUTRITION";