Searched refs:SettingsSliceProvider (Results 1 – 18 of 18) sorted by relevance
62 .authority(SettingsSliceProvider.SLICE_AUTHORITY)72 .authority(SettingsSliceProvider.SLICE_AUTHORITY)92 .authority(SettingsSliceProvider.SLICE_AUTHORITY)111 .authority(SettingsSliceProvider.SLICE_AUTHORITY)120 .authority(SettingsSliceProvider.SLICE_AUTHORITY)129 .authority(SettingsSliceProvider.SLICE_AUTHORITY)147 .authority(SettingsSliceProvider.SLICE_AUTHORITY)156 .authority(SettingsSliceProvider.SLICE_AUTHORITY)166 .authority(SettingsSliceProvider.SLICE_AUTHORITY)176 .authority(SettingsSliceProvider.SLICE_AUTHORITY)[all …]
22 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;
20 import static com.android.settings.slices.SettingsSliceProvider.EXTRA_SLICE_KEY;371 SettingsSliceProvider.ACTION_TOGGLE_CHANGED, sliceData); in getToggleAction()376 return getActionIntent(context, SettingsSliceProvider.ACTION_SLIDER_CHANGED, sliceData); in getSliderAction()381 SettingsSliceProvider.ACTION_COPY, sliceData); in getCopyableAction()
87 public class SettingsSliceProvider extends SliceProvider { class151 public SettingsSliceProvider() { in SettingsSliceProvider() method in SettingsSliceProvider
300 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getAccessibilitySliceData()
94 final Intent intent = new Intent(SettingsSliceProvider.ACTION_TOGGLE_CHANGED) in onReceive_toggleChanged()95 .putExtra(SettingsSliceProvider.EXTRA_SLICE_KEY, key) in onReceive_toggleChanged()129 final Intent intent = new Intent(SettingsSliceProvider.ACTION_TOGGLE_CHANGED) in toggleUpdate_synchronously_notifyChange_should_be_called()130 .putExtra(SettingsSliceProvider.EXTRA_SLICE_KEY, key) in toggleUpdate_synchronously_notifyChange_should_be_called()154 final Intent intent = new Intent(SettingsSliceProvider.ACTION_TOGGLE_CHANGED) in toggleUpdate_asynchronously_notifyChange_should_not_be_called()155 .putExtra(SettingsSliceProvider.EXTRA_SLICE_KEY, key) in toggleUpdate_asynchronously_notifyChange_should_not_be_called()179 final Intent intent = new Intent(SettingsSliceProvider.ACTION_SLIDER_CHANGED) in onReceive_sliderChanged()181 .putExtra(SettingsSliceProvider.EXTRA_SLICE_KEY, key) in onReceive_sliderChanged()208 final Intent intent = new Intent(SettingsSliceProvider.ACTION_SLIDER_CHANGED) in onReceive_invalidController_throwsException()210 .putExtra(SettingsSliceProvider.EXTRA_SLICE_KEY, key); in onReceive_invalidController_throwsException()[all …]
109 .authority(SettingsSliceProvider.SLICE_AUTHORITY)123 private SettingsSliceProvider mProvider;150 mProvider = spy(new SettingsSliceProvider()); in setUp()261 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in onBindSlice_requestsBlockedSlice_returnsNull()363 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSlice_doesNotReturnPlatformSlice()379 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSlice_returnsOEMUriDescendant()386 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSlice_returnsOEMUriDescendant()403 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSliceNoPath_returnsOEMUriDescendant()409 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSliceNoPath_returnsOEMUriDescendant()426 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSliceNoPath_notContainPrivateUri()[all …]
141 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in testGetSliceFromUri_validUri_validSliceReturned()163 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in testGetSliceFromUri_invalidUri_errorThrown()186 final List<Uri> keys = mAccessor.getSliceUris(SettingsSliceProvider.SLICE_AUTHORITY, in getDescendantUris_oemSlice_doesNotReturnPlatformSlice()197 final List<Uri> keys = mAccessor.getSliceUris(SettingsSliceProvider.SLICE_AUTHORITY, in getDescendantUris_oemSlice_returnsOEMUriDescendant()224 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getSliceUris_publicSlice_returnPublicUri()229 final List<Uri> uri = mAccessor.getSliceUris(SettingsSliceProvider.SLICE_AUTHORITY, true); in getSliceUris_publicSlice_returnPublicUri()242 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getSliceUris_nonPublicSlice_returnNonPublicUri()247 final List<Uri> uri = mAccessor.getSliceUris(SettingsSliceProvider.SLICE_AUTHORITY, false); in getSliceUris_nonPublicSlice_returnNonPublicUri()269 final List<Uri> keys = accessor.getSliceUris(SettingsSliceProvider.SLICE_AUTHORITY, in getSliceKeys_indexesDatabase()
232 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getPathData_splitsIntentUri()246 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getPathData_splitsActionUri()260 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getPathData_noKey_returnsNull()272 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getPathData_extraArg_returnsNull()
63 : SettingsSliceProvider.SLICE_AUTHORITY) in insertSliceToDb()
51 import com.android.settings.slices.SettingsSliceProvider;81 private SettingsSliceProvider mProvider;94 mProvider = new SettingsSliceProvider(); in setUp()
37 import com.android.settings.slices.SettingsSliceProvider;228 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getSliceUri()
54 import com.android.settings.slices.SettingsSliceProvider;89 private SettingsSliceProvider mProvider;100 mProvider = spy(new SettingsSliceProvider()); in setUp()
41 import com.android.settings.slices.SettingsSliceProvider;118 SettingsSliceProvider.ACTION_TOGGLE_CHANGED, sliceData)); in testSettingsToggleSlice()
40 import com.android.settings.slices.SettingsSliceProvider;117 SettingsSliceProvider.ACTION_TOGGLE_CHANGED, sliceData)); in testSettingsToggleSlice()
107 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
72 import com.android.settings.slices.SettingsSliceProvider;252 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in querySliceUriPairs()