Home
last modified time | relevance | path

Searched refs:medicalResourceType (Results 1 – 3 of 3) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/
DReadMedicalResourcesRequest.java51 @MedicalResourceType int medicalResourceType, in ReadMedicalResourcesRequest()
54 validateMedicalResourceType(medicalResourceType); in ReadMedicalResourcesRequest()
57 mMedicalResourceType = medicalResourceType; in ReadMedicalResourcesRequest()
160 public Builder(@MedicalResourceType int medicalResourceType) { in Builder() argument
161 validateMedicalResourceType(medicalResourceType); in Builder()
162 mMedicalResourceType = medicalResourceType; in Builder()
190 @MedicalResourceType int medicalResourceType) { in setMedicalResourceType()
191 validateMedicalResourceType(medicalResourceType); in setMedicalResourceType()
192 mMedicalResourceType = medicalResourceType; in setMedicalResourceType()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DMedicalDataPermissionEnforcer.java64 @MedicalResource.MedicalResourceType int medicalResourceType, in enforceMedicalReadAccessAndGetEnforceSelfRead()
67 getMedicalReadPermission(getMedicalPermissionCategory(medicalResourceType)); in enforceMedicalReadAccessAndGetEnforceSelfRead()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DMedicalResource.java168 public static void validateMedicalResourceType(@MedicalResourceType int medicalResourceType) { in validateMedicalResourceType() argument
170 medicalResourceType, VALID_TYPES, MedicalResourceType.class.getSimpleName()); in validateMedicalResourceType()