Home
last modified time | relevance | path

Searched refs:grantRuntimePermission (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionUpgrade.kt122 grantRuntimePermission( in <lambda>()
148 grantRuntimePermission( in <lambda>()
179 grantRuntimePermission(packageState, userId, permissionName) in <lambda>()
221 grantRuntimePermission( in <lambda>()
250 grantRuntimePermission( in <lambda>()
259 private fun MutateStateScope.grantRuntimePermission( in <lambda>() method in com.android.server.permission.access.permission.AppIdPermissionUpgrade
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsDeviceAwareServiceTest.java80 mPermissionManager.grantRuntimePermission( in setUp()
85 mPermissionManager.grantRuntimePermission( in setUp()
DAppOpsActiveWatcherTest.java168 permissionManager.grantRuntimePermission( in testWatchActiveOpsForExternalDevice()
/frameworks/base/core/java/android/app/
DIUiAutomationConnection.aidl56 void grantRuntimePermission(String packageName, String permission, int userId); in grantRuntimePermission() method
DUiAutomationConnection.java357 public void grantRuntimePermission(String packageName, String permission, int userId) in grantRuntimePermission() method in UiAutomationConnection
366 mPermissionManager.grantRuntimePermission(packageName, permission, in grantRuntimePermission()
DUiAutomation.java1539 public void grantRuntimePermission(String packageName, String permission) { in grantRuntimePermission() method in UiAutomation
1550 public boolean grantRuntimePermission(String packageName, String permission, in grantRuntimePermission() method in UiAutomation
1571 mUiAutomationConnection.grantRuntimePermission(packageName, in grantRuntimePermissionAsUser()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPermissionHelperTest.java249 verify(mPermManager).grantRuntimePermission( in testSetNotificationPermission_grantUserSet()
269 verify(mPermManager).grantRuntimePermission( in testSetNotificationPermission_pkgPerm_grantedByDefaultPermSet_allUserSet()
299 verify(mPermManager).grantRuntimePermission( in testSetNotificationPermission_grantNotUserSet()
352 verify(mPermManager, never()).grantRuntimePermission( in testSetNotificationPermission_alreadyGrantedNotRegranted()
/frameworks/base/core/java/android/permission/
DIPermissionManager.aidl68 void grantRuntimePermission(String packageName, String permissionName, in grantRuntimePermission() method
DPermissionManager.java635 public void grantRuntimePermission(@NonNull String packageName, in grantRuntimePermission() method in PermissionManager
662 public void grantRuntimePermission(@NonNull String packageName, in grantRuntimePermission() method in PermissionManager
679 mPermissionManager.grantRuntimePermission(packageName, permissionName, in grantRuntimePermissionInternal()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/apps/
DAppsEnterPipTransition.kt41 instrumentation.uiAutomation.grantRuntimePermission( in <lambda>()
/frameworks/base/test-mock/api/
Dsystem-current.txt24 method @Deprecated public void grantRuntimePermission(String, String, android.os.UserHandle);
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceTestingShim.java240 public void grantRuntimePermission(String packageName, String permName, String deviceId, in grantRuntimePermission() method in PermissionManagerServiceTestingShim
242 mOldImplementation.grantRuntimePermission(packageName, permName, deviceId, userId); in grantRuntimePermission()
243 mNewImplementation.grantRuntimePermission(packageName, permName, deviceId, userId); in grantRuntimePermission()
DPermissionManagerServiceLoggingDecorator.java187 public void grantRuntimePermission(String packageName, String permName, String deviceId, in grantRuntimePermission() method in PermissionManagerServiceLoggingDecorator
191 mService.grantRuntimePermission(packageName, permName, deviceId, userId); in grantRuntimePermission()
DPermissionManagerServiceInterface.java303 void grantRuntimePermission(String packageName, String permName, String deviceId, in grantRuntimePermission() method
DPermissionManagerServiceTracingDecorator.java258 public void grantRuntimePermission(String packageName, String permName, String deviceId, in grantRuntimePermission() method in PermissionManagerServiceTracingDecorator
263 mService.grantRuntimePermission(packageName, permName, deviceId, userId); in grantRuntimePermission()
DPermissionManagerService.java583 public void grantRuntimePermission(String packageName, String permissionName, in grantRuntimePermission() method in PermissionManagerService
585 mPermissionManagerServiceImpl.grantRuntimePermission(packageName, permissionName, in grantRuntimePermission()
/frameworks/base/services/core/java/com/android/server/notification/
DPermissionHelper.java199 mPermManager.grantRuntimePermission(packageName, NOTIFICATION_PERMISSION, in setNotificationPermission()
/frameworks/base/services/core/java/com/android/server/pm/
DIPackageManagerBase.java865 public final void grantRuntimePermission(String packageName, String permName, in grantRuntimePermission() method in IPackageManagerBase
870 .grantRuntimePermission(packageName, permName, UserHandle.of(userId)); in grantRuntimePermission()
DInstantAppRegistry.java1035 .grantRuntimePermission(pkg.getPackageName(), grantedPermission,
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java239 public void grantRuntimePermission(String packageName, String permissionName, in grantRuntimePermission() method in PackageManagerStub
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java295 public void grantRuntimePermission(String packageName, String permissionName, UserHandle user) { in grantRuntimePermission() method in BridgePackageManager
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl792 void grantRuntimePermission(String packageName, String permissionName, int userId); in grantRuntimePermission() method
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java273 public void grantRuntimePermission(String packageName, String permissionName, in grantRuntimePermission() method in MockPackageManager
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java268 public void grantRuntimePermission(@NonNull String packageName, @NonNull String permName, in grantRuntimePermission() method in MockPackageManager
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java1076 mContext.getPackageManager().grantRuntimePermission(pkg, in grantCoarseLocationPermissionIfNeeded()

12