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/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.java121 ContentProvider mContentProvider; field in CallLogManagerTest
160 when(mContext.getContentResolver()).thenReturn(ContentResolver.wrap(mContentProvider)); in setUp()
173 }).when(mContentProvider).insert(any(Uri.class), any(ContentValues.class)); in setUp()
555 verify(mContentProvider, atLeast(2)).insert(uris.capture(), values.capture()); in testLogCallDirectionOutgoingWithMultiUserCapability()
600 verify(mContentProvider, atLeast(2)).insert(uris.capture(), values.capture()); in testLogCallDirectionIncomingWithMultiUserCapability()
1013 verify(mContentProvider, never()).insert(any(Uri.class), any(ContentValues.class)); in verifyNoInsertion()
1020 verify(mContentProvider, never()).insert(eq(uri), any(ContentValues.class)); in verifyNoInsertionInUser()
1026 verify(mContentProvider, timeout(TEST_TIMEOUT_MILLIS).times(1)).insert( in verifyInsertionWithCapture()
1034 verify(mContentProvider, timeout(TEST_TIMEOUT_MILLIS).times(1)).insert( in verifyLocationInsertionWithCapture()
DMissedInformationTest.java70 @Mock IContentProvider mContentProvider; field in MissedInformationTest
84 when(mContentResolver.acquireProvider(any(String.class))).thenReturn(mContentProvider); in setUp()
85 when(mContentProvider.call(any(String.class), any(String.class), in setUp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputRotaryServiceTest.java106 private final FakeSettingsProvider mContentProvider; field in CarInputRotaryServiceTest.MockContext
113 mContentProvider = new FakeSettingsProvider(); in MockContext()
114 mContentResolver.addProvider(Settings.AUTHORITY, mContentProvider); in MockContext()
DBluetoothProfileDeviceManagerTest.java128 private FakeSettingsProvider mContentProvider; field in BluetoothProfileDeviceManagerTest.MockContext
134 mContentProvider = new FakeSettingsProvider(); in MockContext()
135 mContentResolver.addProvider(Settings.AUTHORITY, mContentProvider); in MockContext()