Home
last modified time | relevance | path

Searched refs:toPackage (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/app/
DIUriGrantsManager.aidl28 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
DContextImpl.java1981 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/
DSliceManager.java450 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/
DUriGrantsManagerService.java299 @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/
DContextWrapper.java837 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission() argument
838 mBase.grantUriPermission(toPackage, uri, modeFlags); in grantUriPermission()
DContext.java5079 public abstract void grantUriPermission(String toPackage, Uri uri, in grantUriPermission() argument
5133 public abstract void revokeUriPermission(String toPackage, Uri uri, in revokeUriPermission() argument
DContentResolver.java2440 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/
DMockContext.java690 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission() argument