Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/permissions/
DRequestHealthPermissionUITest.kt46 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 …]
DAdditionalPermissionsRequestUITest.kt65 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()
DManageAppHealthPermissionUITest.kt20 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()
DManageHealthPermissionsUITest.kt67 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/
DHealthPermissionsPresenceTest.java37 import static android.health.connect.HealthPermissions.READ_HEIGHT;
137 READ_HEIGHT,
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/
DDataMigrationTest.java24 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/
DHealthPermissions.java299 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/
DHealthPermissionsTest.java82 HealthPermissions.READ_HEIGHT,
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt111 field public static final String READ_HEIGHT = "android.permission.health.READ_HEIGHT";