Home
last modified time | relevance | path

Searched refs:checkSlicePermission (Results 1 – 16 of 16) sorted by relevance

/frameworks/support/slices/view/src/androidTest/java/androidx/slice/
DSlicePermissionTest.java64 mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid)); in testGrant()
69 mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid)); in testGrant()
79 mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid)); in testGrantParent()
84 mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid)); in testGrantParent()
94 mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid)); in testGrantParentExpands()
100 mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid)); in testGrantParentExpands()
102 mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid)); in testGrantParentExpands()
108 mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid)); in testGrantParentExpands()
110 mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid)); in testGrantParentExpands()
120 mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid)); in testGrantChild()
[all …]
/frameworks/support/slices/view/src/main/java/androidx/slice/
DSliceManagerCompat.java80 public int checkSlicePermission(Uri uri, int pid, int uid) { in checkSlicePermission() method in SliceManagerCompat
81 return SliceProviderCompat.checkSlicePermission(mContext, mContext.getPackageName(), uri, in checkSlicePermission()
DSliceManagerWrapper.java94 public int checkSlicePermission(@NonNull Uri uri, int pid, int uid) { in checkSlicePermission() method in SliceManagerWrapper
95 return mManager.checkSlicePermission(uri, pid, uid); in checkSlicePermission()
DSliceManager.java194 public abstract int checkSlicePermission(@NonNull Uri uri, int pid, int uid); in checkSlicePermission() method in SliceManager
/frameworks/support/slices/core/src/androidTest/java/androidx/slice/compat/
DCompatPermissionManagerTest.java86 assertEquals(PERMISSION_DENIED, manager.checkSlicePermission(uri, in testAutoGrant()
89 assertEquals(PERMISSION_GRANTED, manager.checkSlicePermission(uri, grantedPid, grantedUid)); in testAutoGrant()
DSliceProviderCompatTest.java69 when(permissions.checkSlicePermission(any(Uri.class), anyInt(), anyInt())) in testBindWithPermission()
102 when(permissions.checkSlicePermission(any(Uri.class), anyInt(), anyInt())) in testBindWithoutPermission()
/frameworks/support/slices/core/src/main/java/androidx/slice/compat/
DCompatPermissionManager.java63 public int checkSlicePermission(Uri uri, int pid, int uid) { in checkSlicePermission() method in CompatPermissionManager
69 if (checkSlicePermission(uri, pkg) == PERMISSION_GRANTED) { in checkSlicePermission()
85 private int checkSlicePermission(Uri uri, String pkg) { in checkSlicePermission() method in CompatPermissionManager
DSliceProviderCompat.java191 b.putInt(EXTRA_RESULT, mPermissionManager.checkSlicePermission(uri, pid, uid)); in call()
247 if (mPermissionManager.checkSlicePermission(sliceUri, Binder.getCallingPid(), in handleBindSlice()
536 public static int checkSlicePermission(Context context, String packageName, Uri uri, int pid, in checkSlicePermission() method in SliceProviderCompat
/frameworks/base/core/java/android/app/slice/
DISliceManager.aidl36 int checkSlicePermission(in Uri uri, String pkg, int pid, int uid, in checkSlicePermission() method
DSliceManager.java431 public @PermissionResult int checkSlicePermission(@NonNull Uri uri, int pid, int uid) { in checkSlicePermission() method in SliceManager
433 return mService.checkSlicePermission(uri, null, pid, uid, null); in checkSlicePermission()
490 int result = mService.checkSlicePermission(uri, pkg, pid, uid, autoGrantPermissions); in enforceSlicePermission()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java220 public int checkSlicePermission(Uri uri, String pkg, int pid, int uid, in checkSlicePermission() method in SliceManagerService
225 if (checkSlicePermission(uri, p, pid, uid, autoGrantPermissions) in checkSlicePermission()
392 return checkSlicePermission(uri, pkg, uid, pid, null); in checkAccess()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceManagerServiceTest.java122 mService.checkSlicePermission(TEST_URI, mContext.getPackageName(), Process.myPid(), in testCheckAutoGrantPermissions()
/frameworks/support/slices/view/api/
Dcurrent.txt6 method public abstract int checkSlicePermission(android.net.Uri, int, int);
/frameworks/base/config/
Dhiddenapi-public-dex.txt4361 Landroid/app/slice/SliceManager;->checkSlicePermission(Landroid/net/Uri;II)I
Dboot-image-profile.txt16197 HSPLandroid/app/slice/ISliceManager;->checkSlicePermission(Landroid/net/Uri;Ljava/lang/String;II[Lj…
/frameworks/base/api/
Dcurrent.txt7292 method public int checkSlicePermission(android.net.Uri, int, int);