/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/ |
D | NetworkChangeContentProviderTest.java | 37 private NetworkChangeContentProvider mContentProvider; field in NetworkChangeContentProviderTest 44 mContentProvider = new NetworkChangeContentProvider(); in setUp() 45 mContentProvider.attachInfo(mContext, null); in setUp() 50 assertThat(mContentProvider.onCreate()).isTrue(); in onCreate_defaultState_returnsTrue() 62 mContentProvider.query( in query_currentNetworkCount_returnsInt() 82 mContentProvider.query( in query_incorrectContentUri_returnsNull()
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ChannelDataManagerTest.java | 83 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/ |
D | UserDictionaryListControllerTest.java | 51 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()
|
D | UserDictionaryCursorLoaderTest.java | 39 private ContentProvider mContentProvider; field in UserDictionaryCursorLoaderTest 45 mContentProvider = new FakeProvider(); in setUp() 47 ShadowContentResolver.registerProviderInternal(UserDictionary.AUTHORITY, mContentProvider); in setUp()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | AbstractExtendedMockitoBluetoothTestCase.java | 103 private FakeSettingsProvider mContentProvider; field in AbstractExtendedMockitoBluetoothTestCase.MockContext 111 mContentProvider = new FakeSettingsProvider(); in MockContext() 112 mContentResolver.addProvider(Settings.AUTHORITY, mContentProvider); in MockContext()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarInputRotaryServiceTest.java | 115 private final FakeSettingsProvider mContentProvider; field in CarInputRotaryServiceTest.MockContext 122 mContentProvider = new FakeSettingsProvider(); in MockContext() 123 mContentResolver.addProvider(Settings.AUTHORITY, mContentProvider); in MockContext()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallLogManagerTest.java | 132 ContentProvider mContentProvider; field in CallLogManagerTest 176 when(mContext.getContentResolver()).thenReturn(ContentResolver.wrap(mContentProvider)); in setUp() 202 }).when(mContentProvider).insert(any(Uri.class), any(ContentValues.class)); in setUp() 649 verify(mContentProvider, atLeast(2)).insert(uris.capture(), values.capture()); in testLogCallDirectionOutgoingWithMultiUserCapability() 695 verify(mContentProvider, atLeast(2)).insert(uris.capture(), values.capture()); in testLogCallDirectionIncomingWithMultiUserCapability() 1255 verify(mContentProvider, never()).insert(any(Uri.class), any(ContentValues.class)); in verifyNoInsertion() 1262 verify(mContentProvider, never()).insert(eq(uri), any(ContentValues.class)); in verifyNoInsertionInUser() 1268 verify(mContentProvider, timeout(TEST_TIMEOUT_MILLIS).times(1)).insert( in verifyInsertionWithCapture() 1276 verify(mContentProvider, timeout(TEST_TIMEOUT_MILLIS).times(1)).insert( in verifyLocationInsertionWithCapture()
|
D | MissedInformationTest.java | 92 @Mock IContentProvider mContentProvider; field in MissedInformationTest 114 when(mContentResolver.acquireProvider(any(String.class))).thenReturn(mContentProvider); in setUp() 115 when(mContentProvider.call(any(String.class), any(String.class), in setUp()
|