Home
last modified time | relevance | path

Searched refs:revokePermission (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/permission/src/android/permission/cts/
DSplitPermissionTest.java33 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()
DSharedUidPermissionsTest.java24 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()
/cts/tests/tests/display/src/android/display/cts/
DBrightnessTest.java85 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
/cts/tests/tests/permission/permissionTestUtilLib/src/android/permission/cts/
DPermissionUtils.java219 public static void revokePermission(@NonNull String packageName, @NonNull String permission) in revokePermission() method in PermissionUtils
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
DUsePermissionTest23.java327 revokePermission(Manifest.permission.READ_CALENDAR); in testRevokeAffectsWholeGroup_part1()
383 revokePermission(Manifest.permission.READ_CALENDAR); in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt_part1()
DBasePermissionsTest.java418 protected void revokePermission(String permission) throws Exception { in revokePermission() method in BasePermissionsTest