/cts/tests/tests/permission/src/android/permission/cts/ |
D | SplitPermissionTest.java | 31 import static android.permission.cts.PermissionUtils.revokePermission; 363 revokePermission(APP_PKG, READ_CONTACTS); in inheritRevokedPermissionStatePreM() 401 revokePermission(APP_PKG, READ_CONTACTS); in grantNewSplitPermissionStatePreM() 419 revokePermission(APP_PKG, ACCESS_BACKGROUND_LOCATION); in revokeNewSplitPermissionState() 433 revokePermission(APP_PKG, READ_CALL_LOG); in revokeNewSplitPermissionStatePreM() 557 revokePermission(APP_PKG, READ_CONTACTS); in oldPermissionStaysRevokedOnUpgradePreM()
|
D | SharedUidPermissionsTest.java | 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()
|
D | NearbyDevicesPermissionTest.java | 25 import static android.permission.cts.PermissionUtils.revokePermission; 265 revokePermission(TEST_APP_PKG, BLUETOOTH_CONNECT); in testRequestBluetoothPermission_Downgrade() 266 revokePermission(TEST_APP_PKG, BLUETOOTH_SCAN); in testRequestBluetoothPermission_Downgrade()
|
/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/tests/tests/display/src/android/display/cts/ |
D | BrightnessTest.java | 88 revokePermission(Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS); in tearDown() 89 revokePermission(Manifest.permission.BRIGHTNESS_SLIDER_USAGE); in tearDown() 226 revokePermission(Manifest.permission.BRIGHTNESS_SLIDER_USAGE); in testSliderUsagePermission() 239 revokePermission(Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS); in testConfigureBrightnessPermission() 578 private void revokePermission(String permission) { in revokePermission() method in BrightnessTest
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | PermissionsTest.java | 407 revokePermission(sensorPermission); in testSensorsRelatedPermissionsNotGrantedViaPolicy() 416 private void revokePermission(String sensorPermission) { in revokePermission() method in PermissionsTest
|
/cts/tests/tests/permission/permissionTestUtilLib/src/android/permission/cts/ |
D | PermissionUtils.java | 230 public static void revokePermission(@NonNull String packageName, @NonNull String permission) in revokePermission() method in PermissionUtils
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceOwnerTest.java | 964 revokePermission(DEVICE_OWNER_PKG, PERMISSION_INTERACT_ACROSS_USERS, mDeviceOwnerUserId); in testListForegroundAffiliatedUsers_onlyForegroundUserCalledByDeviceOwner()
|
D | BaseDevicePolicyTest.java | 1271 protected void revokePermission(String pkg, String permission, int userId) throws Exception { in revokePermission() method in BaseDevicePolicyTest
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | ScopedStorageDeviceTest.java | 85 import static android.scopedstorage.cts.lib.TestUtils.revokePermission; 1261 revokePermission( in testAccessMediaLocationInvalidation() 1360 revokePermission(packageName, permission); in assertAppOpInvalidation() 1380 revokePermission(packageName, permission); in assertAppOpInvalidation()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 183 public static void revokePermission(String packageName, String permission) { in revokePermission() method in TestUtils
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerFgsBgStartTest.java | 1922 PermissionUtils.revokePermission( in allowBgActivityStart()
|
D | ActivityManagerProcessStateTest.java | 310 PermissionUtils.revokePermission( in testUidImportanceListener()
|