/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactDirectoryManagerTest.java | 165 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testScanAllProviders() 176 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testScanAllProviders() 259 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testPackageInstalled() 276 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testPackageInstalled() 312 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testPackageUninstalled() 320 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testPackageUninstalled() 358 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testPackageReplaced() 366 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testPackageReplaced() 416 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testPackageRenamed() 424 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testPackageRenamed() [all …]
|
D | ContactsActor.java | 430 provider = addProvider(providerClass, authority); in ContactsActor() 437 public <T extends ContentProvider> T addProvider(Class<T> providerClass, in addProvider() method in ContactsActor 439 return addProvider(providerClass, authority, mProviderContext); in addProvider() 442 public <T extends ContentProvider> T addProvider(Class<T> providerClass, in addProvider() method in ContactsActor 444 return addProvider(providerClass.newInstance(), authority, providerContext); in addProvider() 447 public <T extends ContentProvider> T addProvider(T provider, in addProvider() method in ContactsActor 459 resolver.addProvider(a, provider); in addProvider() 460 resolver.addProvider("0@" + a, provider); in addProvider()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/map/ |
D | BluetoothMapContentObserverTest.java | 100 mockResolver.addProvider("sms", mockProvider); in testInitMsgList() 132 mockResolver.addProvider("sms", mockProvider); in testPushGroupMMS() 133 mockResolver.addProvider("mms", mockProvider); in testPushGroupMMS() 134 mockResolver.addProvider("mms-sms", mockProvider); in testPushGroupMMS()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 306 mMockContentResolver.addProvider("sms", contentProvider); in setUp() 307 mMockContentResolver.addProvider("mms", contentProvider); in setUp() 308 mMockContentResolver.addProvider("mms-sms", mThreadProvider); in setUp() 600 mMockContentResolver.addProvider("sms", smsProvider); in testRestoreSms_NoSms() 613 mMockContentResolver.addProvider("sms", smsProvider); in testRestoreSms_AllSms() 628 mMockContentResolver.addProvider("sms", smsProvider); in testRestoreSms_WithException() 660 mMockContentResolver.addProvider("mms", mmsProvider); in testRestoreMms_NoMms() 672 mMockContentResolver.addProvider("mms", mmsProvider); in testRestoreMms_AllMms() 686 mMockContentResolver.addProvider("mms", mmsProvider); in testRestoreMmsWithAttachment() 695 mMockContentResolver.addProvider("mms", mmsProvider); in testRestoreMmsWithNullBody()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/core/ |
D | ResolverRenamingMockContext.java | 49 public void addProvider(String name, ContentProvider provider) { in addProvider() method in ResolverRenamingMockContext 50 RESOLVER.addProvider(name, provider); in addProvider()
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | ContactsMockContext.java | 49 mContentResolver.addProvider(authority, mContactsProvider); in ContactsMockContext() 51 mContentResolver.addProvider(Settings.AUTHORITY, mSettingsProvider); in ContactsMockContext()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
D | FakeContext.java | 93 mContentResolver.addProvider(name, provider); in addContentProvider() 98 mContentResolver.addProvider(uri.getAuthority(), provider); in addDefaultProvider()
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | UnrecognizedColumnsTest.java | 35 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp() 43 mResolver.addProvider(TvContract.AUTHORITY, mProvider); in setUp()
|
D | ColumnFilterTest.java | 45 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp() 53 mResolver.addProvider(TvContract.AUTHORITY, mProvider); in setUp()
|
D | BootCompletedReceiverTest.java | 53 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp() 61 mResolver.addProvider(TvContract.AUTHORITY, mProvider); in setUp()
|
D | PackageRemovedReceiverTest.java | 53 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp() 61 mResolver.addProvider(TvContract.AUTHORITY, mProvider); in setUp()
|
D | TransientRowHelperTests.java | 59 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp() 67 mResolver.addProvider(TvContract.AUTHORITY, mProvider); in setUp()
|
D | DatabaseHelperTest.java | 41 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp() 49 mResolver.addProvider(TvContract.AUTHORITY, mProvider); in setUp()
|
D | ParametersTest.java | 46 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp() 54 mResolver.addProvider(TvContract.AUTHORITY, mProvider); in setUp()
|
D | EpgDataCleanupServiceTests.java | 62 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp() 70 mResolver.addProvider(TvContract.AUTHORITY, mProvider); in setUp()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | MediaScannerTest.java | 112 mResolver.addProvider(MediaStore.AUTHORITY, mProvider); in IsolatedContext() 118 mResolver.addProvider(MediaDocumentsProvider.AUTHORITY, mDocumentsProvider); in IsolatedContext() 120 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in IsolatedContext()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/ |
D | MapClientStateMachineTest.java | 117 mMockContentResolver.addProvider("sms", mMockContentProvider); in setUp() 118 mMockContentResolver.addProvider("mms", mMockContentProvider); in setUp() 119 mMockContentResolver.addProvider("mms-sms", mMockContentProvider); in setUp()
|
D | MapClientContentTest.java | 128 mMockContentResolver.addProvider("sms", mMockSmsContentProvider); in setUp() 129 mMockContentResolver.addProvider("mms", mMockMmsContentProvider); in setUp() 130 mMockContentResolver.addProvider("mms-sms", mMockThreadContentProvider); in setUp()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | AbstractDownloadProviderFunctionalTest.java | 204 mResolver.addProvider(PROVIDER_AUTHORITY, provider); in setUp() 205 mResolver.addProvider(MediaStore.AUTHORITY, new MockMediaProvider()); in setUp()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/ |
D | TestContext.java | 34 testResolver.addProvider(authority, provider); in createStorageTestContext()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | UtilsTests.java | 175 dbUtils.getContentResolver().addProvider("settings", dbUtils.getContentProvider()); in setUp() 176 dbUtils.getContentResolver().addProvider(CalendarCache.URI.getAuthority(), in setUp()
|
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/ |
D | BlockedNumberContractTest.java | 67 mMockContentResolver.addProvider(BlockedNumberContract.AUTHORITY_URI.toString(), in setUp()
|
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
D | SimImportActivityTest.java | 241 mockResolver.addProvider(SimPhonebookContract.AUTHORITY, simPhonebookProvider); in selectionsAreImportedAndDisabledOnSubsequentImports() 244 mockResolver.addProvider(ContactsContract.AUTHORITY, new ForwardingContentProvider( in selectionsAreImportedAndDisabledOnSubsequentImports()
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | GsmCellBroadcastHandlerTest.java | 178 ((MockContentResolver) mMockedContext.getContentResolver()).addProvider( in setUp() 181 ((MockContentResolver) mMockedContext.getContentResolver()).addProvider( in setUp()
|
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
D | NoNullCursorAsyncQueryHandlerTest.java | 54 mMockContentResolver.addProvider(AUTHORITY, mMockContentProvider); in setUp()
|