Home
last modified time | relevance | path

Searched refs:mMockContentResolver (Results 1 – 3 of 3) sorted by relevance

/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/database/
DNoNullCursorAsyncQueryHandlerTest.java33 private MockContentResolver mMockContentResolver; field in NoNullCursorAsyncQueryHandlerTest
42 mMockContentResolver = new MockContentResolver(); in setUp()
52 mMockContentResolver.addProvider(AUTHORITY, mMockContentProvider); in setUp()
67 mMockContentResolver) { in testCursorIsNotNull()
94 mMockContentResolver) { in testCursorContainsCorrectCookies()
121 mMockContentResolver) { in testCursorContainsCorrectColumns()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/mock/
DBluetoothMockContext.java29 private ContentResolver mMockContentResolver; field in BluetoothMockContext
33 mMockContentResolver = mockContentResolver; in BluetoothMockContext()
39 return mMockContentResolver; in getContentResolver()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java86 private MockContentResolver mMockContentResolver = new MockContentResolver(); field in TelephonyBackupAgentTest
235 mMockContentResolver.addProvider("sms", contentProvider); in setUp()
236 mMockContentResolver.addProvider("mms", contentProvider); in setUp()
237 mMockContentResolver.addProvider("mms-sms", mThreadProvider); in setUp()
243 return mMockContentResolver; in setUp()
249 mTelephonyBackupAgent.setContentResolver(mMockContentResolver); in setUp()
489 mMockContentResolver.addProvider("sms", smsProvider); in testRestoreSms_NoSms()
502 mMockContentResolver.addProvider("sms", smsProvider); in testRestoreSms_AllSms()
515 mMockContentResolver.addProvider("mms", mmsProvider); in testRestoreMms_NoMms()
527 mMockContentResolver.addProvider("mms", mmsProvider); in testRestoreMms_AllMms()