Home
last modified time | relevance | path

Searched refs:SettingsSliceProvider (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Settings/src/com/android/settings/slices/
DCustomSliceRegistry.java76 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
86 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
106 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
116 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
136 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
145 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
154 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
163 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
172 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
181 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
[all …]
DSliceBroadcastReceiver.java22 import static com.android.settings.slices.SettingsSliceProvider.ACTION_COPY;
23 import static com.android.settings.slices.SettingsSliceProvider.ACTION_SLIDER_CHANGED;
24 import static com.android.settings.slices.SettingsSliceProvider.ACTION_TOGGLE_CHANGED;
25 import static com.android.settings.slices.SettingsSliceProvider.EXTRA_SLICE_KEY;
26 import static com.android.settings.slices.SettingsSliceProvider.EXTRA_SLICE_PLATFORM_DEFINED;
224 : SettingsSliceProvider.SLICE_AUTHORITY; in updateUri()
DSliceBuilderUtils.java20 import static com.android.settings.slices.SettingsSliceProvider.EXTRA_SLICE_KEY;
21 import static com.android.settings.slices.SettingsSliceProvider.EXTRA_SLICE_PLATFORM_DEFINED;
222 : SettingsSliceProvider.SLICE_AUTHORITY; in getUri()
379 SettingsSliceProvider.ACTION_TOGGLE_CHANGED, sliceData); in getToggleAction()
384 return getActionIntent(context, SettingsSliceProvider.ACTION_SLIDER_CHANGED, sliceData); in getSliderAction()
389 SettingsSliceProvider.ACTION_COPY, sliceData); in getCopyableAction()
DSettingsSliceProvider.java83 public class SettingsSliceProvider extends SliceProvider { class
132 public SettingsSliceProvider() { in SettingsSliceProvider() method in SettingsSliceProvider
278 descendants.addAll(buildUrisFromKeys(oemKeys, SettingsSliceProvider.SLICE_AUTHORITY)); in onGetSliceDescendants()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DCustomSliceRegistry.java73 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
93 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
103 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
123 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
132 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
141 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
150 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
159 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
177 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
186 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
[all …]
DSliceBroadcastReceiver.java22 import static com.android.car.developeroptions.slices.SettingsSliceProvider.ACTION_COPY;
23 import static com.android.car.developeroptions.slices.SettingsSliceProvider.ACTION_SLIDER_CHANGED;
24 import static com.android.car.developeroptions.slices.SettingsSliceProvider.ACTION_TOGGLE_CHANGED;
25 import static com.android.car.developeroptions.slices.SettingsSliceProvider.EXTRA_SLICE_KEY;
26 import static com.android.car.developeroptions.slices.SettingsSliceProvider.EXTRA_SLICE_PLATFORM_DE…
223 : SettingsSliceProvider.SLICE_AUTHORITY; in updateUri()
DSliceBuilderUtils.java20 import static com.android.car.developeroptions.slices.SettingsSliceProvider.EXTRA_SLICE_KEY;
21 import static com.android.car.developeroptions.slices.SettingsSliceProvider.EXTRA_SLICE_PLATFORM_DE…
231 : SettingsSliceProvider.SLICE_AUTHORITY; in getUri()
373 SettingsSliceProvider.ACTION_TOGGLE_CHANGED, sliceData); in getToggleAction()
378 return getActionIntent(context, SettingsSliceProvider.ACTION_SLIDER_CHANGED, sliceData); in getSliderAction()
383 SettingsSliceProvider.ACTION_COPY, sliceData); in getCopyableAction()
DSettingsSliceProvider.java78 public class SettingsSliceProvider extends SliceProvider { class
127 public SettingsSliceProvider() { in SettingsSliceProvider() method in SettingsSliceProvider
273 descendants.addAll(buildUrisFromKeys(oemKeys, SettingsSliceProvider.SLICE_AUTHORITY)); in onGetSliceDescendants()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBroadcastReceiverTest.java95 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in onReceive_toggleChanged()
106 Intent intent = new Intent(SettingsSliceProvider.ACTION_TOGGLE_CHANGED); in onReceive_toggleChanged()
107 intent.putExtra(SettingsSliceProvider.EXTRA_SLICE_KEY, key); in onReceive_toggleChanged()
138 Intent intent = new Intent(SettingsSliceProvider.ACTION_TOGGLE_CHANGED); in toggleUpdate_synchronously_notifyChange_should_be_called()
139 intent.putExtra(SettingsSliceProvider.EXTRA_SLICE_KEY, key); in toggleUpdate_synchronously_notifyChange_should_be_called()
150 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in toggleUpdate_synchronously_notifyChange_should_be_called()
172 Intent intent = new Intent(SettingsSliceProvider.ACTION_TOGGLE_CHANGED); in toggleUpdate_asynchronously_notifyChange_should_not_be_called()
173 intent.putExtra(SettingsSliceProvider.EXTRA_SLICE_KEY, key); in toggleUpdate_asynchronously_notifyChange_should_not_be_called()
188 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in onReceive_sliderChanged()
203 Intent intent = new Intent(SettingsSliceProvider.ACTION_SLIDER_CHANGED); in onReceive_sliderChanged()
[all …]
DSettingsSliceProviderTest.java111 private SettingsSliceProvider mProvider;
136 mProvider = spy(new SettingsSliceProvider()); in setUp()
247 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in onBindSlice_requestsBlockedSlice_returnsNull()
321 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSlice_doesNotReturnPlatformSlice()
336 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSlice_returnsOEMUriDescendant()
343 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSlice_returnsOEMUriDescendant()
359 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSliceNoPath_returnsOEMUriDescendant()
365 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSliceNoPath_returnsOEMUriDescendant()
440 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_noAuthorityNorPath_returnsAllUris()
546 SettingsSliceProvider.grantWhitelistedPackagePermissions(mContext, uris); in grantWhitelistedPackagePermissions_noWhitelist_shouldNotGrant()
[all …]
DSliceBuilderUtilsTest.java143 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in testUriBuilder_oemAuthority_intentPath_returnsValidSliceUri()
156 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in testUriBuilder_oemAuthority_actionPath_returnsValidSliceUri()
285 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getPathData_splitsIntentUri()
299 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getPathData_splitsActionUri()
313 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getPathData_noKey_returnsNull()
325 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getPathData_extraArg_returnsNull()
DSpecialCaseSliceManagerTest.java109 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DEnhanced4gLteSliceHelperTest.java46 import com.android.settings.slices.SettingsSliceProvider;
73 private SettingsSliceProvider mProvider;
87 mProvider = spy(new SettingsSliceProvider()); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSliceHelperTest.java52 import com.android.settings.slices.SettingsSliceProvider;
87 private SettingsSliceProvider mProvider;
98 mProvider = spy(new SettingsSliceProvider()); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DSliceTester.java41 import com.android.settings.slices.SettingsSliceProvider;
118 SettingsSliceProvider.ACTION_TOGGLE_CHANGED, sliceData)); in testSettingsToggleSlice()
/packages/apps/Settings/src/com/android/settings/search/
DSettingsSearchIndexablesProvider.java65 import com.android.settings.slices.SettingsSliceProvider;
201 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in querySliceUriPairs()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/search/
DSettingsSearchIndexablesProvider.java65 import com.android.car.developeroptions.slices.SettingsSliceProvider;
201 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in querySliceUriPairs()