Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/slice/
DSliceProvider.java215 public Slice onBindSlice(Uri sliceUri, Set<SliceSpec> supportedSpecs) { in onBindSlice() argument
216 return onBindSlice(sliceUri, new ArrayList<>(supportedSpecs)); in onBindSlice()
224 public Slice onBindSlice(Uri sliceUri, List<SliceSpec> supportedSpecs) { in onBindSlice() argument
360 List<SliceSpec> supportedSpecs = extras.getParcelableArrayList(EXTRA_SUPPORTED_SPECS); in call() local
366 Slice s = handleBindSlice(uri, supportedSpecs, callingPackage, callingUid, callingPid); in call()
374 List<SliceSpec> supportedSpecs = extras.getParcelableArrayList(EXTRA_SUPPORTED_SPECS); in call() local
377 Slice s = handleBindSlice(uri, supportedSpecs, getCallingPackage(), in call()
452 private Slice handleBindSlice(Uri sliceUri, List<SliceSpec> supportedSpecs, in handleBindSlice() argument
467 return onBindSliceStrict(sliceUri, supportedSpecs); in handleBindSlice()
546 private Slice onBindSliceStrict(Uri sliceUri, List<SliceSpec> supportedSpecs) { in onBindSliceStrict() argument
[all …]
DSliceManager.java243 public @Nullable Slice bindSlice(@NonNull Uri uri, @NonNull Set<SliceSpec> supportedSpecs) { in bindSlice() argument
254 new ArrayList<>(supportedSpecs)); in bindSlice()
273 public @Nullable Slice bindSlice(@NonNull Uri uri, @NonNull List<SliceSpec> supportedSpecs) { in bindSlice() argument
274 return bindSlice(uri, new ArraySet<>(supportedSpecs)); in bindSlice()
373 @NonNull Set<SliceSpec> supportedSpecs) { in bindSlice() argument
380 if (staticUri != null) return bindSlice(staticUri, supportedSpecs); in bindSlice()
394 new ArrayList<>(supportedSpecs)); in bindSlice()
414 @NonNull List<SliceSpec> supportedSpecs) { in bindSlice() argument
415 return bindSlice(intent, new ArraySet<>(supportedSpecs)); in bindSlice()
/frameworks/base/services/core/java/com/android/server/slice/
DPinnedSliceState.java75 public void mergeSpecs(SliceSpec[] supportedSpecs) { in mergeSpecs() argument
78 mSupportedSpecs = supportedSpecs; in mergeSpecs()
82 SliceSpec other = findSpec(supportedSpecs, s.getType()); in mergeSpecs()