Searched refs:SettingsSliceProvider (Results 1 – 17 of 17) sorted by relevance
57 .authority(SettingsSliceProvider.SLICE_AUTHORITY)77 .authority(SettingsSliceProvider.SLICE_AUTHORITY)87 .authority(SettingsSliceProvider.SLICE_AUTHORITY)96 .authority(SettingsSliceProvider.SLICE_AUTHORITY)105 .authority(SettingsSliceProvider.SLICE_AUTHORITY)123 .authority(SettingsSliceProvider.SLICE_AUTHORITY)132 .authority(SettingsSliceProvider.SLICE_AUTHORITY)142 .authority(SettingsSliceProvider.SLICE_AUTHORITY)152 .authority(SettingsSliceProvider.SLICE_AUTHORITY)162 .authority(SettingsSliceProvider.SLICE_AUTHORITY)[all …]
33 .authority(SettingsSliceProvider.SLICE_AUTHORITY)43 .authority(SettingsSliceProvider.SLICE_AUTHORITY)53 .authority(SettingsSliceProvider.SLICE_AUTHORITY)63 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
22 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;
23 import static com.android.settings.slices.SettingsSliceProvider.EXTRA_SLICE_KEY;375 SettingsSliceProvider.ACTION_TOGGLE_CHANGED, sliceData); in getToggleAction()380 return getActionIntent(context, SettingsSliceProvider.ACTION_SLIDER_CHANGED, sliceData); in getSliderAction()
90 public class SettingsSliceProvider extends SliceProvider { class158 public SettingsSliceProvider() { in SettingsSliceProvider() method in SettingsSliceProvider
300 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getAccessibilitySliceData()
96 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 …]
107 .authority(SettingsSliceProvider.SLICE_AUTHORITY)121 private SettingsSliceProvider mProvider;156 mProvider = spy(new SettingsSliceProvider()); in setUp()269 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in onBindSlice_requestsBlockedSlice_returnsNull()311 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in onBindSlice_guestRestricted_returnsNull()326 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in onBindSlice_notGuestRestricted_returnsNotNull()402 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSlice_doesNotReturnPlatformSlice()418 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSlice_returnsOEMUriDescendant()425 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSlice_returnsOEMUriDescendant()442 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getDescendantUris_oemSliceNoPath_returnsOEMUriDescendant()[all …]
148 .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()
226 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getPathData_splitsIntentUri()240 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getPathData_splitsActionUri()254 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getPathData_noKey_returnsNull()266 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getPathData_extraArg_returnsNull()
64 : SettingsSliceProvider.SLICE_AUTHORITY) in insertSliceToDb()
51 import com.android.settings.slices.SettingsSliceProvider;81 private SettingsSliceProvider mProvider;94 mProvider = new SettingsSliceProvider(); in setUp()
38 import com.android.settings.slices.SettingsSliceProvider;234 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in getSliceUri()
53 import com.android.settings.slices.SettingsSliceProvider;86 private SettingsSliceProvider mProvider;97 mProvider = spy(new SettingsSliceProvider()); in setUp()
41 import com.android.settings.slices.SettingsSliceProvider;118 SettingsSliceProvider.ACTION_TOGGLE_CHANGED, sliceData)); in testSettingsToggleSlice()
107 .authority(SettingsSliceProvider.SLICE_AUTHORITY)
73 import com.android.settings.slices.SettingsSliceProvider;253 .authority(SettingsSliceProvider.SLICE_AUTHORITY) in querySliceUriPairs()