Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/
DHealthConnectManagerNotAllPermissionsAreGrantedTest.java19 import static android.health.connect.HealthPermissions.READ_DISTANCE;
142 READ_DISTANCE, in testGetChangeLogs_somePermissionsAreNotGranted_expectError()
159 revokePermission(packageName, READ_DISTANCE); in testGetChangeLogs_somePermissionsAreNotGranted_expectError()
DHealthConnectManagerNoPermissionsGrantedTest.java19 import static android.health.connect.HealthPermissions.READ_DISTANCE;
189 new Pair<>(READ_DISTANCE, DistanceRecord.class), in testGetChangeLogs_noPermissions_expectError()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DHealthPermissionsPresenceTest.java30 import static android.health.connect.HealthPermissions.READ_DISTANCE;
123 READ_DISTANCE,
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/
DFitnessPermissionsFragmentTest.kt18 import android.health.connect.HealthPermissions.READ_DISTANCE in <lambda>()
238 fromPermissionString(READ_DISTANCE), in <lambda>()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthPermissions.java167 public static final String READ_DISTANCE = "android.permission.health.READ_DISTANCE"; field in HealthPermissions
1034 sHealthCategoryToReadPermissionMap.put(DISTANCE, READ_DISTANCE); in populateHealthPermissionToHealthPermissionCategoryMap()
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/
DHealthPermissionsTest.java66 HealthPermissions.READ_DISTANCE,
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DHealthDataCategoryPriorityHelperTest.java252 List.of(HealthPermissions.READ_DISTANCE, HealthPermissions.WRITE_STEPS)); in testMaybeRemoveAppFromPriorityList_ifWritePermissionsForApp_doesNotRemoveApp()
275 .thenReturn(List.of(HealthPermissions.READ_DISTANCE)); in testNewMaybeRemoveAppFromPriorityList_ifDataForApp_doesNotRemoveApp()
301 .thenReturn(List.of(HealthPermissions.READ_DISTANCE)); in testNewMaybeRemoveAppFromPriorityList_ifNoDataForApp_removesApp()
330 .thenReturn(List.of(HealthPermissions.READ_DISTANCE)); in testOldMaybeRemoveAppFromPriorityList_ifNoWritePermissionsForApp_removesApp()
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/permissions/
DHealthConnectWithManagePermissionsTest.java77 private static final String UNDECLARED_PERM = HealthPermissions.READ_DISTANCE;
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt102 field public static final String READ_DISTANCE = "android.permission.health.READ_DISTANCE";