Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DIUiAutomationConnection.aidl46 void grantRuntimePermission(String packageName, String permission, int userId); in grantRuntimePermission() method
DUiAutomationConnection.java239 public void grantRuntimePermission(String packageName, String permission, int userId) in grantRuntimePermission() method in UiAutomationConnection
248 mPackageManager.grantRuntimePermission(packageName, permission, userId); in grantRuntimePermission()
DUiAutomation.java919 public boolean grantRuntimePermission(String packageName, String permission, in grantRuntimePermission() method in UiAutomation
929 mUiAutomationConnection.grantRuntimePermission(packageName, in grantRuntimePermission()
DApplicationPackageManager.java560 public void grantRuntimePermission(String packageName, String permissionName, in grantRuntimePermission() method in ApplicationPackageManager
563 mPM.grantRuntimePermission(packageName, permissionName, user.getIdentifier()); in grantRuntimePermission()
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl101 void grantRuntimePermission(String packageName, String permissionName, int userId); in grantRuntimePermission() method
DPackageManager.java3298 public abstract void grantRuntimePermission(@NonNull String packageName, in grantRuntimePermission() method in PackageManager
/frameworks/base/services/core/java/com/android/server/pm/
DPermissionsState.java180 public int grantRuntimePermission(BasePermission permission, int userId) { in grantRuntimePermission() method in PermissionsState
DEphemeralApplicationRegistry.java442 mService.grantRuntimePermission(pkg.packageName, grantedPermission, userId); in propagateEphemeralAppPermissionsIfNeeded()
DDefaultPermissionGrantPolicy.java856 mService.grantRuntimePermission(pkg.packageName, permission, userId); in grantRuntimePermissionsLPw()
DPackageManagerService.java2002 grantRuntimePermission(pkg.packageName, permission, userId); in grantRuntimePermissionsGrantedToDisabledPrivSysPackageParentLPw()
2097 grantRuntimePermission(pkg.packageName, permission, userId); in grantRequestedRuntimePermissionsForUser()
4103 public void grantRuntimePermission(String packageName, String name, final int userId) {
4172 final int result = permissionsState.grantRuntimePermission(bp, userId);
10093 if (permissionsState.grantRuntimePermission(bp, userId) ==
10125 if (permissionsState.grantRuntimePermission(bp, userId)
10155 if (permissionsState.grantRuntimePermission(bp, userId) !=
16594 if (permissionsState.grantRuntimePermission(bp, userId)
17494 perms.grantRuntimePermission(bp, userId);
DSettings.java489 perms.grantRuntimePermission(bp, userId); in applyPendingPermissionGrantsLPw()
5305 permissionsState.grantRuntimePermission(bp, userId); in parsePermissionsLPr()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java221 public void grantRuntimePermission(String packageName, String permissionName, UserHandle user) { in grantRuntimePermission() method in BridgePackageManager
/frameworks/base/test-runner/src/android/test/mock/
DMockPackageManager.java241 public void grantRuntimePermission(String packageName, String permissionName, in grantRuntimePermission() method in MockPackageManager
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java1277 mPm.grantRuntimePermission(pkg, perm, userId); in runGrantRevokePermission()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java8319 packageManager.grantRuntimePermission(packageName, permission, user); in setPermissionGrantState()
/frameworks/base/api/
Dsystem-current.txt10098 …method public abstract void grantRuntimePermission(java.lang.String, java.lang.String, android.os.…
40968 …method public void grantRuntimePermission(java.lang.String, java.lang.String, android.os.UserHandl…
Dtest-current.txt5641 …method public boolean grantRuntimePermission(java.lang.String, java.lang.String, android.os.UserHa…