Home
last modified time | relevance | path

Searched refs:SliceCallback (Results 1 – 7 of 7) sorted by relevance

/frameworks/support/slices/view/src/main/java/androidx/slice/
DSliceManagerBase.java40 private final ArrayMap<Pair<Uri, SliceCallback>, SliceListenerImpl> mListenerLookup =
49 public void registerSliceCallback(@NonNull Uri uri, @NonNull SliceCallback callback) { in registerSliceCallback()
61 @NonNull SliceCallback callback) { in registerSliceCallback()
66 public void unregisterSliceCallback(@NonNull Uri uri, @NonNull SliceCallback callback) { in unregisterSliceCallback()
72 private SliceListenerImpl getListener(Uri uri, SliceCallback callback, in getListener()
74 Pair<Uri, SliceCallback> key = new Pair<>(uri, callback); in getListener()
86 private final SliceCallback mCallback;
89 SliceListenerImpl(Uri uri, Executor executor, SliceCallback callback) { in SliceListenerImpl()
DSliceManager.java73 public abstract void registerSliceCallback(@NonNull Uri uri, @NonNull SliceCallback callback); in registerSliceCallback()
88 @NonNull SliceCallback callback); in registerSliceCallback()
100 public abstract void unregisterSliceCallback(@NonNull Uri uri, @NonNull SliceCallback callback); in unregisterSliceCallback()
243 public interface SliceCallback { interface in SliceManager
/frameworks/support/slices/view/api_legacy/
Dcurrent.txt9 …ic abstract void registerSliceCallback(android.net.Uri, androidx.slice.SliceManager.SliceCallback);
10 …allback(android.net.Uri, java.util.concurrent.Executor, androidx.slice.SliceManager.SliceCallback);
12 … abstract void unregisterSliceCallback(android.net.Uri, androidx.slice.SliceManager.SliceCallback);
15 public static abstract interface SliceManager.SliceCallback {
D28.0.0-alpha1.txt9 …bstract void registerSliceCallback(android.net.Uri, androidx.app.slice.SliceManager.SliceCallback);
10 …ack(android.net.Uri, java.util.concurrent.Executor, androidx.app.slice.SliceManager.SliceCallback);
12 …tract void unregisterSliceCallback(android.net.Uri, androidx.app.slice.SliceManager.SliceCallback);
15 public static abstract interface SliceManager.SliceCallback {
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
DSliceLiveData.java128 private final SliceManager.SliceCallback mSliceCallback = new SliceManager.SliceCallback() {
/frameworks/support/slices/view/api/
Dcurrent.txt14 …ic abstract void registerSliceCallback(android.net.Uri, androidx.slice.SliceManager.SliceCallback);
15 …allback(android.net.Uri, java.util.concurrent.Executor, androidx.slice.SliceManager.SliceCallback);
18 … abstract void unregisterSliceCallback(android.net.Uri, androidx.slice.SliceManager.SliceCallback);
21 public static abstract interface SliceManager.SliceCallback {
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/
DSliceManagerTest.java127 SliceManager.SliceCallback callback = mock(SliceManager.SliceCallback.class); in testCallback()