/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | PackageSetInstallerTest.kt | 158 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/ |
D | BlobStoreMultiUserTest.java | 66 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()
|
D | BaseBlobStoreHostTest.java | 188 protected void revokePermission(String pkgName, String permissionName, int userId) in revokePermission() method in BaseBlobStoreHostTest
|
/cts/tests/tests/display/src/android/display/cts/ |
D | BrightnessTest.java | 82 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/ |
D | ShortcutManagerThrottlingTest.java | 81 PermissionUtils.revokePermission(TARGET_PACKAGE, Manifest.permission.POST_NOTIFICATIONS); in tearDown()
|
/cts/tests/app/FgsTest/src/android/app/cts/fgstest/ |
D | ActivityManagerForegroundServiceTypeTest.java | 529 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/ |
D | NotificationListenerTest.java | 85 PermissionUtils.revokePermission(SENDER_PACKAGE, POST_NOTIFICATIONS); in tearDown()
|
/cts/tests/app/src/android/app/cts/ |
D | RequestTileServiceAddTest.kt | 229 PermissionUtils.revokePermission(packageName, permission) in withPermission()
|
D | ActivityManagerFgsDelegateTest.java | 909 PermissionUtils.revokePermission( in allowBgFgsStart()
|
D | ActivityManagerTest.java | 1960 PermissionUtils.revokePermission( in testGetUidProcessState_checkAccess() 1999 PermissionUtils.revokePermission( in testGetUidProcessCapabilities_checkAccess()
|
D | ActivityManagerFgsBgStartTest.java | 2543 PermissionUtils.revokePermission( in allowBgActivityStart()
|
D | ActivityManagerProcessStateTest.java | 353 PermissionUtils.revokePermission( in testUidImportanceListener()
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | NotificationManagerTest.java | 292 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 …]
|
D | NotificationManagerBubbleTest.java | 131 PermissionUtils.revokePermission(STUB_PACKAGE_NAME, POST_NOTIFICATIONS); in tearDown()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 217 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/ |
D | PermissionsTest.java | 338 private void revokePermission(String sensorPermission) { in revokePermission() method in PermissionsTest
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceOwnerTest.java | 1049 revokePermission(DEVICE_OWNER_PKG, PERMISSION_INTERACT_ACROSS_USERS, mDeviceOwnerUserId); in testListForegroundAffiliatedUsers_onlyForegroundUserCalledByDeviceOwner()
|
D | BaseDevicePolicyTest.java | 1262 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/ |
D | ScopedStorageDeviceTest.java | 91 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()
|