Searched refs:revokePermission (Results 1 – 6 of 6) sorted by relevance
33 import static android.permission.cts.PermissionUtils.revokePermission;349 revokePermission(APP_PKG, READ_CONTACTS); in inheritRevokedPermissionStatePreM()386 revokePermission(APP_PKG, READ_CONTACTS); in grantNewSplitPermissionStatePreM()404 revokePermission(APP_PKG, ACCESS_BACKGROUND_LOCATION); in revokeNewSplitPermissionState()418 revokePermission(APP_PKG, READ_CALL_LOG); in revokeNewSplitPermissionStatePreM()519 revokePermission(APP_PKG, READ_CONTACTS); in oldPermissionStaysRevokedOnUpgradePreM()
24 import static android.permission.cts.PermissionUtils.revokePermission;95 revokePermission(PKG_THAT_REQUESTS_PERMISSIONS, READ_CONTACTS); in revokingRuntimePermissionAffectsAllPackageInSharedUid()107 revokePermission(PKG_THAT_REQUESTS_NO_PERMISSIONS, READ_CONTACTS); in runtimePermissionsCanBeRevokedOnPackageThatDoesNotDeclarePermission()
85 revokePermission(Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS); in tearDown()86 revokePermission(Manifest.permission.BRIGHTNESS_SLIDER_USAGE); in tearDown()175 revokePermission(Manifest.permission.BRIGHTNESS_SLIDER_USAGE); in testSliderUsagePermission()188 revokePermission(Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS); in testConfigureBrightnessPermission()417 private void revokePermission(String permission) { in revokePermission() method in BrightnessTest
219 public static void revokePermission(@NonNull String packageName, @NonNull String permission) in revokePermission() method in PermissionUtils
327 revokePermission(Manifest.permission.READ_CALENDAR); in testRevokeAffectsWholeGroup_part1()383 revokePermission(Manifest.permission.READ_CALENDAR); in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt_part1()
418 protected void revokePermission(String permission) throws Exception { in revokePermission() method in BasePermissionsTest