Home
last modified time | relevance | path

Searched refs:revokeAndThenGrantHealthPermissions (Results 1 – 2 of 2) sorted by relevance

/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/
DHealthConnectDeviceTest.java37 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()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DPermissionHelper.java164 public static void revokeAndThenGrantHealthPermissions(String packageName) { in revokeAndThenGrantHealthPermissions() method in PermissionHelper