Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/
DMockedPermissionsActivityTest.kt34 import android.health.connect.HealthPermissions.WRITE_DISTANCE in <lambda>()
117 fromPermissionString(WRITE_DISTANCE), in <lambda>()
156 val permissions = arrayOf(READ_STEPS, READ_HEART_RATE, WRITE_DISTANCE, WRITE_EXERCISE) in <lambda>()
169 fromPermissionString(WRITE_DISTANCE) to PermissionState.GRANTED, in <lambda>()
368 WRITE_DISTANCE, in <lambda>()
391 fromPermissionString(WRITE_DISTANCE) to PermissionState.GRANTED, in <lambda>()
447 WRITE_DISTANCE, in <lambda>()
470 fromPermissionString(WRITE_DISTANCE) to PermissionState.GRANTED, in <lambda>()
523 WRITE_DISTANCE, in <lambda>()
548 fromPermissionString(WRITE_DISTANCE) to PermissionState.GRANTED, in <lambda>()
[all …]
DFitnessPermissionsFragmentTest.kt21 import android.health.connect.HealthPermissions.WRITE_DISTANCE in <lambda>()
211 fromPermissionString(WRITE_DISTANCE), in <lambda>()
319 val permissions = arrayOf(READ_STEPS, READ_HEART_RATE, WRITE_DISTANCE, WRITE_EXERCISE) in <lambda>()
330 HealthPermission.fromPermissionString(WRITE_DISTANCE) to PermissionState.GRANTED, in <lambda>()
343 val permissions = arrayOf(READ_STEPS, READ_HEART_RATE, WRITE_DISTANCE, WRITE_EXERCISE) in <lambda>()
DMedicalPermissionsFragmentTest.kt20 import android.health.connect.HealthPermissions.WRITE_DISTANCE in <lambda>()
274 FitnessPermission.fromPermissionString(WRITE_DISTANCE), in <lambda>()
336 HealthPermission.fromPermissionString(WRITE_DISTANCE) to PermissionState.GRANTED) in <lambda>()
DRequestPermissionViewModelTest.kt29 import android.health.connect.HealthPermissions.WRITE_DISTANCE
343 WRITE_DISTANCE, in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/
DAdditionalAccessViewModelTest.kt23 import android.health.connect.HealthPermissions.WRITE_DISTANCE
122 WRITE_DISTANCE)) in setup()
277 WRITE_DISTANCE, in loadAdditionalAccessPreferences_noReadPermissionsGranted_additionalPermissionsDisabled()
318 WRITE_DISTANCE, in <lambda>()
353 WRITE_DISTANCE, in <lambda>()
390 WRITE_DISTANCE, in <lambda>()
426 WRITE_DISTANCE, in <lambda>()
469 WRITE_DISTANCE, in <lambda>()
529 additionalAccessViewModel.updatePermission(TEST_APP_PACKAGE_NAME, WRITE_DISTANCE, false) in updatePermission_revokes()
530 verify(revokeHealthPermissionUseCase).invoke(TEST_APP_PACKAGE_NAME, WRITE_DISTANCE) in updatePermission_revokes()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthPermissions.java485 public static final String WRITE_DISTANCE = "android.permission.health.WRITE_DISTANCE"; field in HealthPermissions
795 WRITE_DISTANCE,
991 sHealthCategoryToWritePermissionMap.put(DISTANCE, WRITE_DISTANCE); in populateHealthPermissionToHealthPermissionCategoryMap()
1083 WRITE_DISTANCE, HealthDataCategory.ACTIVITY); in populateWriteHealthPermissionToHealthDataCategoryMap()
1159 WRITE_DISTANCE, in populateWriteHealthPermissionToHealthDataCategoryMap()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DHealthPermissionsPresenceTest.java68 import static android.health.connect.HealthPermissions.WRITE_DISTANCE;
159 WRITE_DISTANCE,
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/
DHealthPermissionsTest.java106 HealthPermissions.WRITE_DISTANCE,
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt144 field public static final String WRITE_DISTANCE = "android.permission.health.WRITE_DISTANCE";