/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | RevokeSelfPermissionTest.java | 144 revokePermission(HIGH_SAMPLING_RATE_SENSORS); in testNormalPermission() 163 revokePermission(ACCESS_FINE_LOCATION); in testKillTriggersRevocation() 176 revokePermission(ACCESS_FINE_LOCATION); in testNoRevocationWhileForeground() 201 revokePermission(ACCESS_BACKGROUND_LOCATION); in testRevokeLocationPermission() 212 revokePermission(ACCESS_FINE_LOCATION); in testRevokeLocationPermission() 220 revokePermission(ACCESS_COARSE_LOCATION); in testRevokeLocationPermission() 237 revokePermission(ACCESS_FINE_LOCATION); in testNoRepromptWhenUserFixed() 299 private void revokePermission(String permName) { in revokePermission() method in RevokeSelfPermissionTest
|
D | SplitPermissionTest.java | 31 import static android.permission.cts.PermissionUtils.revokePermission; 378 revokePermission(APP_PKG, READ_CONTACTS); in inheritRevokedPermissionStatePreM() 419 revokePermission(APP_PKG, READ_CONTACTS); in grantNewSplitPermissionStatePreM() 437 revokePermission(APP_PKG, ACCESS_BACKGROUND_LOCATION); in revokeNewSplitPermissionState() 451 revokePermission(APP_PKG, READ_CALL_LOG); in revokeNewSplitPermissionStatePreM() 578 revokePermission(APP_PKG, READ_CONTACTS); in oldPermissionStaysRevokedOnUpgradePreM()
|
D | SharedUidPermissionsTest.java | 24 import static android.permission.cts.PermissionUtils.revokePermission; 99 revokePermission(PKG_THAT_REQUESTS_PERMISSIONS, READ_CONTACTS); in revokingRuntimePermissionAffectsAllPackageInSharedUid() 111 revokePermission(PKG_THAT_REQUESTS_NO_PERMISSIONS, READ_CONTACTS); in runtimePermissionsCanBeRevokedOnPackageThatDoesNotDeclarePermission()
|
D | NearbyDevicesPermissionTest.java | 25 import static android.permission.cts.PermissionUtils.revokePermission; 280 revokePermission(TEST_APP_PKG, BLUETOOTH_CONNECT); in testRequestBluetoothPermission_Downgrade() 281 revokePermission(TEST_APP_PKG, BLUETOOTH_SCAN); in testRequestBluetoothPermission_Downgrade()
|
/packages/modules/Permission/PermissionController/tests/permissionui/src/com/android/permissioncontroller/permissionui/ui/handheld/ |
D | ManageCustomPermissionsFragmentTest.kt | 22 import android.permission.cts.PermissionUtils.revokePermission 91 revokePermission(USER_PKG, PERM) in groupSummaryGetsUpdatedWhenPermissionGetsRevoked()
|
D | ManageStandardPermissionsFragmentTest.kt | 24 import android.permission.cts.PermissionUtils.revokePermission 176 revokePermission(LOCATION_USER_PKG, ACCESS_COARSE_LOCATION) in groupSummaryGetsUpdatedWhenPermissionGetsRevoked()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/ |
D | AppPermissionViewModel.kt | 213 revokePermission(dataTypePermission, packageName) in <lambda>() 231 private fun revokePermission(fitnessPermission: FitnessPermission, packageName: String) { in <lambda>() method 291 revokePermission(fromPermissionString(READ_EXERCISE), packageName) in <lambda>()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/ |
D | HealthConnectManagerNotAllPermissionsAreGrantedTest.java | 33 import static android.healthconnect.cts.utils.PermissionHelper.revokePermission; 159 revokePermission(packageName, READ_DISTANCE); in testGetChangeLogs_somePermissionsAreNotGranted_expectError()
|
/packages/modules/Virtualization/service_vm/test_apk/src/java/com/android/virt/rkpd/vm_attestation/testapp/ |
D | RkpdVmAttestationTest.java | 97 revokePermission(VirtualMachine.USE_CUSTOM_VIRTUAL_MACHINE_PERMISSION); in setUp()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | SafetyCenterQsFragment.java | 299 revokePermission(usage); in configurePrimaryActionButton() 374 private void revokePermission(PermissionGroupUsage usage) { in revokePermission() method in SafetyCenterQsFragment 375 mViewModel.revokePermission(usage); in revokePermission()
|
/packages/services/Telephony/tests/src/com/android/ |
D | TestContext.java | 269 public void revokePermission(String permission) { in revokePermission() method in TestContext
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | PermissionHelper.java | 125 public static void revokePermission(String pkgName, String permission) { in revokePermission() method in PermissionHelper
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/ |
D | HealthConnectDeviceTest.java | 39 import static android.healthconnect.cts.utils.PermissionHelper.revokePermission; 744 revokePermission(APP_A_WITH_READ_WRITE_PERMS.getPackageName(), healthPerms.get(0)); in testRevokingOnlyOneCorrectPermissionDoesntRemoveAppFromPriorityList() 784 revokePermission(APP_A_WITH_READ_WRITE_PERMS.getPackageName(), perm); in testRevokingAllCorrectPermissionsRemovesAppFromPriorityList()
|
/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/ |
D | MicrodroidTests.java | 162 revokePermission(VirtualMachine.USE_CUSTOM_VIRTUAL_MACHINE_PERMISSION); in setup() 168 revokePermission(VirtualMachine.USE_CUSTOM_VIRTUAL_MACHINE_PERMISSION); in tearDown() 896 revokePermission(VirtualMachine.USE_CUSTOM_VIRTUAL_MACHINE_PERMISSION); in createVmWithConfigRequiresPermission() 2344 revokePermission(VirtualMachine.USE_CUSTOM_VIRTUAL_MACHINE_PERMISSION); in configuringNetworkSupportedRequiresCustomPermission() 2395 revokePermission(VirtualMachine.USE_CUSTOM_VIRTUAL_MACHINE_PERMISSION); in configuringVendorDiskImageRequiresCustomPermission()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/ |
D | SafetyCenterQsViewModel.kt | 127 fun revokePermission(usage: PermissionGroupUsage) { in revokePermission() method
|
/packages/modules/Permission/tests/cts/permission/permissionTestUtilLib/src/android/permission/cts/ |
D | PermissionUtils.java | 240 public static void revokePermission(@NonNull String packageName, @NonNull String permission) in revokePermission() method in PermissionUtils
|
/packages/modules/Virtualization/tests/helper/src/java/com/android/microdroid/test/device/ |
D | MicrodroidDeviceTestBase.java | 105 protected final void revokePermission(String permission) { in revokePermission() method in MicrodroidDeviceTestBase
|