Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPermissionHelperTest.java186 verify(mPermManager).grantRuntimePermission( in testSetNotificationPermission_grantUserSet()
205 verify(mPermManager).grantRuntimePermission( in testSetNotificationPermission_pkgPerm_grantedByDefaultPermSet_allUserSet()
233 verify(mPermManager).grantRuntimePermission( in testSetNotificationPermission_grantNotUserSet()
285 verify(mPermManager, never()).grantRuntimePermission( in testSetNotificationPermission_alreadyGrantedNotRegranted()
/frameworks/base/core/java/android/app/
DIUiAutomationConnection.aidl53 void grantRuntimePermission(String packageName, String permission, int userId); in grantRuntimePermission() method
DUiAutomationConnection.java335 public void grantRuntimePermission(String packageName, String permission, int userId) in grantRuntimePermission() method in UiAutomationConnection
344 mPermissionManager.grantRuntimePermission(packageName, permission, userId); in grantRuntimePermission()
DUiAutomation.java1276 public void grantRuntimePermission(String packageName, String permission) { in grantRuntimePermission() method in UiAutomation
1287 public boolean grantRuntimePermission(String packageName, String permission, in grantRuntimePermission() method in UiAutomation
1307 mUiAutomationConnection.grantRuntimePermission(packageName, in grantRuntimePermissionAsUser()
DApplicationPackageManager.java877 public void grantRuntimePermission(String packageName, String permissionName, in grantRuntimePermission() method in ApplicationPackageManager
879 getPermissionManager().grantRuntimePermission(packageName, permissionName, user); in grantRuntimePermission()
/frameworks/base/core/java/android/permission/
DIPermissionManager.aidl65 void grantRuntimePermission(String packageName, String permissionName, int userId); in grantRuntimePermission() method
DPermissionManager.java588 public void grantRuntimePermission(@NonNull String packageName, in grantRuntimePermission() method in PermissionManager
597 mPermissionManager.grantRuntimePermission(packageName, permissionName, in grantRuntimePermission()
/frameworks/base/test-mock/api/
Dsystem-current.txt26 method public void grantRuntimePermission(String, String, android.os.UserHandle);
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceInterface.java297 void grantRuntimePermission(String packageName, String permName, int userId); in grantRuntimePermission() method
DPermissionManagerService.java544 public void grantRuntimePermission(String packageName, String permissionName, int userId) { in grantRuntimePermission() method in PermissionManagerService
545 mPermissionManagerServiceImpl.grantRuntimePermission(packageName, permissionName, userId); in grantRuntimePermission()
DDefaultPermissionGrantPolicy.java268 mContext.getPackageManager().grantRuntimePermission(pkg.packageName, permission,
DPermissionManagerServiceImpl.java1313 public void grantRuntimePermission(String packageName, String permName, final int userId) { in grantRuntimePermission() method in PermissionManagerServiceImpl
/frameworks/base/services/core/java/com/android/server/notification/
DPermissionHelper.java175 mPermManager.grantRuntimePermission(packageName, NOTIFICATION_PERMISSION, userId); in setNotificationPermission()
/frameworks/base/services/core/java/com/android/server/pm/
DIPackageManagerBase.java852 public final void grantRuntimePermission(String packageName, String permName, in grantRuntimePermission() method in IPackageManagerBase
857 .grantRuntimePermission(packageName, permName, UserHandle.of(userId)); in grantRuntimePermission()
DInstantAppRegistry.java1035 .grantRuntimePermission(pkg.getPackageName(), grantedPermission,
DPackageManagerShellCommand.java2546 mPermissionManager.grantRuntimePermission(pkg, perm, translatedUser); in runGrantRevokePermission()
/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/core/java/android/content/pm/
DIPackageManager.aidl771 void grantRuntimePermission(String packageName, String permissionName, int userId); in grantRuntimePermission() method
DPackageManager.java5939 public abstract void grantRuntimePermission(@NonNull String packageName, in grantRuntimePermission() method in PackageManager
/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/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.java1072 mContext.getPackageManager().grantRuntimePermission(pkg, in grantCoarseLocationPermissionIfNeeded()
/frameworks/base/services/
Dart-profile-boot183 Lcom/android/server/pm/permission/PermissionsState;->grantRuntimePermission(Lcom/android/server/pm/…
/frameworks/base/core/api/
Dtest-current.txt438 method @Deprecated public boolean grantRuntimePermission(String, String, android.os.UserHandle);

12