Searched refs:revokePermission (Results 1 – 6 of 6) sorted by relevance
32 import static android.permission.cts.PermissionUtils.revokePermission;348 revokePermission(APP_PKG, READ_CONTACTS); in inheritRevokedPermissionStatePreM()385 revokePermission(APP_PKG, READ_CONTACTS); in grantNewSplitPermissionStatePreM()403 revokePermission(APP_PKG, ACCESS_BACKGROUND_LOCATION); in revokeNewSplitPermissionState()417 revokePermission(APP_PKG, READ_CALL_LOG); in revokeNewSplitPermissionStatePreM()518 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()108 revokePermission(APK_THAT_REQUESTS_NO_PERMISSIONS, READ_CONTACTS); in runtimePermissionsCannotBeRevokedOnPackageThatDoesNotDeclarePermission()
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()
350 protected void revokePermission(String permission) throws Exception { in revokePermission() method in BasePermissionsTest