Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DPackageSetInstallerTest.kt158 revokePermission(permission) in runTest()
177 revokePermission(permission) in runTest()
209 private fun revokePermission(permission: String) { in revokePermission() method
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/
DBlobStoreMultiUserTest.java66 revokePermission(TARGET_PKG_ASSIST, PERM_ACCESS_BLOBS_ACROSS_USERS, mPrimaryUserId); in setUp()
67 revokePermission(TARGET_PKG_ASSIST, PERM_ACCESS_BLOBS_ACROSS_USERS, mSecondaryUserId); in setUp()
DBaseBlobStoreHostTest.java188 protected void revokePermission(String pkgName, String permissionName, int userId) in revokePermission() method in BaseBlobStoreHostTest
/cts/tests/tests/display/src/android/display/cts/
DBrightnessTest.java82 revokePermission(Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS); in setUp()
83 revokePermission(Manifest.permission.BRIGHTNESS_SLIDER_USAGE); in setUp()
593 private void revokePermission(String permission) { in revokePermission() method
700 revokePermission(mPermission); in close()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerThrottlingTest.java81 PermissionUtils.revokePermission(TARGET_PACKAGE, Manifest.permission.POST_NOTIFICATIONS); in tearDown()
/cts/tests/app/FgsTest/src/android/app/cts/fgstest/
DActivityManagerForegroundServiceTypeTest.java529 void revokePermission(String packageName) throws Exception; in revokePermission() method
539 public void revokePermission(String packageName) throws Exception { in revokePermission() method in ActivityManagerForegroundServiceTypeTest.DeviceAllowlistPermissionOp
639 op.revokePermission(packageName); in resetPermissions()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DNotificationListenerTest.java85 PermissionUtils.revokePermission(SENDER_PACKAGE, POST_NOTIFICATIONS); in tearDown()
/cts/tests/app/src/android/app/cts/
DRequestTileServiceAddTest.kt229 PermissionUtils.revokePermission(packageName, permission) in withPermission()
DActivityManagerFgsDelegateTest.java909 PermissionUtils.revokePermission( in allowBgFgsStart()
DActivityManagerTest.java1960 PermissionUtils.revokePermission( in testGetUidProcessState_checkAccess()
1999 PermissionUtils.revokePermission( in testGetUidProcessCapabilities_checkAccess()
DActivityManagerFgsBgStartTest.java2543 PermissionUtils.revokePermission( in allowBgActivityStart()
DActivityManagerProcessStateTest.java353 PermissionUtils.revokePermission( in testUidImportanceListener()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerTest.java292 PermissionUtils.revokePermission(STUB_PACKAGE_NAME, POST_NOTIFICATIONS); in tearDown()
293 PermissionUtils.revokePermission(TEST_APP, POST_NOTIFICATIONS); in tearDown()
294 PermissionUtils.revokePermission(TRAMPOLINE_APP, POST_NOTIFICATIONS); in tearDown()
295 PermissionUtils.revokePermission(NOTIFICATIONPROVIDER, POST_NOTIFICATIONS); in tearDown()
296 PermissionUtils.revokePermission(PRESSURE_APP_00, POST_NOTIFICATIONS); in tearDown()
297 PermissionUtils.revokePermission(PRESSURE_APP_01, POST_NOTIFICATIONS); in tearDown()
298 PermissionUtils.revokePermission(PRESSURE_APP_02, POST_NOTIFICATIONS); in tearDown()
299 PermissionUtils.revokePermission(PRESSURE_APP_03, POST_NOTIFICATIONS); in tearDown()
300 PermissionUtils.revokePermission(PRESSURE_APP_04, POST_NOTIFICATIONS); in tearDown()
301 PermissionUtils.revokePermission(PRESSURE_APP_05, POST_NOTIFICATIONS); in tearDown()
[all …]
DNotificationManagerBubbleTest.java131 PermissionUtils.revokePermission(STUB_PACKAGE_NAME, POST_NOTIFICATIONS); in tearDown()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java217 public static void revokePermission(String packageName, String permission) { in revokePermission() method in TestUtils
743 revokePermission(packageName, Manifest.permission.READ_EXTERNAL_STORAGE); in addressStoragePermissions()
745 revokePermission(packageName, Manifest.permission.READ_MEDIA_IMAGES); in addressStoragePermissions()
746 revokePermission(packageName, Manifest.permission.READ_MEDIA_AUDIO); in addressStoragePermissions()
747 revokePermission(packageName, Manifest.permission.READ_MEDIA_VIDEO); in addressStoragePermissions()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DPermissionsTest.java338 private void revokePermission(String sensorPermission) { in revokePermission() method in PermissionsTest
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceOwnerTest.java1049 revokePermission(DEVICE_OWNER_PKG, PERMISSION_INTERACT_ACROSS_USERS, mDeviceOwnerUserId); in testListForegroundAffiliatedUsers_onlyForegroundUserCalledByDeviceOwner()
DBaseDevicePolicyTest.java1262 protected void revokePermission(String pkg, String permission, int userId) throws Exception { in revokePermission() method in BaseDevicePolicyTest
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java91 import static android.scopedstorage.cts.lib.TestUtils.revokePermission;
1352 revokePermission( in testAccessMediaLocationInvalidation()
1402 revokePermission(APP_E_LEGACY.getPackageName(), in testAppUpdateInvalidation()
1448 revokePermission(packageName, permission); in assertAppOpInvalidation()
1467 revokePermission(packageName, permission); in assertAppOpInvalidation()