Home
last modified time | relevance | path

Searched refs:MANAGE_HEALTH_DATA_PERMISSION (Results 1 – 8 of 8) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthConnectManager.java21 import static android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION;
1009 @RequiresPermission(MANAGE_HEALTH_DATA_PERMISSION)
1047 @RequiresPermission(MANAGE_HEALTH_DATA_PERMISSION)
1081 @RequiresPermission(MANAGE_HEALTH_DATA_PERMISSION)
1122 @RequiresPermission(MANAGE_HEALTH_DATA_PERMISSION)
1145 @RequiresPermission(MANAGE_HEALTH_DATA_PERMISSION)
1186 @RequiresPermission(MANAGE_HEALTH_DATA_PERMISSION)
1329 @RequiresPermission(MANAGE_HEALTH_DATA_PERMISSION)
1541 @RequiresPermission(MANAGE_HEALTH_DATA_PERMISSION)
1588 MANAGE_HEALTH_DATA_PERMISSION,
[all …]
DHealthPermissions.java110 public static final String MANAGE_HEALTH_DATA_PERMISSION = field in HealthPermissions
/packages/modules/HealthFitness/framework/api/
Dsystem-current.txt52 … @RequiresPermission(android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION) publi…
54 … @RequiresPermission(android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION) publi…
55 …resPermission(anyOf={android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION, andro…
57 … @RequiresPermission(android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION) publi…
60 … @RequiresPermission(android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION) publi…
61 … @RequiresPermission(android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION) publi…
62 … @RequiresPermission(android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION) publi…
63 … @RequiresPermission(android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION) publi…
67 … @RequiresPermission(android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION) publi…
136 …field public static final String MANAGE_HEALTH_DATA_PERMISSION = "android.permission.MANAGE_HEALTH…
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectServiceImpl.java26 import static android.health.connect.HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION;
1228 mContext.enforcePermission(MANAGE_HEALTH_DATA_PERMISSION, pid, uid, null); in deleteUsingFilters()
1321 mContext.enforcePermission(MANAGE_HEALTH_DATA_PERMISSION, pid, uid, null); in getCurrentPriority()
1372 mContext.enforcePermission(MANAGE_HEALTH_DATA_PERMISSION, pid, uid, null); in updatePriority()
1410 mContext.enforcePermission(MANAGE_HEALTH_DATA_PERMISSION, pid, uid, null); in setRecordRetentionPeriodInDays()
1441 mContext.enforceCallingPermission(MANAGE_HEALTH_DATA_PERMISSION, null); in getRecordRetentionPeriodInDays()
1472 mContext.enforcePermission(MANAGE_HEALTH_DATA_PERMISSION, pid, uid, null); in getContributorApplicationsInfo()
1510 mContext.enforcePermission(MANAGE_HEALTH_DATA_PERMISSION, pid, uid, null); in queryAllRecordTypesInfo()
1549 mContext.enforcePermission(MANAGE_HEALTH_DATA_PERMISSION, pid, uid, null); in queryAccessLogs()
1592 mContext.enforcePermission(MANAGE_HEALTH_DATA_PERMISSION, pid, uid, null); in getActivityDates()
[all …]
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/
DDataMigrationTest.java1027 action, HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION); in getRecords()
1050 action, HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION); in getRecord()
1077 HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION); in deleteAllRecords()
1247 HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION); in getHealthDataCategoryPriority()
1271 HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION); in getRecordRetentionPeriodInDays()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DPermissionHelper.java51 public static final String MANAGE_HEALTH_DATA = HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION;
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/backuprestore/
DBackupRestoreApiTest.java71 public static final String MANAGE_HEALTH_DATA = HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION;
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/
DHealthConnectDeviceTest.java118 public static final String MANAGE_HEALTH_DATA = HealthPermissions.MANAGE_HEALTH_DATA_PERMISSION;