Searched refs:WRITE_SLEEP (Results 1 – 8 of 8) sorted by relevance
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/ |
D | HealthDataCategoryPriorityHelperTest.java | 360 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/ |
D | HealthPermissionReaderTest.kt | 68 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/ |
D | HealthPermissionsTest.java | 132 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/ |
D | HealthPermissions.java | 673 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/ |
D | HealthPermissionsPresenceTest.java | 88 import static android.health.connect.HealthPermissions.WRITE_SLEEP; 183 WRITE_SLEEP,
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/ |
D | PermissionsActivityTest.kt | 43 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/ |
D | HealthPermissionReader.kt | 54 HealthPermissions.WRITE_SLEEP, in <lambda>()
|
/packages/modules/HealthFitness/framework/api/ |
D | current.txt | 167 field public static final String WRITE_SLEEP = "android.permission.health.WRITE_SLEEP";
|