Home
last modified time | relevance | path

Searched refs:supportedSpecs (Results 1 – 7 of 7) 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
359 List<SliceSpec> supportedSpecs = extras.getParcelableArrayList(EXTRA_SUPPORTED_SPECS); in call() local
365 Slice s = handleBindSlice(uri, supportedSpecs, callingPackage, callingUid, callingPid); in call()
373 List<SliceSpec> supportedSpecs = extras.getParcelableArrayList(EXTRA_SUPPORTED_SPECS); in call() local
376 Slice s = handleBindSlice(uri, supportedSpecs, getCallingPackage(), in call()
444 private Slice handleBindSlice(Uri sliceUri, List<SliceSpec> supportedSpecs, in handleBindSlice() argument
459 return onBindSliceStrict(sliceUri, supportedSpecs); in handleBindSlice()
538 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()
412 @NonNull List<SliceSpec> supportedSpecs) { in bindSlice() argument
413 return bindSlice(intent, new ArraySet<>(supportedSpecs)); in bindSlice()
/frameworks/support/slices/core/src/main/java/androidx/slice/
DSliceConvert.java82 Set<androidx.slice.SliceSpec> supportedSpecs) { in unwrap() argument
84 for (androidx.slice.SliceSpec spec : supportedSpecs) { in unwrap()
138 Set<android.app.slice.SliceSpec> supportedSpecs) { in wrap() argument
140 for (android.app.slice.SliceSpec spec : supportedSpecs) { in wrap()
DSlice.java510 Set<SliceSpec> supportedSpecs) { in bindSlice() argument
512 return callBindSlice(context, uri, supportedSpecs); in bindSlice()
514 return SliceProviderCompat.bindSlice(context, uri, supportedSpecs); in bindSlice()
520 Set<SliceSpec> supportedSpecs) { in callBindSlice() argument
522 .bindSlice(uri, unwrap(supportedSpecs))); in callBindSlice()
/frameworks/support/slices/core/src/main/java/androidx/slice/compat/
DSliceProviderCompat.java287 Set<SliceSpec> supportedSpecs) { in bindSlice() argument
295 addSpecs(extras, supportedSpecs); in bindSlice()
315 public static void addSpecs(Bundle extras, Set<SliceSpec> supportedSpecs) { in addSpecs() argument
318 for (SliceSpec spec : supportedSpecs) { in addSpecs()
343 Set<SliceSpec> supportedSpecs) { in bindSlice() argument
353 return bindSlice(context, intentData, supportedSpecs); in bindSlice()
371 supportedSpecs); in bindSlice()
385 addSpecs(extras, supportedSpecs); in bindSlice()
405 Set<SliceSpec> supportedSpecs) { in pinSlice() argument
414 addSpecs(extras, supportedSpecs); in pinSlice()
[all …]
DCompatPinnedList.java173 Set<SliceSpec> supportedSpecs) { in mergeSpecs() argument
176 SliceSpec other = findSpec(supportedSpecs, s.getType()); in mergeSpecs()
/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()