/packages/apps/Settings/src/com/android/settings/slices/ |
D | SettingsSliceProvider.java | 165 public void onSlicePinned(Uri sliceUri) { in onSlicePinned() argument 167 Log.d(TAG, "onSlicePinned: " + sliceUri); in onSlicePinned() 170 if (CustomSliceRegistry.isValidUri(sliceUri)) { in onSlicePinned() 173 .getSlicesFeatureProvider().getSliceableFromUri(context, sliceUri); in onSlicePinned() 176 registerIntentToUri(filter, sliceUri); in onSlicePinned() 178 ThreadUtils.postOnMainThread(() -> startBackgroundWorker(sliceable, sliceUri)); in onSlicePinned() 182 if (CustomSliceRegistry.ZEN_MODE_SLICE_URI.equals(sliceUri)) { in onSlicePinned() 183 registerIntentToUri(ZenModeSliceBuilder.INTENT_FILTER, sliceUri); in onSlicePinned() 185 } else if (CustomSliceRegistry.BLUETOOTH_URI.equals(sliceUri)) { in onSlicePinned() 186 registerIntentToUri(BluetoothSliceBuilder.INTENT_FILTER, sliceUri); in onSlicePinned() [all …]
|
D | SliceBroadcastReceiver.java | 66 final Uri sliceUri = intent.getData(); in onReceive() local 71 handleToggleAction(context, sliceUri, key, isChecked); in onReceive() 75 handleSliderAction(context, sliceUri, key, newPosition); in onReceive() 104 handleCopyAction(context, sliceUri, key); in onReceive() 109 private void handleToggleAction(Context context, Uri sliceUri, String key, boolean isChecked) { in handleToggleAction() argument 123 context.getContentResolver().notifyChange(sliceUri, null /* observer */); in handleToggleAction() 134 context.getContentResolver().notifyChange(sliceUri, null /* observer */); in handleToggleAction() 138 private void handleSliderAction(Context context, Uri sliceUri, String key, int newPosition) { in handleSliderAction() argument 156 context.getContentResolver().notifyChange(sliceUri, null /* observer */); in handleSliderAction() 171 context.getContentResolver().notifyChange(sliceUri, null /* observer */); in handleSliderAction() [all …]
|
D | SliceDeepLinkSpringBoard.java | 37 final Uri sliceUri = parse(getIntent().getData()); in onCreate() local 38 if (sliceUri == null) { in onCreate() 49 if (CustomSliceRegistry.isValidUri(sliceUri)) { in onCreate() 52 CustomSliceRegistry.getSliceClassByUri(sliceUri)); in onCreate() 54 } else if (CustomSliceRegistry.ZEN_MODE_SLICE_URI.equals(sliceUri)) { in onCreate() 56 } else if (CustomSliceRegistry.BLUETOOTH_URI.equals(sliceUri)) { in onCreate() 63 slicesDatabaseAccessor.getSliceDataFromUri(sliceUri); in onCreate()
|
D | VolumeSliceHelper.java | 48 static void registerIntentToUri(Context context, IntentFilter intentFilter, Uri sliceUri, in registerIntentToUri() argument 50 Log.d(TAG, "Registering uri for broadcast relay: " + sliceUri); in registerIntentToUri() 57 sRegisteredUri.put(sliceUri, audioStream); in registerIntentToUri() 61 static boolean unregisterUri(Context context, Uri sliceUri) { in unregisterUri() argument 62 if (!sRegisteredUri.containsKey(sliceUri)) { in unregisterUri() 66 Log.d(TAG, "Unregistering uri broadcast relay: " + sliceUri); in unregisterUri() 68 sRegisteredUri.remove(sliceUri); in unregisterUri()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | ConnectedDevicesSliceProvider.java | 125 public PendingIntent onCreatePermissionRequest(Uri sliceUri, String callingPackage) { in onCreatePermissionRequest() argument 133 public void onSlicePinned(Uri sliceUri) { in onSlicePinned() argument 136 Log.d(TAG, "Slice pinned: " + sliceUri); in onSlicePinned() 145 if (!mPinnedUris.containsKey(sliceUri)) { in onSlicePinned() 146 mPinnedUris.put(sliceUri, 0); in onSlicePinned() 148 mPinnedUris.put(sliceUri, mPinnedUris.get(sliceUri) + 1); in onSlicePinned() 153 public Slice onBindSlice(Uri sliceUri) { in onBindSlice() argument 155 Log.d(TAG, "onBindSlice: " + sliceUri); in onBindSlice() 157 if (ConnectedDevicesSliceUtils.isGeneralPath(sliceUri)) { in onBindSlice() 158 return createGeneralSlice(sliceUri); in onBindSlice() [all …]
|
/packages/apps/Settings/src/com/android/settings/wifi/calling/ |
D | WifiCallingSliceHelper.java | 131 public Slice createWifiCallingSlice(Uri sliceUri) { in createWifiCallingSlice() argument 158 sliceUri, getActivityIntent(ACTION_WIFI_CALLING_SETTINGS_ACTIVITY)); in createWifiCallingSlice() 160 return getWifiCallingSlice(sliceUri, isWifiCallingEnabled, subId); in createWifiCallingSlice() 172 private Slice getWifiCallingSlice(Uri sliceUri, boolean isWifiCallingEnabled, int subId) { in getWifiCallingSlice() argument 176 return new ListBuilder(mContext, sliceUri, ListBuilder.INFINITY) in getWifiCallingSlice() 207 public Slice createWifiCallingPreferenceSlice(Uri sliceUri) { in createWifiCallingPreferenceSlice() argument 246 sliceUri, getActivityIntent(ACTION_WIFI_CALLING_SETTINGS_ACTIVITY)); in createWifiCallingPreferenceSlice() 250 isWifiOnlySupported, wfcMode, sliceUri, subId); in createWifiCallingPreferenceSlice() 264 Uri sliceUri, in getWifiCallingPreferenceSlice() argument 269 final ListBuilder listBuilder = new ListBuilder(mContext, sliceUri, ListBuilder.INFINITY) in getWifiCallingPreferenceSlice() [all …]
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardLoaderTest.java | 79 final String sliceUri = "content://com.android.settings.test.slices/action/flashlight"; in bindSlice_noProvider_shouldReturnNull() local 81 final Slice loadedSlice = mEligibleCardChecker.bindSlice(Uri.parse(sliceUri)); in bindSlice_noProvider_shouldReturnNull() 86 private ContextualCard getContextualCard(Uri sliceUri) { in getContextualCard() argument 91 .setSliceUri(sliceUri) in getContextualCard()
|
/packages/apps/Settings/src/com/android/settings/panel/ |
D | PanelSlicesLoaderCountdownLatch.java | 54 public void markSliceLoaded(Uri sliceUri) { in markSliceLoaded() argument 55 if (mLoadedSlices.contains(sliceUri)) { in markSliceLoaded() 58 mLoadedSlices.add(sliceUri); in markSliceLoaded()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/slice/ |
D | SliceActivity.java | 49 String sliceUri = getSliceUri(); in createSettingsFragment() local 50 if (sliceUri == null) { in createSettingsFragment() 53 bundle.putString(SlicesConstants.TAG_TARGET_URI, sliceUri); in createSettingsFragment()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | SliceUtils.java | 70 for (final Uri sliceUri : enabledSlicesUri) { in isSettingsSliceEnabled() 71 Log.i(TAG, "Enabled slice: " + sliceUri); in isSettingsSliceEnabled() 72 if (sliceUri.toString().equals(uri)) { in isSettingsSliceEnabled()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | Enhanced4gLteSliceHelper.java | 106 public Slice createEnhanced4gLteSlice(Uri sliceUri) { in createEnhanced4gLteSlice() argument 130 return getEnhanced4gLteSlice(sliceUri, in createEnhanced4gLteSlice() 142 private Slice getEnhanced4gLteSlice(Uri sliceUri, boolean isEnhanced4gLteEnabled, int subId) { in getEnhanced4gLteSlice() argument 146 return new ListBuilder(mContext, sliceUri, ListBuilder.INFINITY) in getEnhanced4gLteSlice()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/ |
D | InputMethodHelper.java | 118 String sliceUri = "content://" + imi.getPackageName() + ".tv.sliceprovider" + "/general"; in getInputMethodsSettingsUri() local 119 if (SliceUtils.isSliceProviderValid(context, sliceUri)) { in getInputMethodsSettingsUri() 120 return sliceUri; in getInputMethodsSettingsUri()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/ |
D | EligibleCardCheckerTest.java | 128 private ContextualCard getContextualCard(Uri sliceUri) { in getContextualCard() argument 133 .setSliceUri(sliceUri) in getContextualCard()
|
D | ContextualCardsAdapterTest.java | 166 private ContextualCard buildContextualCard(Uri sliceUri) { in buildContextualCard() argument 170 .setSliceUri(sliceUri) in buildContextualCard()
|
D | ContextualCardManagerTest.java | 640 private ContextualCard buildContextualCard(String sliceUri) { in buildContextualCard() argument 644 .setSliceUri(Uri.parse(sliceUri)) in buildContextualCard()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/logging/ |
D | ContextualCardLogUtils.java | 66 public Builder setSliceUri(String sliceUri) { in setSliceUri() argument 67 mSliceUri = sliceUri; in setSliceUri()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCard.java | 254 public Builder setSliceUri(Uri sliceUri) { in setSliceUri() argument 255 mSliceUri = sliceUri.toString(); in setSliceUri()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | VolumeSliceHelperTest.java | 241 public static void registerReceiver(Context context, Uri sliceUri, in registerReceiver() argument 247 public static void unregisterReceivers(Context context, Uri sliceUri) { in unregisterReceivers() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/ |
D | SearchAdapterProvider.java | 42 public void onSliceStatusUpdate(Uri sliceUri) { in onSliceStatusUpdate() argument
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | SliceContextualCardRendererTest.java | 287 private ContextualCard buildContextualCard(Uri sliceUri) { in buildContextualCard() argument 292 .setSliceUri(sliceUri) in buildContextualCard()
|
/packages/apps/Settings/protos/ |
D | contextual_card_list.proto | 26 optional string sliceUri = 1; field
|