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/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/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/tests/servicestests/src/com/android/server/usage/
DStorageStatsServiceTest.java37 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
/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/base/services/tests/servicestests/src/com/android/server/power/
DPreRebootLoggerTest.java71 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setup()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java155 ((MockContentResolver) mContext.getContentResolver()).addProvider( in setUp()
746 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testUpdateFromCarrierConfigOpportunisticUnchanged()
771 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testUpdateFromCarrierConfigOpportunisticSetOpportunistic()
803 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testUpdateFromCarrierConfigOpportunisticAddToGroup()
839 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testUpdateFromCarrierConfigOpportunisticRemoveFromGroup()
881 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testUpdateFromCarrierConfigCarrierCertificates()
DCarrierResolverTest.java97 ((MockContentResolver) mContext.getContentResolver()).addProvider( in setUp()
260 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testCarrierMatchPreferApnChange()
DSmsNumberUtilsTest.java124 .addProvider(HbpcdLookup.MccIdd.CONTENT_URI.getAuthority(), mHbpcdContentProvider); in setUp()
DContextFixture.java661 mContentResolver.addProvider(Settings.AUTHORITY, mContentProvider); in ContextFixture()
665 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/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/base/services/tests/uiservicestests/src/com/android/server/slice/
DPinnedSliceStateTest.java82 mContext.getContentResolver().addProvider(AUTH, mContentProvider, UNSTABLE); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java145 ((MockContentResolver)mContext.getContentResolver()).addProvider( in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/emergency/
DEmergencyAffordanceServiceTest.java126 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DDiskStatsLoggingServiceTest.java192 cr.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in testDontCrashOnRun()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRankingHelperTest.java133 contentResolver.addProvider(TEST_AUTHORITY, testContentProvider); in setUp()

12