Home
last modified time | relevance | path

Searched refs:addProvider (Results 1 – 21 of 21) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactDirectoryManagerTest.java152 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testScanAllProviders()
163 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testScanAllProviders()
199 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testPackageInstalled()
216 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testPackageInstalled()
252 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testPackageUninstalled()
260 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testPackageUninstalled()
298 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testPackageReplaced()
306 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testPackageReplaced()
356 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testPackageRenamed()
364 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testPackageRenamed()
[all …]
DContactsActor.java190 provider = addProvider(providerClass, authority); in ContactsActor()
194 resolver.addProvider(authority, provider); in addAuthority()
197 public ContentProvider addProvider(Class<? extends ContentProvider> providerClass, in addProvider() method in ContactsActor
203 resolver.addProvider(authority, provider); in addProvider()
DBaseVoicemailProviderTest.java48 addProvider(TestVoicemailProvider.class, VoicemailContract.AUTHORITY); in setUp()
DCallLogProviderTest.java81 addProvider(TestCallLogProvider.class, CallLog.AUTHORITY); in setUp()
DBaseContactsProvider2Test.java149 public ContentProvider addProvider(Class<? extends ContentProvider> providerClass, in addProvider() method in BaseContactsProvider2Test
151 return mActor.addProvider(providerClass, authority); in addProvider()
/packages/apps/Email/tests/src/com/android/email/
DDBTestHelper.java59 mContentResolver.addProvider(EmailContent.AUTHORITY, mProvider); in MyContext()
237 resolver.addProvider(EmailContent.AUTHORITY, ep); in getProviderContext()
241 resolver.addProvider(AttachmentUtilities.AUTHORITY, ap); in getProviderContext()
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
DContactsMockContext.java46 mContentResolver.addProvider(ContactsContract.AUTHORITY, mContactsProvider); in ContactsMockContext()
50 mContentResolver.addProvider(Settings.AUTHORITY, mSettingsProvider); in ContactsMockContext()
/packages/apps/Calendar/tests/src/com/android/calendar/
DUtilsTests.java175 dbUtils.getContentResolver().addProvider("settings", dbUtils.getContentProvider()); in setUp()
176 dbUtils.getContentResolver().addProvider(CalendarCache.URI.getAuthority(), in setUp()
DAsyncQueryServiceTest.java437 mResolver.addProvider(AUTHORITY, provider); in buildTestContext()
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/
DMockContentResolver2.java51 public void addProvider(String name, ContentProvider provider) { in addProvider() method in MockContentResolver2
DProviderTestCase3.java137 mResolver.addProvider(auth, getProvider()); in setUp()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/database/
DNoNullCursorAsyncQueryHandlerTest.java52 mMockContentResolver.addProvider(AUTHORITY, mMockContentProvider); in setUp()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractDownloadProviderFunctionalTest.java195 mResolver.addProvider(PROVIDER_AUTHORITY, provider); in setupProviderAndResolver()
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DMockProviderTests.java66 mMockResolver.addProvider(CANHAZ_AUTHORITY, new MockProvider(mMockContext)); in setUp()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
DMockProviderTests.java66 mMockResolver.addProvider(CANHAZ_AUTHORITY, new MockProvider(mMockContext)); in setUp()
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
DAlarmSchedulerTest.java163 mockResolver.addProvider(CalendarContract.AUTHORITY, mMockProvider); in setUp()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/
DLocalDataTest.java393 cr.addProvider("media", cp); in newGalleryContext()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java953 mResolver.addProvider(CalendarContract.AUTHORITY, mProvider); in setUp()
954 mResolver.addProvider("subscribedfeeds", new MockProvider("subscribedfeeds")); in setUp()
955 mResolver.addProvider("sync", new MockProvider("sync")); in setUp()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
DCalendarSyncAdapterTests.java104 mMockResolver.addProvider(MockProvider.AUTHORITY, new MockProvider(mMockContext)); in setUp()
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DCalendarSyncAdapterTests.java104 mMockResolver.addProvider(MockProvider.AUTHORITY, new MockProvider(mMockContext)); in setUp()
/packages/apps/Email/tests/src/com/android/email/provider/
DAttachmentProviderTests.java71 .addProvider(EmailContent.AUTHORITY, mEmailProvider); in setUp()