Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/
DExerciseRouteRequestTest.kt38 import android.healthconnect.cts.utils.PermissionHelper.runWithRevokedPermission
176 runWithRevokedPermission( in requestRoute_ownSession_writeRouteDenied_readRoutesDenied_notUserFixed_showsDialog()
201 runWithRevokedPermission( in requestRoute_ownSession_writeRouteDenied_readRoutesDenied_userFixed_returnsNull()
225 runWithRevokedPermission( in requestRoute_ownSession_writeRouteDenied_readRoutesGranted_returnsRoute()
306 runWithRevokedPermission( in requestRoute_withReadWriteRoutePermissionsRevoked_showsDialog_returnsRoute()
332 runWithRevokedPermission( in requestRoute_readExercisePermissionRevoked_throwsSecurityException()
463 runWithRevokedPermission( in requestRoute_ownRoute_writeRouteDenied_ignoresAccessTimeLimits_showsDialog()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DPermissionHelper.java232 public static <T> T runWithRevokedPermission( in runWithRevokedPermission() method in PermissionHelper