Searched refs:READ_EXERCISE_ROUTE (Results 1 – 5 of 5) sorted by relevance
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/ |
D | DataPermissionEnforcerTest.java | 21 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/ |
D | HealthPermissionsTest.java | 20 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/ |
D | ExerciseSessionRecordHelper.java | 22 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/ |
D | TransactionManagerExerciseRoutesTest.java | 184 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/ |
D | HealthPermissions.java | 193 public static final String READ_EXERCISE_ROUTE = field in HealthPermissions
|