Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/slices/
DCustomSliceRegistry.java60 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
80 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
99 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
108 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
117 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
135 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
144 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
154 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
164 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
174 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
[all …]
DSliceBroadcastReceiver.java22 import static com.android.settings.slices.SettingsSliceProvider.ACTION_SLIDER_CHANGED;
23 import static com.android.settings.slices.SettingsSliceProvider.ACTION_TOGGLE_CHANGED;
24 import static com.android.settings.slices.SettingsSliceProvider.EXTRA_SLICE_KEY;
DSliceBuilderUtils.java23 import static com.android.settings.slices.SettingsSliceProvider.EXTRA_SLICE_KEY;
368 SettingsSliceProvider.ACTION_TOGGLE_CHANGED, sliceData); in getToggleAction()
373 return getActionIntent(context, SettingsSliceProvider.ACTION_SLIDER_CHANGED, sliceData); in getSliderAction()
DSettingsSliceProvider.java87 public class SettingsSliceProvider extends SliceProvider { class
145 public SettingsSliceProvider() { in SettingsSliceProvider() method in SettingsSliceProvider
DSliceDataConverter.java306 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getAccessibilitySliceData()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBroadcastReceiverTest.java96 final Intent intent = new Intent(SettingsSliceProvider.ACTION_TOGGLE_CHANGED) in onReceive_toggleChanged()
97 .putExtra(SettingsSliceProvider.EXTRA_SLICE_KEY, key) in onReceive_toggleChanged()
132 final Intent intent = new Intent(SettingsSliceProvider.ACTION_TOGGLE_CHANGED) in toggleUpdate_synchronously_notifyChange_should_be_called()
133 .putExtra(SettingsSliceProvider.EXTRA_SLICE_KEY, key) in toggleUpdate_synchronously_notifyChange_should_be_called()
158 final Intent intent = new Intent(SettingsSliceProvider.ACTION_TOGGLE_CHANGED) in toggleUpdate_asynchronously_notifyChange_should_not_be_called()
159 .putExtra(SettingsSliceProvider.EXTRA_SLICE_KEY, key) in toggleUpdate_asynchronously_notifyChange_should_not_be_called()
184 final Intent intent = new Intent(SettingsSliceProvider.ACTION_SLIDER_CHANGED) in onReceive_sliderChanged()
186 .putExtra(SettingsSliceProvider.EXTRA_SLICE_KEY, key) in onReceive_sliderChanged()
214 final Intent intent = new Intent(SettingsSliceProvider.ACTION_SLIDER_CHANGED) in onReceive_invalidController_throwsException()
216 .putExtra(SettingsSliceProvider.EXTRA_SLICE_KEY, key); in onReceive_invalidController_throwsException()
[all …]
DSettingsSliceProviderTest.java110 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
124 private SettingsSliceProvider mProvider;
151 mProvider = spy(new SettingsSliceProvider()); in setUp()
268 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in onBindSlice_requestsBlockedSlice_returnsNull()
375 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSlice_doesNotReturnPlatformSlice()
392 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSlice_returnsOEMUriDescendant()
399 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSlice_returnsOEMUriDescendant()
417 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSliceNoPath_returnsOEMUriDescendant()
423 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSliceNoPath_returnsOEMUriDescendant()
441 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSliceNoPath_notContainPrivateUri()
[all …]
DSlicesDatabaseAccessorTest.java148 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in testGetSliceFromUri_validUri_validSliceReturned()
172 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in testGetSliceFromUri_invalidUri_errorThrown()
197 final List<Uri> keys = mAccessor.getSliceUris(SettingsSliceProvider.SLICE_AUTHORITY, in getDescendantUris_oemSlice_doesNotReturnPlatformSlice()
209 final List<Uri> keys = mAccessor.getSliceUris(SettingsSliceProvider.SLICE_AUTHORITY, in getDescendantUris_oemSlice_returnsOEMUriDescendant()
238 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getSliceUris_publicSlice_returnPublicUri()
243 final List<Uri> uri = mAccessor.getSliceUris(SettingsSliceProvider.SLICE_AUTHORITY, true); in getSliceUris_publicSlice_returnPublicUri()
257 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getSliceUris_nonPublicSlice_returnNonPublicUri()
262 final List<Uri> uri = mAccessor.getSliceUris(SettingsSliceProvider.SLICE_AUTHORITY, false); in getSliceUris_nonPublicSlice_returnNonPublicUri()
285 final List<Uri> keys = accessor.getSliceUris(SettingsSliceProvider.SLICE_AUTHORITY, in getSliceKeys_indexesDatabase()
DSliceBuilderUtilsTest.java213 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getPathData_splitsIntentUri()
227 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getPathData_splitsActionUri()
241 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getPathData_noKey_returnsNull()
253 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getPathData_extraArg_returnsNull()
DSliceTestUtils.java64 : SettingsSliceProvider.SLICE_AUTHORITY) in insertSliceToDb()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DEnhanced4gLteSliceHelperTest.java51 import com.android.settings.slices.SettingsSliceProvider;
81 private SettingsSliceProvider mProvider;
94 mProvider = new SettingsSliceProvider(); in setUp()
/packages/apps/Settings/src/com/android/settings/core/
DBasePreferenceController.java37 import com.android.settings.slices.SettingsSliceProvider;
231 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getSliceUri()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSliceHelperTest.java54 import com.android.settings.slices.SettingsSliceProvider;
90 private SettingsSliceProvider mProvider;
101 mProvider = spy(new SettingsSliceProvider()); in setUp()
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/
DSliceTester.java40 import com.android.settings.slices.SettingsSliceProvider;
117 SettingsSliceProvider.ACTION_TOGGLE_CHANGED, sliceData)); in testSettingsToggleSlice()
/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/tests/unit/src/com/android/settings/slices/
DSliceTestUtils.java64 : SettingsSliceProvider.SLICE_AUTHORITY) in insertSliceToDb()
DSpecialCaseSliceManagerTest.java107 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
/packages/apps/Settings/src/com/android/settings/search/
DSettingsSearchIndexablesProvider.java72 import com.android.settings.slices.SettingsSliceProvider;
252 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in querySliceUriPairs()