/frameworks/support/slices/core/src/main/java/androidx/slice/compat/ |
D | SliceProviderWrapperContainer.java | 23 import android.app.slice.SliceProvider; 46 public static class SliceProviderWrapper extends SliceProvider { 48 private androidx.slice.SliceProvider mSliceProvider; 50 public SliceProviderWrapper(androidx.slice.SliceProvider provider, in SliceProviderWrapper() 69 androidx.slice.SliceProvider.setSpecs(wrap(supportedVersions)); in onBindSlice() 73 androidx.slice.SliceProvider.setSpecs(null); in onBindSlice()
|
D | SliceProviderCompat.java | 20 import static android.app.slice.SliceProvider.SLICE_TYPE; 50 import androidx.slice.SliceProvider; 98 private final SliceProvider mProvider; 102 public SliceProviderCompat(SliceProvider provider, CompatPermissionManager permissionManager, in SliceProviderCompat() 263 SliceProvider.setSpecs(specs); in onBindSliceStrict() 267 SliceProvider.setSpecs(null); in onBindSliceStrict()
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceManager.java | 226 extras.putParcelable(SliceProvider.EXTRA_BIND_URI, uri); in getSliceDescendants() 227 final Bundle res = provider.call(SliceProvider.METHOD_GET_DESCENDANTS, null, extras); in getSliceDescendants() 228 return res.getParcelableArrayList(SliceProvider.EXTRA_SLICE_DESCENDANTS); in getSliceDescendants() 252 extras.putParcelable(SliceProvider.EXTRA_BIND_URI, uri); in bindSlice() 253 extras.putParcelableArrayList(SliceProvider.EXTRA_SUPPORTED_SPECS, in bindSlice() 255 final Bundle res = provider.call(SliceProvider.METHOD_SLICE, null, extras); in bindSlice() 260 return res.getParcelable(SliceProvider.EXTRA_SLICE); in bindSlice() 314 extras.putParcelable(SliceProvider.EXTRA_INTENT, intent); in mapIntentToUri() 315 final Bundle res = provider.call(SliceProvider.METHOD_MAP_ONLY_INTENT, null, extras); in mapIntentToUri() 319 return res.getParcelable(SliceProvider.EXTRA_SLICE); in mapIntentToUri() [all …]
|
D | SliceProvider.java | 95 public abstract class SliceProvider extends ContentProvider { class 184 public SliceProvider(@NonNull String... autoGrantPermissions) { in SliceProvider() method in SliceProvider 188 public SliceProvider() { in SliceProvider() method in SliceProvider
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceShellCommand.java | 17 import android.app.slice.SliceProvider; 78 if (!SliceProvider.SLICE_TYPE.equals(context.getContentResolver().getType(uri))) { in runGetPermissions() 82 Bundle b = context.getContentResolver().call(uri, SliceProvider.METHOD_GET_PERMISSIONS, in runGetPermissions() 88 String[] permissions = b.getStringArray(SliceProvider.EXTRA_RESULT); in runGetPermissions()
|
D | PinnedSliceState.java | 17 import android.app.slice.SliceProvider; 188 b.putParcelable(SliceProvider.EXTRA_BIND_URI, mUri); in handleSendPinned() 190 client.call(SliceProvider.METHOD_PIN, null, b); in handleSendPinned() 201 b.putParcelable(SliceProvider.EXTRA_BIND_URI, mUri); in handleSendUnpinned() 203 client.call(SliceProvider.METHOD_UNPIN, null, b); in handleSendUnpinned()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SlicePermissionActivity.java | 22 import android.app.slice.SliceProvider; 50 mUri = getIntent().getParcelableExtra(SliceProvider.EXTRA_BIND_URI); in onCreate() 51 mCallingPkg = getIntent().getStringExtra(SliceProvider.EXTRA_PKG); in onCreate() 52 mProviderPkg = getIntent().getStringExtra(SliceProvider.EXTRA_PROVIDER_PKG); in onCreate()
|
/frameworks/support/slices/core/src/androidTest/java/androidx/slice/compat/ |
D | SliceProviderCompatTest.java | 42 import androidx.slice.SliceProvider; 67 SliceProvider provider = spy(new SliceProviderImpl()); in testBindWithPermission() 100 SliceProvider provider = spy(new SliceProviderImpl()); in testBindWithoutPermission() 122 public static class SliceProviderImpl extends SliceProvider {
|
/frameworks/support/slices/builders/src/main/java/androidx/slice/builders/ |
D | TemplateSliceBuilder.java | 28 import androidx.slice.SliceProvider; 134 if (SliceProvider.getCurrentSpecs() != null) { in getSpecs() 135 return new ArrayList<>(SliceProvider.getCurrentSpecs()); in getSpecs()
|
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/ |
D | SliceManagerTest.java | 59 private SliceProvider mSliceProvider; 64 TestSliceProvider.sSliceProviderReceiver = mSliceProvider = mock(SliceProvider.class); in setup() 199 public static class TestSliceProvider extends SliceProvider { 201 public static SliceProvider sSliceProviderReceiver;
|
D | SliceMetadataTest.java | 74 SliceProvider.setSpecs(SliceLiveData.SUPPORTED_SPECS); in setup() 629 SliceProvider.createPermissionSlice(mContext, uri, mContext.getPackageName()); in testIsPermissionSlice()
|
/frameworks/support/slices/core/src/main/java/androidx/slice/ |
D | SliceProvider.java | 20 import static android.app.slice.SliceProvider.SLICE_TYPE; 100 public abstract class SliceProvider extends ContentProvider implements class 125 public SliceProvider(@NonNull String... autoGrantPermissions) { in SliceProvider() method in SliceProvider 129 public SliceProvider() { in SliceProvider() method in SliceProvider
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | PinnedSliceStateTest.java | 19 import android.app.slice.SliceProvider; 108 verify(mIContentProvider).call(anyString(), eq(SliceProvider.METHOD_PIN), eq(null), in testSendPinnedOnPin() 110 assertEquals(TEST_URI, b.getParcelable(SliceProvider.EXTRA_BIND_URI)); in testSendPinnedOnPin()
|
/frameworks/support/slices/core/api_legacy/ |
D | 28.0.0-alpha1.txt | 28 public abstract class SliceProvider extends android.content.ContentProvider { 29 ctor public SliceProvider();
|
D | current.txt | 28 public abstract class SliceProvider extends android.content.ContentProvider { 29 ctor public SliceProvider();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardSliceViewTest.java | 37 import androidx.slice.SliceProvider; 53 SliceProvider.setSpecs(new HashSet<>(Collections.singletonList(SliceSpecs.LIST))); in setUp()
|
/frameworks/support/slices/core/api/ |
D | current.txt | 28 …public abstract class SliceProvider extends android.content.ContentProvider implements androidx.co… 29 ctor public SliceProvider(java.lang.String...); 30 ctor public SliceProvider();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | KeyguardSliceProviderTest.java | 55 import androidx.slice.SliceProvider; 78 SliceProvider.setSpecs(new HashSet<>(Arrays.asList(SliceSpecs.LIST))); in setup()
|
/frameworks/support/slices/core/src/androidTest/java/androidx/slice/ |
D | SliceTestProvider.java | 32 public class SliceTestProvider extends androidx.slice.SliceProvider {
|
D | SliceTest.java | 29 import static android.app.slice.SliceProvider.SLICE_TYPE;
|
/frameworks/support/slices/builders/ |
D | build.gradle | 37 description = "A set of builders to create templates using SliceProvider APIs"
|
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/render/ |
D | SliceRenderer.java | 35 import androidx.slice.SliceProvider; 100 SliceProvider.setSpecs(SliceLiveData.SUPPORTED_SPECS); in SliceRenderer()
|
D | SliceCreator.java | 39 import androidx.slice.SliceProvider; 555 return SliceProvider.createPermissionSlice(getContext(), uri, in createPermissionSlice()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardSliceProvider.java | 49 import androidx.slice.SliceProvider; 57 public class KeyguardSliceProvider extends SliceProvider implements
|
/frameworks/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/ |
D | SampleSliceProvider.java | 43 import androidx.slice.SliceProvider; 56 public class SampleSliceProvider extends SliceProvider {
|