/frameworks/base/test-runner/src/android/test/ |
D | ProviderTestCase.java | 23 import android.test.mock.MockContentResolver; 42 private MockContentResolver mResolver; 62 mResolver = new MockContentResolver(); in setUp() 87 public MockContentResolver getMockContentResolver() { in getMockContentResolver() 100 MockContentResolver resolver = new MockContentResolver(); in newResolverWithContentProviderFromSql()
|
D | ProviderTestCase2.java | 26 import android.test.mock.MockContentResolver; 77 private MockContentResolver mResolver; 134 mResolver = new MockContentResolver(); in setUp() 178 public MockContentResolver getMockContentResolver() { in getMockContentResolver() 225 MockContentResolver resolver = new MockContentResolver(); in newResolverWithContentProviderFromSql()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | StorageStatsServiceTest.java | 23 import android.test.mock.MockContentResolver; 31 private MockContentResolver mContentResolver; 36 mContentResolver = new MockContentResolver(); in setUp()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/test/ |
D | FakeSettingsProviderTest.java | 24 import android.test.mock.MockContentResolver; 38 private MockContentResolver mCr; 42 mCr = new MockContentResolver(); in setUp()
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockContentResolver.java | 52 public class MockContentResolver extends ContentResolver { class 59 public MockContentResolver() { in MockContentResolver() method in MockContentResolver 67 public MockContentResolver(Context context) { in MockContentResolver() method in MockContentResolver
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | ExportTestResolver.java | 20 import android.test.mock.MockContentResolver; 22 public class ExportTestResolver extends MockContentResolver {
|
D | ImportTestResolver.java | 23 import android.test.mock.MockContentResolver; 27 public class ImportTestResolver extends MockContentResolver {
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | LockPatternUtilsTest.java | 33 import android.test.mock.MockContentResolver; 59 final MockContentResolver cr = new MockContentResolver(context); in configureTest()
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | TestContentResolver.java | 21 import android.test.mock.MockContentResolver; 31 class TestContentResolver extends MockContentResolver {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | CoreSettingsObserverTest.java | 32 import android.test.mock.MockContentResolver; 67 private MockContentResolver mContentResolver; 89 mContentResolver = new MockContentResolver(mContext); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | RcsMessageStoreControllerTest.java | 36 import android.test.mock.MockContentResolver; 52 private MockContentResolver mContentResolver; 64 mContentResolver = (MockContentResolver) mContext.getContentResolver(); in setUp()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | DnsManagerTest.java | 40 import android.test.mock.MockContentResolver; 73 MockContentResolver mContentResolver; 82 mContentResolver = new MockContentResolver(); in setUp()
|
D | MultipathPolicyTrackerTest.java | 57 import android.test.mock.MockContentResolver; 103 private MockContentResolver mContentResolver; 137 mContentResolver = Mockito.spy(new MockContentResolver(mContext)); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
D | DiskStatsLoggingServiceTest.java | 45 import android.test.mock.MockContentResolver; 191 MockContentResolver cr = new MockContentResolver(); in testDontCrashOnRun()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SmsNumberUtilsTest.java | 25 import android.test.mock.MockContentResolver; 124 ((MockContentResolver) mContextFixture.getTestDouble().getContentResolver()) in setUp()
|
D | SubscriptionInfoUpdaterTest.java | 52 import android.test.mock.MockContentResolver; 160 ((MockContentResolver) mContext.getContentResolver()).addProvider( in setUp() 647 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testUpdateFromCarrierConfigOpportunisticUnchanged() 672 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testUpdateFromCarrierConfigOpportunisticSetOpportunistic() 704 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testUpdateFromCarrierConfigOpportunisticAddToGroup() 740 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testUpdateFromCarrierConfigOpportunisticRemoveFromGroup()
|
D | CarrierActionAgentTest.java | 33 import android.test.mock.MockContentResolver; 54 private class FakeContentResolver extends MockContentResolver {
|
D | CarrierResolverTest.java | 35 import android.test.mock.MockContentResolver; 108 ((MockContentResolver) mContext.getContentResolver()).addProvider( in setUp() 275 ((MockContentResolver) mContext.getContentResolver()).addProvider( in testCarrierMatchPreferApnChange()
|
D | TelephonyPermissionsTest.java | 40 import android.test.mock.MockContentResolver; 77 private MockContentResolver mMockContentResolver; 411 mMockContentResolver = new MockContentResolver(); in setupMocksForDeviceIdentifiersErrorPath()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | TetheringConfigurationTest.java | 40 import android.test.mock.MockContentResolver; 67 private MockContentResolver mContentResolver; 119 mContentResolver = new MockContentResolver(); in setUp()
|
D | EntitlementManagerTest.java | 50 import android.test.mock.MockContentResolver; 93 private MockContentResolver mContentResolver; 160 mContentResolver = new MockContentResolver(); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaInboundSmsHandlerTest.java | 43 import android.test.mock.MockContentResolver; 154 ((MockContentResolver)mContext.getContentResolver()).addProvider( in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 59 import android.test.mock.MockContentResolver; 106 public final MockContentResolver contentResolver; 154 contentResolver = new MockContentResolver(); in MockSystemServices()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/ |
D | AccessibilityShortcutControllerTest.java | 60 import android.test.mock.MockContentResolver; 120 private MockContentResolver mContentResolver; 137 mContentResolver = new MockContentResolver(mContext); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/ |
D | ColorDisplayServiceTest.java | 35 import android.test.mock.MockContentResolver; 89 final MockContentResolver cr = new MockContentResolver(mContext); in setUp()
|