Home
last modified time | relevance | path

Searched refs:mContentProvider (Results 1 – 7 of 7) sorted by relevance

/packages/apps/TV/tests/unit/src/com/android/tv/data/
DChannelDataManagerTest.java83 private FakeContentProvider mContentProvider; field in ChannelDataManagerTest
91 mContentProvider = new FakeContentProvider(getTargetContext()); in setUp()
93 mContentResolver.addProvider(TvContract.AUTHORITY, mContentProvider); in setUp()
203 mContentProvider.clear(); in testGetChannels_noChannels()
327 mContentProvider.simulateInsert(testChannelInfo); in testChannelListChanged()
339 mContentProvider.simulateUpdate(testChannelId, newName); in testChannelListChanged()
358 mContentProvider.simulateDelete(testChannelId); in testChannelListChanged()
611 return mContentProvider.keyAt(mPosition); in getLong()
623 ChannelInfoWrapper channel = mContentProvider.get(mPosition); in getString()
644 ChannelInfoWrapper channel = mContentProvider.get(mPosition); in getInt()
[all …]
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/calendarsync/
DCalendarCleanerTest.java63 private ContentProvider mContentProvider; field in CalendarCleanerTest
126 operation.apply(mContentProvider, null, 0); in eraseCalendar()
155 operation.apply(mContentProvider, null, 0); in eraseCalendars()
165 verifyNoMoreInteractions(mContentProvider); in eraseCalendars()
182 verify(mContentProvider).delete( in verifyDelete()
DCalendarImporterTest.java68 private ContentProvider mContentProvider; field in CalendarImporterTest
114 when(mContentProvider.insert( in setUp()
172 operation.apply(mContentProvider, null, 0); in importCalendarsWithExistingCalendar()
278 verify(mContentProvider).insert(
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DUserDictionaryListControllerTest.java51 private FakeProvider mContentProvider; field in UserDictionaryListControllerTest
58 mContentProvider = new FakeProvider(); in setUp()
59 ShadowContentResolver.registerProviderInternal(UserDictionary.AUTHORITY, mContentProvider); in setUp()
74 mContentProvider.hasDictionary = false; in getUserDictionaryLocalesSet_noLocale_shouldReturnEmptySet()
DUserDictionaryCursorLoaderTest.java39 private ContentProvider mContentProvider; field in UserDictionaryCursorLoaderTest
45 mContentProvider = new FakeProvider(); in setUp()
47 ShadowContentResolver.registerProviderInternal(UserDictionary.AUTHORITY, mContentProvider); in setUp()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java88 private IContentProvider mContentProvider; field in CallLogManagerTest
127 mContentProvider = in setUp()
164 }).when(mContentProvider).insert(anyString(), any(Uri.class), any(ContentValues.class)); in setUp()
934 verify(mContentProvider, never()).insert(any(String.class), in verifyNoInsertion()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DBluetoothProfileDeviceManagerTest.java127 private FakeSettingsProvider mContentProvider; field in BluetoothProfileDeviceManagerTest.MockContext
133 mContentProvider = new FakeSettingsProvider(); in MockContext()
134 mContentResolver.addProvider(Settings.AUTHORITY, mContentProvider); in MockContext()