/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/repositories/appactions/ |
D | AppLaunchProviderFactory.kt | 55 addProvider(LauncherActivityLaunchProvider) 56 addProvider(MediaServiceLaunchProvider(carMediaManager, launchMediaCenter, onMediaSelected)) 57 addProvider(DisabledAppLaunchProvider(packageManager)) 58 addProvider(TosDisabledAppLaunchProvider) 59 addProvider(MirroringAppLaunchProvider) 82 private fun addProvider(provider: AppLaunchProvider) { in addProvider() method
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactDirectoryManagerTest.java | 186 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testScanAllProviders() 197 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testScanAllProviders() 282 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testPackageInstalled() 299 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testPackageInstalled() 336 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testPackageUninstalled() 344 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testPackageUninstalled() 383 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testPackageReplaced() 391 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testPackageReplaced() 442 MockContactDirectoryProvider provider1 = (MockContactDirectoryProvider) addProvider( in testPackageRenamed() 450 MockContactDirectoryProvider provider2 = (MockContactDirectoryProvider) addProvider( in testPackageRenamed() [all …]
|
D | ContactsActor.java | 459 provider = addProvider(providerClass, authority); in ContactsActor() 466 public <T extends ContentProvider> T addProvider(Class<T> providerClass, in addProvider() method in ContactsActor 468 return addProvider(providerClass, authority, mProviderContext); in addProvider() 471 public <T extends ContentProvider> T addProvider(Class<T> providerClass, in addProvider() method in ContactsActor 473 return addProvider(providerClass.newInstance(), authority, providerContext); in addProvider() 476 public <T extends ContentProvider> T addProvider(T provider, in addProvider() method in ContactsActor 488 resolver.addProvider(a, provider); in addProvider() 489 resolver.addProvider("0@" + a, provider); in addProvider()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | DataMigrationTest.java | 115 mMockContentResolver.addProvider(AUTHORITY, fakeContentProvider); in testEmptyMigration() 165 mMockContentResolver.addProvider(AUTHORITY, new MockContentProvider(mMockContext)); in testMissingProvider() 183 mMockContentResolver.addProvider(AUTHORITY, new MockContentProvider(mMockContext)); in testTooManyAttempt() 192 mMockContentResolver.addProvider(AUTHORITY, fakeContentProvider); in testSharedPreferencesMigration() 297 mMockContentResolver.addProvider(AUTHORITY, fakeContentProvider); in testIncompleteDbMigration() 317 mMockContentResolver.addProvider(AUTHORITY, fakeContentProvider); in testBluetoothDbMigration() 405 mMockContentResolver.addProvider(AUTHORITY, fakeContentProvider); in testOppDbMigration()
|
/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/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 334 mMockContentResolver.addProvider("sms", contentProvider); in setUp() 335 mMockContentResolver.addProvider("mms", contentProvider); in setUp() 336 mMockContentResolver.addProvider("mms-sms", mThreadProvider); in setUp() 640 mMockContentResolver.addProvider("sms", smsProvider); in testRestoreSms_NoSms() 653 mMockContentResolver.addProvider("sms", smsProvider); in testRestoreSms_AllSms() 668 mMockContentResolver.addProvider("sms", smsProvider); in testRestoreSms_WithException() 699 mMockContentResolver.addProvider("mms", mmsProvider); in testRestoreMms_NoMms() 721 mMockContentResolver.addProvider("mms", mmsProvider); in testRestoreMms_AllMms() 744 mMockContentResolver.addProvider("mms", mmsProvider); in testRestoreMmsWithAttachment() 763 mMockContentResolver.addProvider("mms", mmsProvider); in testRestoreMmsWithNullBody()
|
/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 | ParametersTest.java | 46 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp() 54 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 | EpgDataCleanupServiceTests.java | 60 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp() 68 mResolver.addProvider(TvContract.AUTHORITY, mProvider); in setUp()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/ |
D | MapClientContentTest.java | 115 mMockContentResolver.addProvider("sms", mMockSmsContentProvider); in setUp() 116 mMockContentResolver.addProvider("mms", mMockMmsContentProvider); in setUp() 117 mMockContentResolver.addProvider("mms-sms", mMockThreadContentProvider); in setUp() 459 mMockContentResolver.addProvider("sms", missingContentProvider); in testInsertSmsFails_messageHandleNotInteractable() 481 mMockContentResolver.addProvider("mms", missingContentProvider); in testInsertMmsPartsSkippedWhenMmsInsertFails_messageHandleNotInteractable()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | IsolatedContext.java | 80 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in IsolatedContext() 153 mResolver.addProvider(authority, provider);
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/ |
D | OTAResourcesManager.java | 108 OTAResourcesLoader.addProvider(ResourcesProvider.loadFromTable(fd, null)); in refreshOTAResources() 123 OTAResourcesLoader.addProvider(ResourcesProvider.loadFromApk(fd, null)); in refreshOTAResources()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/ |
D | TestContext.java | 34 testResolver.addProvider(authority, provider); in createStorageTestContext()
|
/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/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | FakeContactsProviderTestBase.java | 57 mMockContentResolver.addProvider(FakeContactsProvider.AUTHORITY, in setUp()
|
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/ |
D | BlockedNumberContractTest.java | 68 mMockContentResolver.addProvider(BlockedNumberContract.AUTHORITY_URI.toString(), in setUp()
|
D | MyMockContext.java | 129 mResolver.addProvider(BlockedNumberContract.AUTHORITY, mProvider); in initializeContext()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | UtilsTests.java | 159 dbUtils.getContentResolver().addProvider("settings", dbUtils.getContentProvider()); in setUp() 160 dbUtils.getContentResolver().addProvider(CalendarCache.URI.getAuthority(), in setUp()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | AbstractExtendedMockitoBluetoothTestCase.java | 112 mContentResolver.addProvider(Settings.AUTHORITY, mContentProvider); in MockContext()
|