Searched refs:permissionCategory (Results 1 – 9 of 9) sorted by relevance
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | HealthPermissionCategoryPriorityTests.java | 81 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/ |
D | HealthPermissions.java | 887 @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()
|
D | RecordTypeInfoResponse.java | 45 @NonNull @HealthPermissionCategory.Type int permissionCategory, in RecordTypeInfoResponse() 48 this.mPermissionCategory = permissionCategory; in RecordTypeInfoResponse()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/appdata/ |
D | AppDataUseCase.kt | 112 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/ |
D | TestUtils.java | 1000 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/ |
D | LoadPermissionTypeContributorAppsUseCase.kt | 54 fromHealthPermissionCategory(it.permissionCategory) == permissionType && in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissiontypes/api/ |
D | LoadPermissionTypesUseCase.kt | 68 fromHealthPermissionCategory(it.permissionCategory) == permissionType && in <lambda>()
|
D | FilterPermissionTypesUseCase.kt | 74 fromHealthPermissionCategory(recordTypeInfo.permissionCategory) in <lambda>()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/aidl/ |
D | IHealthConnectService.aidl | 165 int permissionCategory, in getCurrentPriority() argument
|