/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | RevokePermissionTest.kt | 138 pm.revokeRuntimePermission(packageName, permission, Process.myUserHandle()) in testRevoke() 140 pm.revokeRuntimePermission( in testRevoke() 150 pm.revokeRuntimePermission(packageName, permission, Process.myUserHandle()) in testRevoke() 152 pm.revokeRuntimePermission( in testRevoke()
|
D | PermissionControllerTest.java | 242 sUiAutomation.revokeRuntimePermission(APP, ACCESS_BACKGROUND_LOCATION); in revokePermissionsDoNotAlreadyRevokedPermission() 437 sController.revokeRuntimePermission(APP2, READ_CALENDAR); in revokePermissionAutomaticallyExtendsToWholeGroup() 453 sController.revokeRuntimePermission(APP2, CUSTOM_PERMISSION); in revokePermissionCustom() 465 () -> sController.revokeRuntimePermission("invalid.package", READ_CALENDAR)); in revokePermissionWithInvalidPkg() 472 () -> sController.revokeRuntimePermission(APP2, "invalid.permission")); in revokePermissionWithInvalidPermission() 477 sController.revokeRuntimePermission(null, READ_CALENDAR); in revokePermissionWithNullPkg() 482 sController.revokeRuntimePermission(APP2, null); in revokePermissionWithNullPermission()
|
D | DevicePermissionsTest.kt | 232 permissionManager.revokeRuntimePermission( in testGrantAndRevokeDeviceAwarePermissionByPersistentDeviceId() 328 permissionManager.revokeRuntimePermission( in testAllPermissionStatesApiGrantForVirtualDevice() 420 permissionManager.revokeRuntimePermission( in testAllPermissionStatesApiGrantForDefaultDevice() 527 context.packageManager.revokeRuntimePermission( in revokePermissionAndAssertDenied()
|
D | PermissionUpdateListenerTest.java | 190 packageManager.revokeRuntimePermission(PACKAGE_NAME, PERMISSION_NAME, in testRevokePermissionNotifyListener()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | EmergencyCallHelper.java | 184 mContext.getPackageManager().revokeRuntimePermission(systemDialerPackage, in revokeLocationPermission() 194 mContext.getPackageManager().revokeRuntimePermission(systemDialerPackage, in revokeLocationPermission()
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | RevokedHealthPermissionRule.java | 46 .revokeRuntimePermission(mPackageName, mPermission); in before()
|
D | PermissionHelper.java | 196 packageManager.revokeRuntimePermission(packageName, permission, user); in revokeHealthPermissionsPrivileged() 256 permission -> uiAutomation.revokeRuntimePermission(packageName, permission)); in runWithRevokedPermissions()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowPermissionControllerManager.java | 46 protected void revokeRuntimePermission(String packageName, String permissionName) { in revokeRuntimePermission() method in ShadowPermissionControllerManager
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | EmergencyCallHelperTest.java | 104 verify(mPackageManager, times(1)).revokeRuntimePermission(eq(SYSTEM_DIALER_PACKAGE), in verifyRevokeInvokedFor() 109 verify(mPackageManager, never()).revokeRuntimePermission(eq(SYSTEM_DIALER_PACKAGE), in verifyRevokeNotInvokedFor()
|
D | InCallControllerTests.java | 589 verify(mMockPackageManager).revokeRuntimePermission(eq(SYS_PKG), in testBindToService_SystemDialer_Emergency() 795 verify(mMockPackageManager).revokeRuntimePermission(eq(SYS_PKG), in testBindToService_SystemDialer_Crash()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/ |
D | HealthConnectPermissionHelper.java | 142 mPackageManager.revokeRuntimePermission( in revokeHealthPermission() 378 mPackageManager.revokeRuntimePermission(packageName, perm, user, reason); in revokeAllHealthPermissionsUnchecked()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/v35/ |
D | MultiDeviceUtils.kt | 317 permissionManager.revokeRuntimePermission( in <lambda>()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/ |
D | UiTestUtils.kt | 339 { pm.revokeRuntimePermission(packageName, permName, context.user, /* reason= */ "") }, in revokePermissionViaPackageManager()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/backgroundread/ |
D | BackgroundReadTest.java | 273 mPackageManager.revokeRuntimePermission( in revokeBackgroundReadPermissionForTestApp()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | KotlinUtils.kt | 1160 revokeRuntimePermission( in <lambda>() 1276 private fun revokeRuntimePermission( in <lambda>() method 1312 context.packageManager.revokeRuntimePermission( in <lambda>()
|
/packages/modules/Permission/tests/cts/permission/permissionTestUtilLib/src/android/permission/cts/ |
D | PermissionUtils.java | 242 sUiAutomation.revokeRuntimePermission(packageName, permission); in revokePermission()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
D | AppPermissionGroup.java | 1578 mPackageManager.revokeRuntimePermission(mPackageInfo.packageName, 1581 mPackageManager.revokeRuntimePermission(mPackageInfo.packageName,
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/utils/ |
D | GrantRevokeTests.kt | 334 verify(pm).revokeRuntimePermission(TEST_PACKAGE_NAME, permName, TEST_USER) in verifyPermissionState() 338 verify(pm, never()).revokeRuntimePermission(TEST_PACKAGE_NAME, permName, TEST_USER) in verifyPermissionState()
|
/packages/modules/Virtualization/tests/helper/src/java/com/android/microdroid/test/device/ |
D | MicrodroidDeviceTestBase.java | 108 uiAutomation.revokeRuntimePermission(instrumentation.getContext().getPackageName(), in revokePermission()
|
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/permissions/ |
D | HealthConnectWithManagePermissionsTest.java | 631 .revokeRuntimePermission( in revokePermissionViaPackageManager()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/ |
D | Permissions.java | 700 packageManager.revokeRuntimePermission(packageName, permission, user); in revokePermissionWithoutAppOpAsUser()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/ |
D | DataMigrationTest.java | 1119 packageManager.revokeRuntimePermission(packageName, permission, user); in revokeHealthPermissionsPrivileged()
|