/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
D | NoNullCursorAsyncQueryHandlerTest.java | 35 private MockContentResolver mMockContentResolver; field in NoNullCursorAsyncQueryHandlerTest 44 mMockContentResolver = new MockContentResolver(); in setUp() 54 mMockContentResolver.addProvider(AUTHORITY, mMockContentProvider); in setUp() 69 mMockContentResolver) { in testCursorIsNotNull() 96 mMockContentResolver) { in testCursorContainsCorrectCookies() 123 mMockContentResolver) { in testCursorContainsCorrectColumns()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | BluetoothDeviceConnectionPolicyTest.java | 58 private MockContentResolver mMockContentResolver; field in BluetoothDeviceConnectionPolicyTest 74 mMockContentResolver = new MockContentResolver(mMockContext); in setUp() 81 mMockContentResolver.addProvider(Settings.AUTHORITY, mMockContentProvider); in setUp() 85 when(mMockContext.getContentResolver()).thenReturn(mMockContentResolver); in setUp() 122 mMockContentResolver = null; in tearDown()
|
D | CarBluetoothServiceTest.java | 62 private MockContentResolver mMockContentResolver; field in CarBluetoothServiceTest 77 mMockContentResolver = new MockContentResolver(mMockContext); in setUp() 84 mMockContentResolver.addProvider(Settings.AUTHORITY, mMockContentProvider); in setUp() 88 when(mMockContext.getContentResolver()).thenReturn(mMockContentResolver); in setUp()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 93 private MockContentResolver mMockContentResolver = new MockContentResolver(); field in TelephonyBackupAgentTest 294 mMockContentResolver.addProvider("sms", contentProvider); in setUp() 295 mMockContentResolver.addProvider("mms", contentProvider); in setUp() 296 mMockContentResolver.addProvider("mms-sms", mThreadProvider); in setUp() 302 return mMockContentResolver; in setUp() 308 mTelephonyBackupAgent.setContentResolver(mMockContentResolver); in setUp() 588 mMockContentResolver.addProvider("sms", smsProvider); in testRestoreSms_NoSms() 601 mMockContentResolver.addProvider("sms", smsProvider); in testRestoreSms_AllSms() 614 mMockContentResolver.addProvider("mms", mmsProvider); in testRestoreMms_NoMms() 626 mMockContentResolver.addProvider("mms", mmsProvider); in testRestoreMms_AllMms() [all …]
|
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/ |
D | BlockedNumberContractTest.java | 60 private MockContentResolver mMockContentResolver = new MockContentResolver(); field in BlockedNumberContractTest 67 mMockContentResolver.addProvider(BlockedNumberContract.AUTHORITY_URI.toString(), in setUp() 69 when(mMockContext.getContentResolver()).thenReturn(mMockContentResolver); in setUp()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/ |
D | GarageModeServiceTest.java | 47 @Mock private ContentResolver mMockContentResolver; field in GarageModeServiceTest 56 when(mMockContext.getContentResolver()).thenReturn(mMockContentResolver); in setUp()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | AdapterServiceTest.java | 98 private MockContentResolver mMockContentResolver; field in AdapterServiceTest 129 mMockContentResolver = new MockContentResolver(mMockContext); in setUp() 135 when(mMockContext.getContentResolver()).thenReturn(mMockContentResolver); in setUp() 303 when(mockContext.getContentResolver()).thenReturn(mMockContentResolver); in testEnableDisableOnlyGatt()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetStateMachineTest.java | 83 private MockContentResolver mMockContentResolver; field in HeadsetStateMachineTest 109 mMockContentResolver = new MockContentResolver(); in setUp() 110 when(mHeadsetService.getContentResolver()).thenReturn(mMockContentResolver); in setUp() 894 mMockContentResolver.addProvider(CallLog.AUTHORITY, mockContentProvider); in testKeyPressedEventWhenIdleAndAudioOff_dialCall()
|