Home
last modified time | relevance | path

Searched refs:grantRuntimePermission (Results 1 – 19 of 19) 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.java566 public void grantRuntimePermission(String packageName, String permissionName, in grantRuntimePermission() method in ApplicationPackageManager
569 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.java3320 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.java939 mService.grantRuntimePermission(pkg.packageName, permission, userId); in grantRuntimePermissionsLPw()
DPackageManagerService.java1823 grantRuntimePermission(pkg.packageName, permission, userId); in grantRuntimePermissionsGrantedToDisabledPrivSysPackageParentLPw()
1918 grantRuntimePermission(pkg.packageName, permission, userId); in grantRequestedRuntimePermissionsForUser()
4025 public void grantRuntimePermission(String packageName, String name, final int userId) {
4094 final int result = permissionsState.grantRuntimePermission(bp, userId);
10134 if (permissionsState.grantRuntimePermission(bp, userId) == in grantPermissionsLPw()
10170 if (permissionsState.grantRuntimePermission(bp, userId) in grantPermissionsLPw()
10200 if (permissionsState.grantRuntimePermission(bp, userId) != in grantPermissionsLPw()
16787 if (permissionsState.grantRuntimePermission(bp, userId) in resetUserChangesToRuntimePermissionsAndFlagsLPw()
17711 perms.grantRuntimePermission(bp, userId); in processRestoredPermissionGrantsLPr()
DSettings.java489 perms.grantRuntimePermission(bp, userId); in applyPendingPermissionGrantsLPw()
5316 permissionsState.grantRuntimePermission(bp, userId); in parsePermissionsLPr()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java226 public void grantRuntimePermission(String packageName, String permissionName, UserHandle user) { in grantRuntimePermission() method in BridgePackageManager
/frameworks/base/services/retaildemo/java/com/android/server/retaildemo/
DRetailDemoModeService.java421 pm.grantRuntimePermission(handler.activityInfo.packageName, in grantRuntimePermissionToCamera()
/frameworks/base/test-runner/src/android/test/mock/
DMockPackageManager.java247 public void grantRuntimePermission(String packageName, String permissionName, in grantRuntimePermission() method in MockPackageManager
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java754 mContext.getPackageManager().grantRuntimePermission(pkg, in grantCoarseLocationPermissionIfNeeded()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java1305 mPm.grantRuntimePermission(pkg, perm, userId); in runGrantRevokePermission()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java8627 packageManager.grantRuntimePermission(packageName, permission, user); in setPermissionGrantState()
/frameworks/base/api/
Dsystem-current.txt10146 …method public abstract void grantRuntimePermission(java.lang.String, java.lang.String, android.os.…
41306 …method public void grantRuntimePermission(java.lang.String, java.lang.String, android.os.UserHandl…
Dtest-current.txt5656 …method public boolean grantRuntimePermission(java.lang.String, java.lang.String, android.os.UserHa…