Home
last modified time | relevance | path

Searched refs:toPkg (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/app/slice/
DISliceManager.aidl34 void grantSlicePermission(String callingPkg, String toPkg, in Uri uri); in grantSlicePermission() argument
35 void revokeSlicePermission(String callingPkg, String toPkg, in Uri uri); in revokeSlicePermission() argument
/frameworks/support/slices/core/src/main/java/androidx/slice/compat/
DCompatPermissionManager.java90 public void grantSlicePermission(Uri uri, String toPkg) { in grantSlicePermission() argument
91 PermissionState state = getPermissionState(toPkg, uri.getAuthority()); in grantSlicePermission()
97 public void revokeSlicePermission(Uri uri, String toPkg) { in revokeSlicePermission() argument
98 PermissionState state = getPermissionState(toPkg, uri.getAuthority()); in revokeSlicePermission()
DSliceProviderCompat.java195 String toPkg = extras.getString(EXTRA_PKG); in call() local
199 mPermissionManager.grantSlicePermission(uri, toPkg); in call()
202 String toPkg = extras.getString(EXTRA_PKG); in call() local
206 mPermissionManager.revokeSlicePermission(uri, toPkg); in call()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java204 public void grantSlicePermission(String pkg, String toPkg, Uri uri) throws RemoteException { in grantSlicePermission() argument
208 mPermissions.grantSliceAccess(toPkg, user, pkg, user, uri); in grantSlicePermission()
212 public void revokeSlicePermission(String pkg, String toPkg, Uri uri) throws RemoteException { in revokeSlicePermission() argument
216 mPermissions.revokeSliceAccess(toPkg, user, pkg, user, uri); in revokeSlicePermission()