Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/tests/cts/route/src/android/healthconnect/cts/route/
DExerciseRouteNoReadWritePermissionTest.java31 import static android.healthconnect.cts.utils.PermissionHelper.runWithRevokedPermissions;
82 runWithRevokedPermissions( in insertRecords_canNotInsertRoute()
99 runWithRevokedPermissions( in insertRecords_withSameClientId_withoutRoute_routeDoesNotGetDeleted()
123 runWithRevokedPermissions( in insertRecords_withSameClientId_updatedRoute_throws_routeDoesNotGetUpdated()
150 runWithRevokedPermissions( in insertRecords_withSameClientId_addedRoute_throws_routeDoesNotGetAdded()
169 runWithRevokedPermissions( in updateRecords_withoutRoute_routeDoesNotGetDeleted()
191 runWithRevokedPermissions( in updateRecords_withUpdatedRoute_throws_routeDoesNotGetUpdated()
217 runWithRevokedPermissions( in updateRecords_withAddedRoute_throws_routeDoesNotGetAdded()
237 runWithRevokedPermissions( in readRecords_usingFilters_canAccessOwnRoute()
258 runWithRevokedPermissions( in readRecords_usingIds_canAccessOwnRoute()
[all …]
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DPermissionHelper.java219 public static void runWithRevokedPermissions( in runWithRevokedPermissions() method in PermissionHelper
221 runWithRevokedPermissions( in runWithRevokedPermissions()
234 return runWithRevokedPermissions(supplier, packageName, permission); in runWithRevokedPermission()
238 public static <T> T runWithRevokedPermissions( in runWithRevokedPermissions() method in PermissionHelper