Home
last modified time | relevance | path

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

123

/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/core/tests/utiltests/src/com/android/internal/util/test/
DFakeSettingsProviderTest.java43 mCr.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
/frameworks/base/tests/AppResourcesLoaders/src/com/android/example/loaders/
DLoadersApplication.java40 loader.addProvider(ResourcesProvider.loadFromApk(copyResource(LOADER_RESOURCES_APK))); in onCreate()
/frameworks/base/test-mock/src/android/test/mock/
DMockContentResolver.java82 public void addProvider(String name, ContentProvider provider) { in addProvider() method in MockContentResolver
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java157 ((MockContentResolver) mContext.getContentResolver()).addProvider( in setUp()
721 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testUpdateFromCarrierConfigOpportunisticUnchanged()
746 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testUpdateFromCarrierConfigOpportunisticSetOpportunistic()
778 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testUpdateFromCarrierConfigOpportunisticAddToGroup()
814 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testUpdateFromCarrierConfigOpportunisticRemoveFromGroup()
856 ((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()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DLockPatternUtilsTest.java60 cr.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in configureTest()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPreRebootLoggerTest.java80 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in enableAdbConfig()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreProvider.java130 Security.addProvider(new AndroidKeyStoreProvider()); in install()
139 Security.addProvider(workaroundProvider); in install()
/frameworks/base/core/java/android/content/res/loader/
DResourcesLoader.java101 public void addProvider(@NonNull ResourcesProvider resourcesProvider) { in addProvider() method in ResourcesLoader
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DSmsQueryHelperTest.java70 contentResolver.addProvider(SMS_AUTHORITY, new SmsContentProvider()); in setUp()
DCallLogQueryHelperTest.java69 contentResolver.addProvider(CALL_LOG_AUTHORITY, new CallLogContentProvider()); in setUp()
DContactsQueryHelperTest.java85 contentResolver.addProvider(ContactsContract.AUTHORITY, contentProvider); in setUp()
DMmsQueryHelperTest.java76 contentResolver.addProvider(MMS_AUTHORITY, new MmsContentProvider()); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DCoreSettingsObserverTest.java95 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DPinnedSliceStateTest.java83 mContext.getContentResolver().addProvider(AUTH, mContentProvider, UNSTABLE); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java174 contentResolver.addProvider("telephony", new MockContentProvider(realContext) { in MockSystemServices()
191 contentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in MockSystemServices()
/frameworks/base/services/tests/servicestests/src/com/android/server/emergency/
DEmergencyAffordanceServiceTest.java126 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()

123