/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | ContactsMockContext.java | 36 private MockContentProvider mContactsProvider; 37 private MockContentProvider mSettingsProvider; 48 mContactsProvider = new MockContentProvider(); in ContactsMockContext() 50 mSettingsProvider = new MockContentProvider(); in ContactsMockContext() 59 public MockContentProvider getContactsProvider() { in getContactsProvider() 63 public MockContentProvider getSettingsProvider() { in getSettingsProvider()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | DynamicShortcutsTests.java | 45 import com.android.contacts.test.mocks.MockContentProvider; 276 final MockContentProvider provider = new MockContentProvider(); 277 provider.expect(MockContentProvider.Query.forAnyUri()) 285 private MockContentProvider.Query queryFor(Uri uri, Object... rows) { 286 final MockContentProvider.Query query = MockContentProvider.Query 296 private MockContentProvider.Query queryForSingleRow(Uri uri, Object... row) { 297 return new MockContentProvider.Query(uri) 304 private ContentResolver resolverWithExpectedQueries(MockContentProvider.Query... queries) { 305 final MockContentProvider provider = new MockContentProvider(); 306 for (MockContentProvider.Query query : queries) { [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
D | PeopleActivityTest.java | 40 import com.android.contacts.test.mocks.MockContentProvider; 41 import com.android.contacts.test.mocks.MockContentProvider.Query; 66 private MockContentProvider mContactsProvider; 67 private MockContentProvider mSettingsProvider;
|
D | SimImportActivityTest.java | 64 import com.android.contacts.test.mocks.MockContentProvider; 229 final MockContentProvider simPhonebookProvider = new MockContentProvider(); in selectionsAreImportedAndDisabledOnSubsequentImports() 230 simPhonebookProvider.expect(MockContentProvider.Query.forAnyUri()) in selectionsAreImportedAndDisabledOnSubsequentImports()
|
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
D | NoNullCursorAsyncQueryHandlerTest.java | 22 import android.test.mock.MockContentProvider; 46 final MockContentProvider mMockContentProvider = new MockContentProvider() { in setUp()
|
D | SimContactDaoTests.java | 64 import com.android.contacts.test.mocks.MockContentProvider; 583 private MockContentProvider mMockSimPhonebookProvider; 590 mMockSimPhonebookProvider = new MockContentProvider(); in setUp() 598 mMockSimPhonebookProvider.expect(MockContentProvider.Query.forAnyUri()) in createsContactsFromCursor() 624 mMockSimPhonebookProvider.expect(MockContentProvider.Query.forAnyUri()) in excludesEmptyContactsFromResult() 667 mMockSimPhonebookProvider.expect(MockContentProvider.Query.forAnyUri()) in returnsEmptyListForEmptyCursor() 685 final ContentProvider mockProvider = mock(android.test.mock.MockContentProvider.class); in returnsEmptyListForNullCursor()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/utils/ |
D | MockContentProviderWrapper.kt | 24 import android.test.mock.MockContentProvider 35 class MockContentProviderWrapper(val provider: ContentProvider) : MockContentProvider() {
|
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ |
D | ContactDeletionInteractionTest.java | 36 import com.android.contacts.test.mocks.MockContentProvider; 37 import com.android.contacts.test.mocks.MockContentProvider.Query; 61 private MockContentProvider mContactsProvider;
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | DataMigrationTest.java | 37 import android.test.mock.MockContentProvider; 132 private static class BluetoothLegacyContentProvider extends MockContentProvider { 165 mMockContentResolver.addProvider(AUTHORITY, new MockContentProvider(mMockContext)); in testMissingProvider() 183 mMockContentResolver.addProvider(AUTHORITY, new MockContentProvider(mMockContext)); in testTooManyAttempt() 227 extends MockContentProvider { 431 private static class BluetoothLegacyDbContentProvider extends MockContentProvider {
|
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | FakeContactsProviderTestBase.java | 26 import android.test.mock.MockContentProvider; 56 MockContentProvider.attachInfoForTesting(mFakeContactsProvider, context, providerInfo); in setUp()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | GetOrCreateConversationActionTest.java | 22 import android.test.mock.MockContentProvider; 150 final MockContentProvider mockProvider = new MockContentProvider() { in setUp()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | CarBluetoothServiceTest.java | 40 import android.test.mock.MockContentProvider; 76 private MockContentProvider mMockContentProvider; 97 mMockContentProvider = new MockContentProvider() { in setUp()
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | UnrecognizedColumnsTest.java | 10 import android.test.mock.MockContentProvider; 35 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp()
|
D | ColumnFilterTest.java | 29 import android.test.mock.MockContentProvider; 45 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp()
|
D | BootCompletedReceiverTest.java | 33 import android.test.mock.MockContentProvider; 53 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp()
|
D | PackageRemovedReceiverTest.java | 33 import android.test.mock.MockContentProvider; 53 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp()
|
D | TransientRowHelperTests.java | 34 import android.test.mock.MockContentProvider; 59 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp()
|
D | ParametersTest.java | 28 import android.test.mock.MockContentProvider; 46 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp()
|
D | DatabaseHelperTest.java | 27 import android.test.mock.MockContentProvider; 41 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp()
|
D | EpgDataCleanupServiceTests.java | 32 import android.test.mock.MockContentProvider; 60 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in setUp()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | DbTestUtils.java | 27 import android.test.mock.MockContentProvider; 133 static class FakeContentProvider extends MockContentProvider {
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | IsolatedContext.java | 29 import android.test.mock.MockContentProvider; 80 mResolver.addProvider(Settings.AUTHORITY, new MockContentProvider() { in IsolatedContext()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | ContactsManagerTest.java | 31 import android.test.mock.MockContentProvider; 160 static class FakeContactsContentProvider extends MockContentProvider {
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/ |
D | TestMediaProvider.kt | 24 import android.test.mock.MockContentProvider in <lambda>() 100 ) : MockContentProvider() {
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | AbstractDownloadProviderFunctionalTest.java | 43 import android.test.mock.MockContentProvider; 103 static class MockMediaProvider extends MockContentProvider {
|