Home
last modified time | relevance | path

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

12

/frameworks/base/tests/testables/tests/src/android/testing/
DTestableContentResolverTest.java35 mContentResolver.addProvider("test", provider); in testDefaultContentProvider()
46 mContentResolver.addProvider("test", provider, TestableContentResolver.STABLE); in testStableContentProvider()
57 mContentResolver.addProvider("test", provider, TestableContentResolver.UNSTABLE); in testUnstableContentProvider()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DExportTestResolver.java26 addProvider(VCardVerifier.VCARD_TEST_AUTHORITY, mProvider); in ExportTestResolver()
27 addProvider(RawContacts.CONTENT_URI.getAuthority(), mProvider); in ExportTestResolver()
/frameworks/base/tests/testables/src/android/testing/
DTestableContentResolver.java69 public void addProvider(String name, ContentProvider provider) { in addProvider() method in TestableContentResolver
70 addProvider(name, provider, STABLE | UNSTABLE); in addProvider()
80 public void addProvider(String name, ContentProvider provider, int flags) { in addProvider() method in TestableContentResolver
/frameworks/base/test-runner/src/android/test/
DProviderTestCase.java72 mResolver.addProvider(mProviderAuthority, getProvider()); in setUp()
110 resolver.addProvider(authority, provider); in newResolverWithContentProviderFromSql()
DProviderTestCase2.java144 mResolver.addProvider(mProviderAuthority, getProvider()); in setUp()
234 resolver.addProvider(authority, provider); in newResolverWithContentProviderFromSql()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DStorageStatsServiceTest.java37 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
/frameworks/base/services/core/java/com/android/server/media/
DRemoteDisplayProviderWatcher.java129 mCallback.addProvider(provider); in scanPackages()
205 void addProvider(RemoteDisplayProviderProxy provider); in addProvider() method
/frameworks/base/services/core/java/com/android/server/tv/
DTvRemoteProviderWatcher.java124 mProvider.addProvider(providerProxy); in scanPackages()
217 void addProvider(TvRemoteProviderProxy providerProxy); in addProvider() method
DTvRemoteService.java369 public void addProvider(TvRemoteProviderProxy provider) { in addProvider() method in TvRemoteService.UserProvider
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/test/
DFakeSettingsProviderTest.java43 mCr.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
/frameworks/base/test-mock/src/android/test/mock/
DMockContentResolver.java79 public void addProvider(String name, ContentProvider provider) { in addProvider() method in MockContentResolver
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java160 ((MockContentResolver) mContext.getContentResolver()).addProvider( in setUp()
647 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testUpdateFromCarrierConfigOpportunisticUnchanged()
672 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testUpdateFromCarrierConfigOpportunisticSetOpportunistic()
704 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testUpdateFromCarrierConfigOpportunisticAddToGroup()
740 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testUpdateFromCarrierConfigOpportunisticRemoveFromGroup()
DCarrierResolverTest.java108 ((MockContentResolver) mContext.getContentResolver()).addProvider( in setUp()
275 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testCarrierMatchPreferApnChange()
DSmsNumberUtilsTest.java125 .addProvider(HbpcdLookup.MccIdd.CONTENT_URI.getAuthority(), mHbpcdContentProvider); in setUp()
DContextFixture.java619 mContentResolver.addProvider(Settings.AUTHORITY, mContentProvider); in ContextFixture()
623 mContentResolver.addProvider(ServiceStateTable.AUTHORITY, mContentProvider); in ContextFixture()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DLockPatternUtilsTest.java60 cr.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in configureTest()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreProvider.java126 Security.addProvider(new AndroidKeyStoreProvider()); in install()
135 Security.addProvider(workaroundProvider); in install()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DCoreSettingsObserverTest.java90 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DPinnedSliceStateTest.java80 mContext.getContentResolver().addProvider(AUTH, mContentProvider, UNSTABLE); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DRcsMessageStoreControllerTest.java65 mContentResolver.addProvider("rcs", mFakeRcsProvider); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java155 contentResolver.addProvider("telephony", new MockContentProvider(realContext) { in MockSystemServices()
172 contentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in MockSystemServices()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java154 ((MockContentResolver)mContext.getContentResolver()).addProvider( in setUp()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DDnsManagerTest.java83 mContentResolver.addProvider(Settings.AUTHORITY, in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DDiskStatsLoggingServiceTest.java192 cr.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in testDontCrashOnRun()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DTetheringConfigurationTest.java120 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()

12