Searched refs:revokeHealthPermissions (Results 1 – 3 of 3) sorted by relevance
38 import static android.healthconnect.cts.utils.PermissionHelper.revokeHealthPermissions;702 revokeHealthPermissions(APP_A_WITH_READ_WRITE_PERMS.getPackageName()); in testGrantingCorrectPermsPutsTheAppInPriorityList()728 revokeHealthPermissions(APP_A_WITH_READ_WRITE_PERMS.getPackageName()); in testRevokingOnlyOneCorrectPermissionDoesntRemoveAppFromPriorityList()767 revokeHealthPermissions(APP_A_WITH_READ_WRITE_PERMS.getPackageName()); in testRevokingAllCorrectPermissionsRemovesAppFromPriorityList()830 revokeHealthPermissions(APP_A_WITH_READ_WRITE_PERMS.getPackageName()); in testAppWithManageHealthDataPermissionCanUpdatePriority()831 revokeHealthPermissions(APP_B_WITH_READ_WRITE_PERMS.getPackageName()); in testAppWithManageHealthDataPermissionCanUpdatePriority()1144 revokeHealthPermissions(APP_B_WITH_READ_WRITE_PERMS.getPackageName()); in testToVerifyNoPermissionChangeLog()
167 revokeHealthPermissions(packageName); in revokeAndThenGrantHealthPermissions()174 public static void revokeHealthPermissions(String packageName) { in revokeHealthPermissions() method in PermissionHelper
584 revokeHealthPermissions(APP_PACKAGE_NAME); in migratePermissions_hasValidPermissions_validPermissionsGranted()607 revokeHealthPermissions(APP_PACKAGE_NAME); in migratePermissions_allInvalidPermissions_throwsMigrationException()652 revokeHealthPermissions(APP_PACKAGE_NAME); in migratePriority_additionalAppsInMigrationPayload_prioritySaved()653 revokeHealthPermissions(APP_PACKAGE_NAME_2); in migratePriority_additionalAppsInMigrationPayload_prioritySaved()1098 private void revokeHealthPermissions(String packageName) { in revokeHealthPermissions() method in DataMigrationTest