Home
last modified time | relevance | path

Searched refs:insertSpecialCase (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSlicesDatabaseAccessorTest.java98 insertSpecialCase(key); in testGetSliceDataFromKey_validKey_validSliceReturned()
117 insertSpecialCase(key, true /* isPlatformSlice */, in testGetSliceDataFromKey_allowDynamicSummary_validSliceReturned()
144 insertSpecialCase(key); in testGetSliceFromUri_validUri_validSliceReturned()
170 insertSpecialCase(key, isPlatformSlice); in getDescendantUris_platformSlice_doesNotReturnOEMSlice()
180 insertSpecialCase(key, isPlatformSlice); in getDescendantUris_oemSlice_doesNotReturnPlatformSlice()
190 insertSpecialCase(key, isPlatformSlice); in getDescendantUris_oemSlice_returnsOEMUriDescendant()
200 insertSpecialCase(key, isPlatformSlice); in getDescendantUris_platformSlice_returnsPlatformUriDescendant()
230 insertSpecialCase(key, true /* isPlatformSlice */, in testGetSliceDataFromKey_defaultUnavailableSlice_validSliceReturned()
251 insertSpecialCase(key, true /* isPlatformSlice */, subtitle); in testGetSliceDataFromKey_customizeSubtitleOfUnavailableSlice_validSliceReturned()
267 private void insertSpecialCase(String key) { in insertSpecialCase() method in SlicesDatabaseAccessorTest
[all …]
DSettingsSliceProviderTest.java157 insertSpecialCase(KEY); in testInitialSliceReturned_emptySlice()
167 insertSpecialCase(KEY); in testLoadSlice_returnsSliceFromAccessor()
179 insertSpecialCase(KEY); in loadSlice_registersIntentFilter()
189 insertSpecialCase(KEY); in loadSlice_registersBackgroundListener()
206 insertSpecialCase(data.getKey()); in testLoadSlice_cachedEntryRemovedOnBuild()
288 insertSpecialCase(key, true /* isPlatformSlice */); in getDescendantUris_invalidPath_returnsEmpty()
303 insertSpecialCase("oem_key", false /* isPlatformSlice */); in getDescendantUris_platformSlice_doesNotReturnOEMSlice()
317 insertSpecialCase("platform_key", true /* isPlatformSlice */); in getDescendantUris_oemSlice_doesNotReturnPlatformSlice()
332 insertSpecialCase(key, false /* isPlatformSlice */); in getDescendantUris_oemSlice_returnsOEMUriDescendant()
355 insertSpecialCase(key, false /* isPlatformSlice */); in getDescendantUris_oemSliceNoPath_returnsOEMUriDescendant()
[all …]
DSliceBroadcastReceiverTest.java100 insertSpecialCase(key); in onReceive_toggleChanged()
132 insertSpecialCase(key); in toggleUpdate_synchronously_notifyChange_should_be_called()
166 insertSpecialCase(key); in toggleUpdate_asynchronously_notifyChange_should_not_be_called()
197 insertSpecialCase(FakeSliderController.class, key); in onReceive_sliderChanged()
228 insertSpecialCase(FakeToggleController.class, key); in onReceive_invalidController_throwsException()
276 insertSpecialCase(FakeToggleController.class, key); in toggleUpdate_unavailableUriNotified()
316 insertSpecialCase(FakeSliderController.class, key); in sliderUpdate_unavailableUriNotified()
341 private void insertSpecialCase(String key) { in insertSpecialCase() method in SliceBroadcastReceiverTest
342 insertSpecialCase(fakeControllerName, key); in insertSpecialCase()
345 private void insertSpecialCase(Class controllerClass, String key) { in insertSpecialCase() method in SliceBroadcastReceiverTest
DSlicesIndexerTest.java80 insertSpecialCase(newKey, newTitle); in testAlreadyIndexed_doesNotIndexAgain()
154 private void insertSpecialCase(String key, String title) { in insertSpecialCase() method in SlicesIndexerTest