Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/
DDataPermissionEnforcerTest.java21 import static android.health.connect.HealthPermissions.READ_EXERCISE_ROUTE;
310 READ_EXERCISE_ROUTE, mAttributionSource, null)) in testCollectGrantedExtraReadPermissions_permissionsGranted_returnsPermissions()
321 .containsExactly(READ_EXERCISE_ROUTES, READ_EXERCISE_ROUTE, WRITE_EXERCISE_ROUTE); in testCollectGrantedExtraReadPermissions_permissionsGranted_returnsPermissions()
330 READ_EXERCISE_ROUTE, mAttributionSource, null)) in testCollectGrantedExtraReadPermissions_permissionDenied_removesPermission()
340 assertThat(permissions).containsExactly(READ_EXERCISE_ROUTE); in testCollectGrantedExtraReadPermissions_permissionDenied_removesPermission()
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/
DHealthPermissionsTest.java20 import static android.health.connect.HealthPermissions.READ_EXERCISE_ROUTE;
187 .getPermissionInfo(READ_EXERCISE_ROUTE, /* flags= */ 0) in testReadExerciseRoutePerm_hasSignatureProtection()
197 .checkPermission(READ_EXERCISE_ROUTE, healthControllerPackageName)) in testReadExerciseRoutePerm_controllerUiHoldsIt()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DExerciseSessionRecordHelper.java22 import static android.health.connect.HealthPermissions.READ_EXERCISE_ROUTE;
369 return List.of(READ_EXERCISE_ROUTE, READ_EXERCISE_ROUTES, WRITE_EXERCISE_ROUTE); in getExtraReadPermissions()
593 boolean isController = grantedExtraReadPermissions.contains(READ_EXERCISE_ROUTE); in getExerciseRouteReadAccessType()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/
DTransactionManagerExerciseRoutesTest.java184 Set.of(HealthPermissions.READ_EXERCISE_ROUTE), in readRecordsByIds_unknownApp_withReadRoutePermission_returnsRoute()
321 Set.of(HealthPermissions.READ_EXERCISE_ROUTE), in readRecordsAndPageToken_byFilters_withReadRoutePermission_returnsRoute()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthPermissions.java193 public static final String READ_EXERCISE_ROUTE = field in HealthPermissions