Home
last modified time | relevance | path

Searched refs:insertSliceToDb (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceTestUtils.java41 public static void insertSliceToDb(Context context, String key) { in insertSliceToDb() method in SliceTestUtils
42 insertSliceToDb(context, key, true /* isPlatformSlice */); in insertSliceToDb()
45 public static void insertSliceToDb(Context context, String key, boolean isPlatformSlice) { in insertSliceToDb() method in SliceTestUtils
46 insertSliceToDb(context, key, isPlatformSlice, null /*customizedUnavailableSliceSubtitle*/); in insertSliceToDb()
49 public static void insertSliceToDb(Context context, String key, boolean isPlatformSlice, in insertSliceToDb() method in SliceTestUtils
51 insertSliceToDb(context, key, isPlatformSlice, customizedUnavailableSliceSubtitle, false); in insertSliceToDb()
54 public static void insertSliceToDb(Context context, String key, boolean isPlatformSlice, in insertSliceToDb() method in SliceTestUtils
DSlicesDatabaseAccessorTest.java94 SliceTestUtils.insertSliceToDb(mContext, key); in testGetSliceDataFromKey_validKey_validSliceReturned()
115 SliceTestUtils.insertSliceToDb(mContext, key, true /* isPlatformSlice */, in testGetSliceDataFromKey_allowDynamicSummary_validSliceReturned()
144 SliceTestUtils.insertSliceToDb(mContext, key); in testGetSliceFromUri_validUri_validSliceReturned()
183 SliceTestUtils.insertSliceToDb(mContext, key, false /* isPlatformSlice */, in getDescendantUris_platformSlice_doesNotReturnOEMSlice()
195 SliceTestUtils.insertSliceToDb(mContext, key, true /* isPlatformSlice */, in getDescendantUris_oemSlice_doesNotReturnPlatformSlice()
207 SliceTestUtils.insertSliceToDb(mContext, key, false /* isPlatformSlice */, in getDescendantUris_oemSlice_returnsOEMUriDescendant()
220 SliceTestUtils.insertSliceToDb(mContext, key, true /* isPlatformSlice */, in getDescendantUris_platformSlice_returnsPlatformUriDescendant()
232 SliceTestUtils.insertSliceToDb(mContext, "test_public", false /* isPlatformSlice */, in getSliceUris_publicSlice_returnPublicUri()
234 SliceTestUtils.insertSliceToDb(mContext, "test_private", false /* isPlatformSlice */, in getSliceUris_publicSlice_returnPublicUri()
251 SliceTestUtils.insertSliceToDb(mContext, "test_public", false /* isPlatformSlice */, in getSliceUris_nonPublicSlice_returnNonPublicUri()
[all …]
DSettingsSliceProviderTest.java176 SliceTestUtils.insertSliceToDb(mContext, KEY); in testInitialSliceReturned_emptySlice()
185 SliceTestUtils.insertSliceToDb(mContext, KEY); in testLoadSlice_returnsSliceFromAccessor()
196 SliceTestUtils.insertSliceToDb(mContext, KEY); in loadSlice_registersIntentFilter()
207 SliceTestUtils.insertSliceToDb(mContext, KEY); in loadSlice_registersBackgroundListener()
223 SliceTestUtils.insertSliceToDb(mContext, data.getKey()); in testLoadSlice_cachedEntryRemovedOnUnpinned()
361 SliceTestUtils.insertSliceToDb(mContext, key, true /* isPlatformSlice */, in getDescendantUris_invalidPath_returnsEmpty()
377 SliceTestUtils.insertSliceToDb(mContext, "oem_key", false /* isPlatformSlice */, in getDescendantUris_platformSlice_doesNotReturnOEMSlice()
392 SliceTestUtils.insertSliceToDb(mContext, "platform_key", true /* isPlatformSlice */, in getDescendantUris_oemSlice_doesNotReturnPlatformSlice()
408 SliceTestUtils.insertSliceToDb(mContext, key, false /* isPlatformSlice */, in getDescendantUris_oemSlice_returnsOEMUriDescendant()
432 SliceTestUtils.insertSliceToDb(mContext, key, false /* isPlatformSlice */, in getDescendantUris_oemSliceNoPath_returnsOEMUriDescendant()
[all …]