Home
last modified time | relevance | path

Searched refs:permissionCategory (Results 1 – 9 of 9) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DHealthPermissionCategoryPriorityTests.java81 for (Integer permissionCategory : sAllDataCategories) { in testGetPriority()
82 assertThat(getPriorityWithManageHealthDataPermission(permissionCategory)).isNotNull(); in testGetPriority()
88 for (Integer permissionCategory : sAllDataCategories) { in testGetPriority_no_perm()
90 getPriority(permissionCategory); in testGetPriority_no_perm()
104 for (Integer permissionCategory : sAllDataCategories) { in testUpdatePriority_withNewApps_updatesCorrectly()
107 getPriorityWithManageHealthDataPermission(permissionCategory); in testUpdatePriority_withNewApps_updatesCorrectly()
117 permissionCategory, newPriorityListPackages); in testUpdatePriority_withNewApps_updatesCorrectly()
119 getPriorityWithManageHealthDataPermission(permissionCategory); in testUpdatePriority_withNewApps_updatesCorrectly()
132 for (Integer permissionCategory : sAllDataCategories) { in testUpdatePriority_no_perm()
134 updatePriority(permissionCategory, Arrays.asList("a", "b", "c")); in testUpdatePriority_no_perm()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthPermissions.java887 @HealthPermissionCategory.Type int permissionCategory) { in getHealthReadPermission()
892 return sHealthCategoryToReadPermissionMap.get(permissionCategory); in getHealthReadPermission()
897 @HealthPermissionCategory.Type int permissionCategory) { in getHealthWritePermission()
902 String healthWritePermission = sHealthCategoryToWritePermissionMap.get(permissionCategory); in getHealthWritePermission()
907 + permissionCategory); in getHealthWritePermission()
913 @MedicalPermissionCategory.Type int permissionCategory) { in getMedicalReadPermission()
915 String medicalReadPermission = sMedicalCategoryToReadPermissionMap.get(permissionCategory); in getMedicalReadPermission()
918 "Medical read permission not found for PermissionCategory: " + permissionCategory); in getMedicalReadPermission()
DRecordTypeInfoResponse.java45 @NonNull @HealthPermissionCategory.Type int permissionCategory, in RecordTypeInfoResponse()
48 this.mPermissionCategory = permissionCategory; in RecordTypeInfoResponse()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/appdata/
DAppDataUseCase.kt112 fromHealthPermissionCategory(it.permissionCategory) == permissionType && in <lambda>()
122 fromHealthPermissionCategory(it.permissionCategory) == permissionType && in <lambda>()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DTestUtils.java1000 int permissionCategory, List<String> packageNames) throws InterruptedException { in updatePriorityWithManageHealthDataPermission() argument
1007 updatePriority(permissionCategory, packageNames); in updatePriorityWithManageHealthDataPermission()
1014 public static void updatePriority(int permissionCategory, List<String> packageNames) in updatePriority() argument
1033 new UpdateDataOriginPriorityOrderRequest(dataOrigins, permissionCategory); in updatePriority()
1050 .isEqualTo(permissionCategory); in updatePriority()
1073 int permissionCategory) throws InterruptedException { in getPriorityWithManageHealthDataPermission() argument
1082 response = getPriority(permissionCategory); in getPriorityWithManageHealthDataPermission()
1091 public static FetchDataOriginsPriorityOrderResponse getPriority(int permissionCategory) in getPriority() argument
1102 permissionCategory, in getPriority()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/access/
DLoadPermissionTypeContributorAppsUseCase.kt54 fromHealthPermissionCategory(it.permissionCategory) == permissionType && in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissiontypes/api/
DLoadPermissionTypesUseCase.kt68 fromHealthPermissionCategory(it.permissionCategory) == permissionType && in <lambda>()
DFilterPermissionTypesUseCase.kt74 fromHealthPermissionCategory(recordTypeInfo.permissionCategory) in <lambda>()
/packages/modules/HealthFitness/framework/java/android/health/connect/aidl/
DIHealthConnectService.aidl165 int permissionCategory, in getCurrentPriority() argument