Searched refs:toPackage (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/app/ |
D | IUriGrantsManager.aidl | 28 void takePersistableUriPermission(in Uri uri, int modeFlags, String toPackage, int userId); in takePersistableUriPermission() argument 29 void releasePersistableUriPermission(in Uri uri, int modeFlags, String toPackage, int userId); in releasePersistableUriPermission() argument
|
D | ContextImpl.java | 1981 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission() argument 1984 mMainThread.getApplicationThread(), toPackage, in grantUriPermission() local
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceManager.java | 450 public void grantSlicePermission(@NonNull String toPackage, @NonNull Uri uri) { in grantSlicePermission() argument 452 mService.grantSlicePermission(mContext.getPackageName(), toPackage, uri); in grantSlicePermission() local 472 public void revokeSlicePermission(@NonNull String toPackage, @NonNull Uri uri) { in revokeSlicePermission() argument 474 mService.revokeSlicePermission(mContext.getPackageName(), toPackage, uri); in revokeSlicePermission() local
|
/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriGrantsManagerService.java | 299 @Nullable String toPackage, int userId) { in takePersistableUriPermission() argument 301 if (toPackage != null) { in takePersistableUriPermission() 304 uid = getPmInternal().getPackageUid(toPackage, 0, userId); in takePersistableUriPermission() 363 @Nullable String toPackage, int userId) { in releasePersistableUriPermission() argument 366 if (toPackage != null) { in releasePersistableUriPermission() 369 uid = getPmInternal().getPackageUid(toPackage, 0, userId); in releasePersistableUriPermission() 385 if (exactPerm == null && prefixPerm == null && toPackage == null) { in releasePersistableUriPermission()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 837 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission() argument 838 mBase.grantUriPermission(toPackage, uri, modeFlags); in grantUriPermission()
|
D | Context.java | 5079 public abstract void grantUriPermission(String toPackage, Uri uri, in grantUriPermission() argument 5133 public abstract void revokeUriPermission(String toPackage, Uri uri, in revokeUriPermission() argument
|
D | ContentResolver.java | 2440 public void takePersistableUriPermission(@NonNull String toPackage, @NonNull Uri uri, 2442 Preconditions.checkNotNull(toPackage, "toPackage"); 2446 ContentProvider.getUriWithoutUserId(uri), modeFlags, toPackage,
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockContext.java | 690 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission() argument
|