Searched refs:addPermission (Results 1 – 6 of 6) sorted by relevance
592 .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()
59 .addPermission(DEFAULT_PERMISSION) in createdWithSetters_validData()
93 .addPermission(READ_ACTIVE_CALORIES_BURNED) in testMigratePermissions_permissionFirstGrantTimeMigrated()94 .addPermission(WRITE_ACTIVE_CALORIES_BURNED) in testMigratePermissions_permissionFirstGrantTimeMigrated()
140 public Builder addPermission(@NonNull String permission) { in addPermission() method in PermissionMigrationPayload.Builder
426 group.getBackgroundPermissions().addPermission(permission); in create()428 group.addPermission(permission); in create()1512 private void addPermission(Permission permission) {
299 …c android.health.connect.migration.PermissionMigrationPayload.Builder addPermission(@NonNull Strin…