/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/slice/ |
D | SpaSliceProvider.kt | 33 private fun getOrPutSliceData(sliceUri: Uri): EntrySliceData? { in getOrPutSliceData() 36 return sliceRepository.getOrBuildSliceData(sliceUri) in getOrPutSliceData() 39 override fun onBindSlice(sliceUri: Uri): Slice? { in onBindSlice() 41 Log.d(TAG, "onBindSlice: $sliceUri") in onBindSlice() 42 return getOrPutSliceData(sliceUri)?.value in onBindSlice() 45 override fun onSlicePinned(sliceUri: Uri) { in onSlicePinned() 46 Log.d(TAG, "onSlicePinned: $sliceUri") in onSlicePinned() 47 super.onSlicePinned(sliceUri) in onSlicePinned() 48 val sliceLiveData = getOrPutSliceData(sliceUri) ?: return in onSlicePinned() 56 override fun onSliceUnpinned(sliceUri: Uri) { in onSliceUnpinned() [all …]
|
D | SettingsSliceDataRepository.kt | 34 fun getOrBuildSliceData(sliceUri: Uri): EntrySliceData? { in getOrBuildSliceData() 35 val sliceString = sliceUri.getSliceId() ?: return null in getOrBuildSliceData() 36 return sliceDataMap[sliceString] ?: buildLiveDataImpl(sliceUri)?.let { in getOrBuildSliceData() 42 fun getActiveSliceData(sliceUri: Uri): EntrySliceData? { in getActiveSliceData() 43 val sliceString = sliceUri.getSliceId() ?: return null in getActiveSliceData() 48 private fun buildLiveDataImpl(sliceUri: Uri): EntrySliceData? { in buildLiveDataImpl() 49 Log.d(TAG, "buildLiveData: $sliceUri") in buildLiveDataImpl() 51 val entryId = sliceUri.getEntryId() ?: return null in buildLiveDataImpl() 54 val arguments = sliceUri.getRuntimeArguments() in buildLiveDataImpl() 55 return entry.getSliceData(runtimeArguments = arguments, sliceUri = sliceUri) in buildLiveDataImpl()
|
D | SpaSliceBroadcastReceiver.kt | 27 val sliceUri = intent?.data ?: return in onReceive() constant 28 val sliceData = sliceRepository.getActiveSliceData(sliceUri) ?: return in onReceive()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/slice/provider/ |
D | Demo.kt | 32 fun createDemoBrowseSlice(sliceUri: Uri, title: String, summary: String): Slice? { in createDemoBrowseSlice() 33 val intent = sliceUri.createBrowsePendingIntent() ?: return null in createDemoBrowseSlice() 34 return createDemoSlice(sliceUri, title, summary, intent) in createDemoBrowseSlice() 37 fun createDemoActionSlice(sliceUri: Uri, title: String, summary: String): Slice? { in createDemoActionSlice() 38 val intent = sliceUri.createBroadcastPendingIntent() ?: return null in createDemoActionSlice() 39 return createDemoSlice(sliceUri, title, summary, intent) in createDemoActionSlice() 42 fun createDemoSlice(sliceUri: Uri, title: String, summary: String, intent: PendingIntent): Slice? { in createDemoSlice() 44 if (!SliceManager.getInstance(context).pinnedSlices.contains(sliceUri)) return null in createDemoSlice() 45 return ListBuilder(context, sliceUri, ListBuilder.INFINITY) in createDemoSlice()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | SliceBroadcastRelay.java | 52 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/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/slice/ |
D | SettingsSliceDataRepositoryTest.kt | 56 val sliceUri = Uri.Builder().appendSpaParams(page.buildRoute(), entryId).build() in getOrBuildSliceDataTest() constant 57 assertThat(sliceUri.getDestination()).isEqualTo("SppLayer2") in getOrBuildSliceDataTest() 58 assertThat(sliceUri.getSliceId()).isEqualTo("${entryId}_Bundle[{}]") in getOrBuildSliceDataTest() 59 val sliceData = sliceDataRepository.getOrBuildSliceData(sliceUri) in getOrBuildSliceDataTest() 61 assertThat(sliceDataRepository.getOrBuildSliceData(sliceUri)).isSameInstanceAs(sliceData) in getOrBuildSliceDataTest() 77 val sliceUri = Uri.Builder().appendSpaParams(page.buildRoute(), entryId).build() in getActiveSliceDataTest() constant 80 val sliceData = sliceDataRepository.getOrBuildSliceData(sliceUri) in getActiveSliceDataTest() 84 assertThat(sliceDataRepository.getActiveSliceData(sliceUri)).isNull() in getActiveSliceDataTest() 90 assertThat(sliceDataRepository.getActiveSliceData(sliceUri)).isSameInstanceAs(sliceData) in getActiveSliceDataTest() 95 assertThat(sliceDataRepository.getActiveSliceData(sliceUri)).isNull() in getActiveSliceDataTest()
|
D | SliceUtilTest.kt | 90 val sliceUri = Uri.Builder().appendSpaParams(dest, entryId).build() in createBrowsePendingIntentTest() constant 91 val pendingIntent = sliceUri.createBrowsePendingIntent() in createBrowsePendingIntentTest()
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceProvider.java | 216 public Slice onBindSlice(Uri sliceUri, Set<SliceSpec> supportedSpecs) { in onBindSlice() argument 238 public void onSlicePinned(Uri sliceUri) { in onSlicePinned() argument 249 public void onSliceUnpinned(Uri sliceUri) { in onSliceUnpinned() argument 297 public @NonNull PendingIntent onCreatePermissionRequest(Uri sliceUri) { in onCreatePermissionRequest() argument 298 return createPermissionPendingIntent(getContext(), sliceUri, getCallingPackage()); in onCreatePermissionRequest() 424 private void handlePinSlice(Uri sliceUri) { in handlePinSlice() argument 428 onSlicePinned(sliceUri); in handlePinSlice() 434 private void handleUnpinSlice(Uri sliceUri) { in handleUnpinSlice() argument 438 onSliceUnpinned(sliceUri); in handleUnpinSlice() 444 private Slice handleBindSlice(Uri sliceUri, List<SliceSpec> supportedSpecs, in handleBindSlice() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/slice/ |
D | SliceViewManagerExt.kt | 35 fun SliceViewManager.sliceForUri(sliceUri: Uri): Flow<Slice?> = in sliceForUri() 39 val slice = bindSlice(sliceUri) in sliceForUri() 41 registerSliceCallback(sliceUri, callback) in sliceForUri() 42 awaitClose { unregisterSliceCallback(sliceUri, callback) } in sliceForUri()
|
/frameworks/libs/systemui/toruslib/torus-wallpaper-settings/src/main/java/com/google/android/torus/settings/inlinecontrol/ |
D | SingleSelectionRowConfigProvider.kt | 47 override fun onBindSlice(sliceUri: Uri): Slice? { in <lambda>() 52 listBuilder = ListBuilder(context, sliceUri, ListBuilder.INFINITY) in <lambda>() 57 sliceUri in <lambda>() 77 sliceUri: Uri in <lambda>() 86 wallpaperUriString = sliceUri.toString(), in <lambda>()
|
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/preference/ |
D | PreferencePageProvider.kt | 143 .setSliceDataFn { sliceUri, _ -> in <lambda>() method 146 sliceUri = sliceUri, in <lambda>() 180 .setSliceDataFn { sliceUri, args -> in <lambda>() method 183 sliceUri = sliceUri, in <lambda>() 220 .setSliceDataFn { sliceUri, args -> in <lambda>() method 223 sliceUri = sliceUri, in <lambda>() 275 .setSliceDataFn { sliceUri, _ -> in <lambda>() method 282 sliceUri = sliceUri, in <lambda>()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/common/ |
D | SettingsEntry.kt | 45 typealias SliceDataGetter = (sliceUri: Uri, arguments: Bundle?) -> EntrySliceData? 140 fun getSliceData(sliceUri: Uri, runtimeArguments: Bundle? = null): EntrySliceData? { in getSliceData() 141 return sliceDataImpl(sliceUri, fullArgument(runtimeArguments)) in getSliceData()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/slice/presenter/ |
D | Demo.kt | 30 fun SliceDemo(sliceUri: Uri) { in <lambda>() 34 SliceLiveData.fromUri(context, sliceUri) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/anc/data/repository/ |
D | AncSliceRepository.kt | 66 val sliceUri = in ancSlice() constant 68 return sliceViewManager.sliceForUri(sliceUri).flowOn(mainCoroutineContext) in ancSlice()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/component/anc/data/repository/ |
D | AncSliceRepositoryTest.kt | 101 private fun createMediaDevice(sliceUri: String): BluetoothDevice = mock { in <lambda>() 105 sliceUri + in <lambda>()
|
/frameworks/base/core/java/android/app/search/ |
D | SearchTarget.java | 173 @Nullable Uri sliceUri, in SearchTarget() argument 187 mSliceUri = sliceUri; in SearchTarget() 441 public Builder setSliceUri(@NonNull Uri sliceUri) { in setSliceUri() argument 442 mSliceUri = sliceUri; in setSliceUri()
|
/frameworks/base/core/java/android/app/smartspace/ |
D | SmartspaceTarget.java | 308 String associatedSmartspaceTargetId, Uri sliceUri, in SmartspaceTarget() argument 325 mSliceUri = sliceUri; in SmartspaceTarget() 743 public Builder setSliceUri(@NonNull Uri sliceUri) { in setSliceUri() argument 744 this.mSliceUri = sliceUri; in setSliceUri()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/debug/ |
D | DebugActivity.kt | 163 SliceDemo(sliceUri = Uri.Builder().fromEntry(entry, authority).build()) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardSliceProvider.java | 215 public Slice onBindSlice(Uri sliceUri) { in onBindSlice() argument
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |