Home
last modified time | relevance | path

Searched refs:WRITE_SLEEP (Results 1 – 8 of 8) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DHealthDataCategoryPriorityHelperTest.java360 HealthPermissions.WRITE_SLEEP, in testUpdateHealthDataPriority_ifWritePermissionsForApp_doesNotRemoveApp()
389 HealthPermissions.WRITE_SLEEP, in testNewUpdateHealthDataPriority_ifDataForApp_doesNotRemoveApp()
417 HealthPermissions.WRITE_SLEEP, in testNewUpdateHealthDataPriority_ifNoDataForApp_removesApp()
450 HealthPermissions.WRITE_SLEEP, in testOldUpdateHealthDataPriority_ifNoWritePermissionsForApp_removesApp()
825 HealthPermissions.WRITE_SLEEP, in testOldReSyncHealthDataPriorityTable_addsNewApps_withWritePermission()
841 HealthPermissions.WRITE_SLEEP, in testOldReSyncHealthDataPriorityTable_addsNewApps_withWritePermission()
890 HealthPermissions.WRITE_SLEEP, in testOldReSyncHealthDataPriorityTable_removesApps_withoutWritePermissionAndData()
906 HealthPermissions.WRITE_SLEEP, in testOldReSyncHealthDataPriorityTable_removesApps_withoutWritePermissionAndData()
958 HealthPermissions.WRITE_SLEEP, in testNewReSyncHealthDataPriorityTable_emptyListAndNoContributingApps_remainsEmpty()
974 HealthPermissions.WRITE_SLEEP, in testNewReSyncHealthDataPriorityTable_emptyListAndNoContributingApps_remainsEmpty()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/shared/
DHealthPermissionReaderTest.kt68 HealthPermissions.WRITE_SLEEP.toHealthPermission(), in getValidHealthPermissions_returnsDataTypeAndAdditionalPermissions()
82 HealthPermissions.WRITE_SLEEP.toHealthPermission(), in <lambda>()
99 HealthPermissions.WRITE_SLEEP, in getDeclaredHealthPermissions_returnsAllPermissions()
116 HealthPermissions.WRITE_SLEEP, in getDeclaredHealthPermissions_medicalFlagOn_returnsAllPermissions()
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/
DHealthPermissionsTest.java132 HealthPermissions.WRITE_SLEEP,
206 HealthPermissions.WRITE_SLEEP, in testGetDataCategoriesWithWritePermissionsForPackage_returnsCorrectSet()
232 HealthPermissions.WRITE_SLEEP, in testPackageHasWriteHealthPermissionsForCategory_ifNoWritePermissions_returnsFalse()
255 HealthPermissions.WRITE_SLEEP, in testPackageHasWriteHealthPermissionsForCategory_ifWritePermissions_returnsTrue()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthPermissions.java673 public static final String WRITE_SLEEP = "android.permission.health.WRITE_SLEEP"; field in HealthPermissions
819 WRITE_SLEEP,
1016 sHealthCategoryToWritePermissionMap.put(SLEEP, WRITE_SLEEP); in populateHealthPermissionToHealthPermissionCategoryMap()
1132 sWriteHealthPermissionToHealthDataCategoryMap.put(WRITE_SLEEP, HealthDataCategory.SLEEP); in populateWriteHealthPermissionToHealthDataCategoryMap()
1198 HealthDataCategory.SLEEP, new String[] {WRITE_SLEEP}); in populateWriteHealthPermissionToHealthDataCategoryMap()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DHealthPermissionsPresenceTest.java88 import static android.health.connect.HealthPermissions.WRITE_SLEEP;
183 WRITE_SLEEP,
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/
DPermissionsActivityTest.kt43 import android.health.connect.HealthPermissions.WRITE_SLEEP in <lambda>()
110 arrayOf(WRITE_SLEEP, READ_HEALTH_DATA_IN_BACKGROUND) in <lambda>()
190 val permissions = arrayOf(READ_EXERCISE, WRITE_SLEEP, "permission") in <lambda>()
209 .isEqualTo(arrayOf(READ_EXERCISE, WRITE_SLEEP)) in <lambda>()
720 arrayOf(WRITE_SLEEP, READ_HEALTH_DATA_IN_BACKGROUND, READ_HEALTH_DATA_HISTORY) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/
DHealthPermissionReader.kt54 HealthPermissions.WRITE_SLEEP, in <lambda>()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt167 field public static final String WRITE_SLEEP = "android.permission.health.WRITE_SLEEP";