Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DSliceBroadcastRelay.java52 public static void registerReceiver(Context context, Uri sliceUri, in registerReceiver() argument
55 Log.d(TAG, "Registering Uri for broadcast relay: " + sliceUri); in registerReceiver()
56 sRegisteredUris.add(sliceUri); in registerReceiver()
60 registerBroadcast.putExtra(EXTRA_URI, ContentProvider.maybeAddUserId(sliceUri, in registerReceiver()
73 public static void unregisterReceivers(Context context, Uri sliceUri) { in unregisterReceivers() argument
74 if (!sRegisteredUris.contains(sliceUri)) { in unregisterReceivers()
77 Log.d(TAG, "Unregistering uri broadcast relay: " + sliceUri); in unregisterReceivers()
80 registerBroadcast.putExtra(EXTRA_URI, ContentProvider.maybeAddUserId(sliceUri, in unregisterReceivers()
84 sRegisteredUris.remove(sliceUri); in unregisterReceivers()
/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
246 public void onSlicePinned(Uri sliceUri) { in onSlicePinned() argument
257 public void onSliceUnpinned(Uri sliceUri) { in onSliceUnpinned() argument
305 public @NonNull PendingIntent onCreatePermissionRequest(Uri sliceUri) { in onCreatePermissionRequest() argument
306 return createPermissionIntent(getContext(), sliceUri, getCallingPackage()); in onCreatePermissionRequest()
432 private void handlePinSlice(Uri sliceUri) { in handlePinSlice() argument
436 onSlicePinned(sliceUri); in handlePinSlice()
442 private void handleUnpinSlice(Uri sliceUri) { in handleUnpinSlice() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardSliceProvider.java209 public Slice onBindSlice(Uri sliceUri) { in onBindSlice() argument