/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/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/activities/ |
D | PeopleActivityTest.java | 39 import com.android.contacts.test.mocks.MockContentProvider; 40 import com.android.contacts.test.mocks.MockContentProvider.Query; 65 private MockContentProvider mContactsProvider; 66 private MockContentProvider mSettingsProvider;
|
D | SimImportActivityTest.java | 62 import com.android.contacts.test.mocks.MockContentProvider; 227 final MockContentProvider iccProvider = new MockContentProvider(); in selectionsAreImportedAndDisabledOnSubsequentImports() 228 iccProvider.expect(MockContentProvider.Query.forAnyUri()) in selectionsAreImportedAndDisabledOnSubsequentImports()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarBluetoothServiceTest.java | 30 import android.test.mock.MockContentProvider; 62 private MockContentProvider mMockContentProvider; 77 mMockContentProvider = new MockContentProvider() { in setUp()
|
D | BluetoothDeviceConnectionPolicyTest.java | 36 import android.test.mock.MockContentProvider; 65 private MockContentProvider mMockContentProvider; 81 mMockContentProvider = new MockContentProvider() { in setUp()
|
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
D | NoNullCursorAsyncQueryHandlerTest.java | 22 import android.test.mock.MockContentProvider; 45 final MockContentProvider mMockContentProvider = new MockContentProvider() { in setUp()
|
D | SimContactDaoTests.java | 62 import com.android.contacts.test.mocks.MockContentProvider; 581 private MockContentProvider mMockIccProvider; 588 mMockIccProvider = new MockContentProvider(); in setUp() 596 mMockIccProvider.expect(MockContentProvider.Query.forAnyUri()) in createsContactsFromCursor() 632 mMockIccProvider.expect(MockContentProvider.Query.forAnyUri()) in excludesEmptyContactsFromResult() 696 mMockIccProvider.expect(MockContentProvider.Query.forAnyUri()) in returnsEmptyListForEmptyCursor() 715 final ContentProvider mockProvider = mock(android.test.mock.MockContentProvider.class); in returnsEmptyListForNullCursor()
|
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ |
D | ContactDeletionInteractionTest.java | 35 import com.android.contacts.test.mocks.MockContentProvider; 36 import com.android.contacts.test.mocks.MockContentProvider.Query; 60 private MockContentProvider mContactsProvider;
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | GetOrCreateConversationActionTest.java | 22 import android.test.mock.MockContentProvider; 149 final MockContentProvider mockProvider = new MockContentProvider() { in setUp()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/map/ |
D | BluetoothMapContentObserverTest.java | 29 import android.test.mock.MockContentProvider; 49 class ExceptionTestProvider extends MockContentProvider {
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | GsmCellBroadcastHandlerTest.java | 45 import android.test.mock.MockContentProvider; 79 private class CellBroadcastContentProvider extends MockContentProvider { 141 private class SettingsProvider extends MockContentProvider {
|
D | CellBroadcastHandlerTest.java | 34 import android.test.mock.MockContentProvider; 67 private class CellBroadcastContentProvider extends MockContentProvider {
|
/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 | DatabaseHelperTest.java | 27 import android.test.mock.MockContentProvider; 41 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 | EpgDataCleanupServiceTests.java | 35 import android.test.mock.MockContentProvider; 62 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/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | ContactsManagerTest.java | 31 import android.test.mock.MockContentProvider; 160 static class FakeContactsContentProvider extends MockContentProvider {
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | Cp2DeviceLocalAccountLocatorTests.java | 31 import com.android.contacts.test.mocks.MockContentProvider; 184 private static class FakeContactsProvider extends MockContentProvider {
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 36 import android.test.mock.MockContentProvider; 288 ContentProvider contentProvider = new MockContentProvider() { in setUp() 751 private class FakeSmsProvider extends MockContentProvider { 800 private class FakeMmsProvider extends MockContentProvider { 936 private static class ThreadProvider extends MockContentProvider {
|