Home
last modified time | relevance | path

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

12

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactDirectoryManagerTest.java156 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testScanAllProviders()
167 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testScanAllProviders()
217 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testPackageInstalled()
234 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testPackageInstalled()
270 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testPackageUninstalled()
278 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testPackageUninstalled()
316 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testPackageReplaced()
324 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testPackageReplaced()
374 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testPackageRenamed()
382 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testPackageRenamed()
[all …]
DContactsActor.java360 provider = addProvider(providerClass, authority); in ContactsActor()
367 public <T extends ContentProvider> T addProvider(Class<T> providerClass, in addProvider() method in ContactsActor
369 return addProvider(providerClass, authority, mProviderContext); in addProvider()
372 public <T extends ContentProvider> T addProvider(Class<T> providerClass, in addProvider() method in ContactsActor
385 resolver.addProvider(a, provider); in addProvider()
386 resolver.addProvider("0@" + a, provider); in addProvider()
DBaseVoicemailProviderTest.java46 addProvider(TestVoicemailProvider.class, VoicemailContract.AUTHORITY); in setUp()
DCallLogProviderTest.java81 mCallLogProvider = addProvider(CallLogProviderTestable.class, CallLog.AUTHORITY); in setUp()
/packages/apps/Dialer/tests/src/com/android/dialer/database/
DFilteredNumberAsyncQueryHandlerTest.java69 mContentResolver.addProvider(BlockedNumberContract.AUTHORITY, mContentProvider); in setUp()
71 mContentResolver.addProvider(FilteredNumberContract.AUTHORITY, mContentProvider); in setUp()
82 resolver.addProvider(FilteredNumberContract.AUTHORITY, disabledProvider); in testHasBlockedNumbers_Disabled()
131 resolver.addProvider(FilteredNumberContract.AUTHORITY, disabledProvider); in testIsBlockedNumber_Disabled()
208 resolver.addProvider(FilteredNumberContract.AUTHORITY, disabledProvider); in testBlockNumber_Disabled()
261 resolver.addProvider(FilteredNumberContract.AUTHORITY, disabledProvider); in testUnblockNumber_Disabled()
/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(Attachment.ATTACHMENT_PROVIDER_LEGACY_URI_PREFIX, ap); in getProviderContext()
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
DContactsMockContext.java50 mContentResolver.addProvider(authority, mContactsProvider); in ContactsMockContext()
52 mContentResolver.addProvider(Settings.AUTHORITY, mSettingsProvider); in ContactsMockContext()
/packages/apps/Messaging/tests/src/com/android/messaging/
DFakeContext.java93 mContentResolver.addProvider(name, provider); in addContentProvider()
98 mContentResolver.addProvider(uri.getAuthority(), provider); in addDefaultProvider()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java235 mMockContentResolver.addProvider("sms", contentProvider); in setUp()
236 mMockContentResolver.addProvider("mms", contentProvider); in setUp()
237 mMockContentResolver.addProvider("mms-sms", mThreadProvider); in setUp()
489 mMockContentResolver.addProvider("sms", smsProvider); in testRestoreSms_NoSms()
502 mMockContentResolver.addProvider("sms", smsProvider); in testRestoreSms_AllSms()
515 mMockContentResolver.addProvider("mms", mmsProvider); in testRestoreMms_NoMms()
527 mMockContentResolver.addProvider("mms", mmsProvider); in testRestoreMms_AllMms()
/packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/
DBlockedNumbersMigratorTest.java55 mContentResolver.addProvider(FilteredNumberContract.AUTHORITY, mContentProvider); in setUp()
56 mContentResolver.addProvider(BlockedNumberContract.AUTHORITY, mContentProvider); in setUp()
/packages/apps/Dialer/tests/src/com/android/dialer/voicemail/
DVoicemailAsyncTaskUtilTest.java111 mContentResolver.addProvider(VoicemailArchiveContract.AUTHORITY, mArchiveContentProvider); in setUp()
112 mContentResolver.addProvider(VoicemailContract.AUTHORITY, mVoicemailContentProvider); in setUp()
113 mContentResolver.addProvider(CallLog.AUTHORITY, mCallLogContentProvider); in setUp()
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DEpgDataCleanupServiceTests.java61 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp()
69 mResolver.addProvider(TvContract.AUTHORITY, mProvider); in setUp()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
DEmlMessageLoaderTest.java52 resolver.addProvider(TestEmlProvider.AUTHORITY, mTestProvider); in setUp()
DConversationCursorTests.java63 mMockResolver.addProvider(TestProvider.AUTHORITY, new TestProvider(mMockContext)); in setUp()
DTestProviderTests.java63 mMockResolver.addProvider(CANHAZ_AUTHORITY, new TestProvider(mMockContext)); in setUp()
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DMyMockContext.java128 mResolver.addProvider(BlockedNumberContract.AUTHORITY, mProvider); in initializeContext()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/database/
DNoNullCursorAsyncQueryHandlerTest.java52 mMockContentResolver.addProvider(AUTHORITY, mMockContentProvider); in setUp()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DContactsManagerTest.java60 contentResolver.addProvider(ContactsContract.AUTHORITY, mFakeContactsContentProvider); in setUp()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/pbap/
DBluetoothPbapVcardManagerTest.java145 contentResolver.addProvider(ContactsContract.AUTHORITY, contentProvider); in createBluetoothPbapVcardManager()
/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()
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/
DInstallPackageTaskTest.java83 mContentResolver.addProvider("settings", mContentProvider); in setUp()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractDownloadProviderFunctionalTest.java167 mResolver.addProvider(PROVIDER_AUTHORITY, provider); in setUp()
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
DAlarmSchedulerTest.java163 mockResolver.addProvider(CalendarContract.AUTHORITY, mMockProvider); in setUp()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DProgramDataManagerTest.java77 mContentResolver.addProvider(TvContract.AUTHORITY, mContentProvider); in setUp()
DChannelDataManagerTest.java83 mContentResolver.addProvider(TvContract.AUTHORITY, mContentProvider); in setUp()

12