Searched refs:READ_DISTANCE (Results 1 – 9 of 9) sorted by relevance
19 import static android.health.connect.HealthPermissions.READ_DISTANCE;142 READ_DISTANCE, in testGetChangeLogs_somePermissionsAreNotGranted_expectError()159 revokePermission(packageName, READ_DISTANCE); in testGetChangeLogs_somePermissionsAreNotGranted_expectError()
19 import static android.health.connect.HealthPermissions.READ_DISTANCE;189 new Pair<>(READ_DISTANCE, DistanceRecord.class), in testGetChangeLogs_noPermissions_expectError()
30 import static android.health.connect.HealthPermissions.READ_DISTANCE;123 READ_DISTANCE,
18 import android.health.connect.HealthPermissions.READ_DISTANCE in <lambda>()238 fromPermissionString(READ_DISTANCE), in <lambda>()
167 public static final String READ_DISTANCE = "android.permission.health.READ_DISTANCE"; field in HealthPermissions1034 sHealthCategoryToReadPermissionMap.put(DISTANCE, READ_DISTANCE); in populateHealthPermissionToHealthPermissionCategoryMap()
66 HealthPermissions.READ_DISTANCE,
252 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()
77 private static final String UNDECLARED_PERM = HealthPermissions.READ_DISTANCE;
102 field public static final String READ_DISTANCE = "android.permission.health.READ_DISTANCE";