Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/app/
DIUiAutomationConnection.aidl49 void grantRuntimePermission(String packageName, String permission, int userId); in grantRuntimePermission() method
DUiAutomation.java1005 public void grantRuntimePermission(String packageName, String permission) { in grantRuntimePermission() method in UiAutomation
1016 public boolean grantRuntimePermission(String packageName, String permission, in grantRuntimePermission() method in UiAutomation
1038 mUiAutomationConnection.grantRuntimePermission(packageName, in grantRuntimePermissionAsUser()
DUiAutomationConnection.java272 public void grantRuntimePermission(String packageName, String permission, int userId) in grantRuntimePermission() method in UiAutomationConnection
281 mPackageManager.grantRuntimePermission(packageName, permission, userId); in grantRuntimePermission()
DApplicationPackageManager.java681 public void grantRuntimePermission(String packageName, String permissionName, in grantRuntimePermission() method in ApplicationPackageManager
684 mPM.grantRuntimePermission(packageName, permissionName, user.getIdentifier()); in grantRuntimePermission()
/frameworks/base/test-mock/api/
Dtest-current.txt20 method public void grantRuntimePermission(String, String, android.os.UserHandle);
Dsystem-current.txt26 method public void grantRuntimePermission(String, String, android.os.UserHandle);
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java1146 if (permissionsState.grantRuntimePermission(bp, userId) in restorePermissionState()
1166 && permissionsState.grantRuntimePermission(bp, userId) in restorePermissionState()
1280 if (permissionsState.grantRuntimePermission(bp, userId) != in restorePermissionState()
1287 && permissionsState.grantRuntimePermission(bp, in restorePermissionState()
1496 ps.grantRuntimePermission(mSettings.getPermissionLocked(newPerm), userId); in inheritPermissionStateToNewImplicitPermissionLocked()
1990 grantRuntimePermission( in grantRuntimePermissionsGrantedToDisabledPackageLocked()
2074 grantRuntimePermission(permission, pkg.packageName, false, callingUid, in grantRequestedRuntimePermissionsForUser()
2090 private void grantRuntimePermission(String permName, String packageName, boolean overridePolicy, in grantRuntimePermission() method in PermissionManagerService
2187 final int result = permissionsState.grantRuntimePermission(bp, userId); in grantRuntimePermission()
3082 public void grantRuntimePermission(String permName, String packageName, in grantRuntimePermission() method in PermissionManagerService.PermissionManagerServiceInternalImpl
[all …]
DPermissionManagerServiceInternal.java72 public abstract void grantRuntimePermission( in grantRuntimePermission() method in PermissionManagerServiceInternal
DPermissionsState.java221 public int grantRuntimePermission(BasePermission permission, int userId) { in grantRuntimePermission() method in PermissionsState
DDefaultPermissionGrantPolicy.java1221 .grantRuntimePermission(pkg.packageName, permission, user); in grantRuntimePermissions()
/frameworks/base/core/java/android/content/pm/
DPackageManagerInternal.java486 public abstract void grantRuntimePermission(String packageName, String name, int userId, in grantRuntimePermission() method in PackageManagerInternal
DIPackageManager.aidl121 void grantRuntimePermission(String packageName, String permissionName, int userId); in grantRuntimePermission() method
DPackageManager.java4068 public abstract void grantRuntimePermission(@NonNull String packageName, in grantRuntimePermission() method in PackageManager
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java256 public void grantRuntimePermission(String packageName, String permissionName, UserHandle user) { in grantRuntimePermission() method in BridgePackageManager
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java239 public void grantRuntimePermission(String packageName, String permissionName, in grantRuntimePermission() method in PackageManagerStub
/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/core/java/com/android/server/vr/
DVrManagerService.java1068 mContext.getPackageManager().grantRuntimePermission(pkg, in grantCoarseLocationPermissionIfNeeded()
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppRegistry.java906 mService.grantRuntimePermission(pkg.packageName, grantedPermission, userId); in propagateInstantAppPermissionsIfNeeded()
DPackageManagerShellCommand.java2117 mInterface.grantRuntimePermission(pkg, perm, userId); in runGrantRevokePermission()
DPackageManagerService.java5655 public void grantRuntimePermission(String packageName, String permName, final int userId) {
5660 mPermissionManager.grantRuntimePermission(permName, packageName, overridePolicy,
19387 mPermissionManager.grantRuntimePermission(permName, packageName, false,
24129 public void grantRuntimePermission(String packageName, String permName, int userId,
24131 PackageManagerService.this.mPermissionManager.grantRuntimePermission(
DSettings.java5439 permissionsState.grantRuntimePermission(bp, userId); in parsePermissionsLPr()
/frameworks/base/api/
Dtest-lint-baseline.txt644 MissingNullability: android.app.UiAutomation#grantRuntimePermission(String, String, android.os.User…
646 MissingNullability: android.app.UiAutomation#grantRuntimePermission(String, String, android.os.User…
648 MissingNullability: android.app.UiAutomation#grantRuntimePermission(String, String, android.os.User…
2713 UserHandle: android.content.pm.PackageManager#grantRuntimePermission(String, String, android.os.Use…
Dtest-current.txt379 method @Deprecated public boolean grantRuntimePermission(String, String, android.os.UserHandle);
722 …roid.permission.GRANT_RUNTIME_PERMISSIONS") public abstract void grantRuntimePermission(@NonNull S…
Dsystem-current.txt1806 …ifest.permission.GRANT_RUNTIME_PERMISSIONS) public abstract void grantRuntimePermission(@NonNull S…
/frameworks/base/services/
Dart-profile11006 HSPLcom/android/server/pm/PackageManagerService;->grantRuntimePermission(Ljava/lang/String;Ljava/la…
12064 …/PermissionManagerService$PermissionManagerServiceInternalImpl;->grantRuntimePermission(Ljava/lang…
12096 HSPLcom/android/server/pm/permission/PermissionManagerService;->grantRuntimePermission(Ljava/lang/S…
12157 HSPLcom/android/server/pm/permission/PermissionsState;->grantRuntimePermission(Lcom/android/server/…

12