Home
last modified time | relevance | path

Searched refs:addPermission (Results 1 – 6 of 6) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/
DDataMigrationTest.java592 .addPermission(INVALID_PERMISSION_1) in migratePermissions_hasValidPermissions_validPermissionsGranted()
593 .addPermission(READ_HEIGHT) in migratePermissions_hasValidPermissions_validPermissionsGranted()
594 .addPermission(INVALID_PERMISSION_2) in migratePermissions_hasValidPermissions_validPermissionsGranted()
595 .addPermission(WRITE_HEIGHT) in migratePermissions_hasValidPermissions_validPermissionsGranted()
615 .addPermission(INVALID_PERMISSION_1) in migratePermissions_allInvalidPermissions_throwsMigrationException()
616 .addPermission(INVALID_PERMISSION_2) in migratePermissions_allInvalidPermissions_throwsMigrationException()
668 .addPermission(READ_HEIGHT) in migratePriority_additionalAppsInMigrationPayload_prioritySaved()
669 .addPermission(WRITE_HEIGHT) in migratePriority_additionalAppsInMigrationPayload_prioritySaved()
674 .addPermission(READ_HEIGHT) in migratePriority_additionalAppsInMigrationPayload_prioritySaved()
675 .addPermission(WRITE_HEIGHT) in migratePriority_additionalAppsInMigrationPayload_prioritySaved()
DPermissionMigrationPayloadTest.java59 .addPermission(DEFAULT_PERMISSION) in createdWithSetters_validData()
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/migration/
DHealthConnectPermissionsMigrationTest.java93 .addPermission(READ_ACTIVE_CALORIES_BURNED) in testMigratePermissions_permissionFirstGrantTimeMigrated()
94 .addPermission(WRITE_ACTIVE_CALORIES_BURNED) in testMigratePermissions_permissionFirstGrantTimeMigrated()
/packages/modules/HealthFitness/framework/java/android/health/connect/migration/
DPermissionMigrationPayload.java140 public Builder addPermission(@NonNull String permission) { in addPermission() method in PermissionMigrationPayload.Builder
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissionGroup.java426 group.getBackgroundPermissions().addPermission(permission); in create()
428 group.addPermission(permission); in create()
1512 private void addPermission(Permission permission) {
/packages/modules/HealthFitness/framework/api/
Dsystem-current.txt299 …c android.health.connect.migration.PermissionMigrationPayload.Builder addPermission(@NonNull Strin…