Searched refs:revokeAndThenGrantHealthPermissions (Results 1 – 2 of 2) sorted by relevance
37 import static android.healthconnect.cts.utils.PermissionHelper.revokeAndThenGrantHealthPermissions;934 revokeAndThenGrantHealthPermissions(APP_A_WITH_READ_WRITE_PERMS.getPackageName()); in testAggregationOutputForTotalStepsCountWithDataFromTwoAppsHavingDifferentPriority()935 revokeAndThenGrantHealthPermissions(APP_B_WITH_READ_WRITE_PERMS.getPackageName()); in testAggregationOutputForTotalStepsCountWithDataFromTwoAppsHavingDifferentPriority()1025 revokeAndThenGrantHealthPermissions(APP_A_WITH_READ_WRITE_PERMS.getPackageName()); in testAggregationOutputForExerciseSessionWithDataFromTwoAppsHavingDifferentPriority()1026 revokeAndThenGrantHealthPermissions(APP_B_WITH_READ_WRITE_PERMS.getPackageName()); in testAggregationOutputForExerciseSessionWithDataFromTwoAppsHavingDifferentPriority()
164 public static void revokeAndThenGrantHealthPermissions(String packageName) { in revokeAndThenGrantHealthPermissions() method in PermissionHelper