Searched refs:READ_HEIGHT (Results 1 – 9 of 9) sorted by relevance
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/permissions/ |
D | RequestHealthPermissionUITest.kt | 46 context, TEST_APP_PACKAGE_NAME, HealthPermissions.READ_HEIGHT) in showsAppName_showsRequestedPermissions() 51 permissions = listOf(HealthPermissions.READ_HEIGHT, HealthPermissions.WRITE_BODY_FAT)) { in showsAppName_showsRequestedPermissions() 64 context, TEST_APP_PACKAGE_NAME, HealthPermissions.READ_HEIGHT) in requestGrantedPermissions_doesNotShowGrantedPermissions() 68 permissions = listOf(HealthPermissions.READ_HEIGHT, HealthPermissions.WRITE_BODY_FAT)) { in requestGrantedPermissions_doesNotShowGrantedPermissions() 77 context, TEST_APP_PACKAGE_NAME, HealthPermissions.READ_HEIGHT) in grantPermission_grantsOnlyRequestedPermission() 82 permissions = listOf(HealthPermissions.READ_HEIGHT, HealthPermissions.WRITE_BODY_FAT)) { in grantPermission_grantsOnlyRequestedPermission() 87 assertPermGrantedForApp(TEST_APP_PACKAGE_NAME, HealthPermissions.READ_HEIGHT) in grantPermission_grantsOnlyRequestedPermission() 95 context, TEST_APP_PACKAGE_NAME, HealthPermissions.READ_HEIGHT) in grantAllPermissions_grantsAllPermissions() 100 permissions = listOf(HealthPermissions.READ_HEIGHT, HealthPermissions.WRITE_HEIGHT)) { in grantAllPermissions_grantsAllPermissions() 104 assertPermGrantedForApp(TEST_APP_PACKAGE_NAME, HealthPermissions.READ_HEIGHT) in grantAllPermissions_grantsAllPermissions() [all …]
|
D | AdditionalPermissionsRequestUITest.kt | 65 revokePermissionViaPackageManager(context, TEST_APP_PACKAGE_NAME, READ_HEIGHT) in tearDown() 71 grantPermissionViaPackageManager(context, TEST_APP_PACKAGE_NAME, READ_HEIGHT) in requestAdditionalPermissions_showsBothAdditionalPermissions_grantsBoth() 87 grantPermissionViaPackageManager(context, TEST_APP_PACKAGE_NAME, READ_HEIGHT) in requestAdditionalPermissions_showsBothAdditionalPermissions_deniesBoth() 103 grantPermissionViaPackageManager(context, TEST_APP_PACKAGE_NAME, READ_HEIGHT) in requestAdditionalPermissions_showsBothAdditionalPermissions_grantsOnlySelected() 118 grantPermissionViaPackageManager(context, TEST_APP_PACKAGE_NAME, READ_HEIGHT) in requestAdditionalPermissions_showsOnlyNotGrantedPermissions() 134 revokePermissionViaPackageManager(context, TEST_APP_PACKAGE_NAME, READ_HEIGHT) in requestAdditionalPermissions_noReadPermissions_returnsResultCanceled() 155 revokePermissionViaPackageManager(context, TEST_APP_PACKAGE_NAME, READ_HEIGHT) in requestCombinedPermissions_showsDataTypeAndAdditionalPermissions() 159 READ_HEIGHT, in requestCombinedPermissions_showsDataTypeAndAdditionalPermissions() 174 assertPermGrantedForApp(TEST_APP_PACKAGE_NAME, READ_HEIGHT) in requestCombinedPermissions_showsDataTypeAndAdditionalPermissions()
|
D | ManageAppHealthPermissionUITest.kt | 20 import android.health.connect.HealthPermissions.READ_HEIGHT 97 grantPermissionViaPackageManager(context, TEST_APP_PACKAGE_NAME, READ_HEIGHT) in revokeAllPermissions_revokesAllAppPermissions() 108 assertPermNotGrantedForApp(TEST_APP_PACKAGE_NAME, READ_HEIGHT) in revokeAllPermissions_revokesAllAppPermissions() 115 grantPermissionViaPackageManager(context, TEST_APP_PACKAGE_NAME, READ_HEIGHT) in revokeAllPermissions_allowsUserToDeleteAppData() 148 grantPermissionViaPackageManager(context, TEST_APP_PACKAGE_NAME, READ_HEIGHT) in tearDown()
|
D | ManageHealthPermissionsUITest.kt | 67 context, TEST_APP_PACKAGE_NAME, HealthPermissions.READ_HEIGHT) in revokeAllPermissions_revokeAllConnectedAppsPermission() 76 assertPermNotGrantedForApp(TEST_APP_PACKAGE_NAME, HealthPermissions.READ_HEIGHT) in revokeAllPermissions_revokeAllConnectedAppsPermission() 94 context, TEST_APP_PACKAGE_NAME, HealthPermissions.READ_HEIGHT) in tearDown()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | HealthPermissionsPresenceTest.java | 37 import static android.health.connect.HealthPermissions.READ_HEIGHT; 137 READ_HEIGHT,
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/ |
D | DataMigrationTest.java | 24 import static android.health.connect.HealthPermissions.READ_HEIGHT; 593 .addPermission(READ_HEIGHT) in migratePermissions_hasValidPermissions_validPermissionsGranted() 599 mExpect.that(grantedPermissions).containsAtLeast(READ_HEIGHT, WRITE_HEIGHT); in migratePermissions_hasValidPermissions_validPermissionsGranted() 668 .addPermission(READ_HEIGHT) in migratePriority_additionalAppsInMigrationPayload_prioritySaved() 674 .addPermission(READ_HEIGHT) in migratePriority_additionalAppsInMigrationPayload_prioritySaved()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | HealthPermissions.java | 299 public static final String READ_HEIGHT = "android.permission.health.READ_HEIGHT"; field in HealthPermissions 1048 sHealthCategoryToReadPermissionMap.put(HEIGHT, READ_HEIGHT); in populateHealthPermissionToHealthPermissionCategoryMap()
|
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/ |
D | HealthPermissionsTest.java | 82 HealthPermissions.READ_HEIGHT,
|
/packages/modules/HealthFitness/framework/api/ |
D | current.txt | 111 field public static final String READ_HEIGHT = "android.permission.health.READ_HEIGHT";
|