Home
last modified time | relevance | path

Searched refs:mSliceManager (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/slices/view/src/androidTest/java/androidx/slice/
DSlicePermissionTest.java46 private SliceManager mSliceManager; field in SlicePermissionTest
50 mSliceManager = SliceManager.getInstance(mContext); in setup()
58 mSliceManager.revokeSlicePermission(mTestPkg, BASE_URI); in tearDown()
64 mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid)); in testGrant()
66 mSliceManager.grantSlicePermission(mTestPkg, BASE_URI); in testGrant()
69 mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid)); in testGrant()
79 mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid)); in testGrantParent()
81 mSliceManager.grantSlicePermission(mTestPkg, BASE_URI); in testGrantParent()
84 mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid)); in testGrantParent()
94 mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid)); in testGrantParentExpands()
[all …]
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
DSliceLiveData.java82 private final SliceManager mSliceManager; field in SliceLiveData.SliceLiveDataImpl
87 mSliceManager = SliceManager.getInstance(context); in SliceLiveDataImpl()
95 mSliceManager = SliceManager.getInstance(context); in SliceLiveDataImpl()
104 mSliceManager.registerSliceCallback(mUri, mSliceCallback); in onActive()
111 mSliceManager.unregisterSliceCallback(mUri, mSliceCallback); in onInactive()
118 Slice s = mUri != null ? mSliceManager.bindSlice(mUri)
119 : mSliceManager.bindSlice(mIntent);
122 mSliceManager.registerSliceCallback(mUri, mSliceCallback);
/frameworks/base/core/java/android/app/slice/
DSliceProvider.java170 private SliceManager mSliceManager; field in SliceProvider
195 mSliceManager = context.getSystemService(SliceManager.class); in attachInfo()
451 mSliceManager.enforceSlicePermission(sliceUri, pkg, in handleBindSlice()