Home
last modified time | relevance | path

Searched refs:MockContentProvider (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/test-mock/src/android/test/mock/
DMockContentProvider.java53 public class MockContentProvider extends ContentProvider { class
67 return MockContentProvider.this.applyBatch(authority, operations); in applyBatch()
73 return MockContentProvider.this.bulkInsert(url, initialValues); in bulkInsert()
79 return MockContentProvider.this.delete(url, extras); in delete()
84 return MockContentProvider.this.getType(url); in getType()
89 MockContentProvider.this.getTypeAsync(uri, callback); in getTypeAsync()
95 return MockContentProvider.this.insert(url, initialValues, extras); in insert()
102 return MockContentProvider.this.openAssetFile(url, mode); in openAssetFile()
109 return MockContentProvider.this.openFile(url, mode); in openFile()
116 return MockContentProvider.this.query(url, projection, queryArgs, null); in query()
[all …]
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DFakeSettingsProvider.java22 import android.test.mock.MockContentProvider;
67 public class FakeSettingsProvider extends MockContentProvider {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DFakeSmsContentProvider.java28 import android.test.mock.MockContentProvider;
30 public class FakeSmsContentProvider extends MockContentProvider {
DSmsNumberUtilsTest.java27 import android.test.mock.MockContentProvider;
46 private class HbpcdContentProvider extends MockContentProvider {
DFakeTelephonyProvider.java30 import android.test.mock.MockContentProvider;
35 public class FakeTelephonyProvider extends MockContentProvider {
DCarrierResolverTest.java32 import android.test.mock.MockContentProvider;
272 private class CarrierIdContentProvider extends MockContentProvider {
DTelephonyPermissionsTest.java45 import android.test.mock.MockContentProvider;
613 field = MockContentProvider.class.getDeclaredField("mIContentProvider"); in setupMocksForDeviceIdentifiersErrorPath()
DTelephonyTest.java85 import android.test.mock.MockContentProvider;
935 public static class FakeBlockedNumberContentProvider extends MockContentProvider {
959 public static class FakeSettingsConfigProvider extends MockContentProvider {
1050 field = MockContentProvider.class.getDeclaredField("mIContentProvider"); in replaceContentProvider()
DContextFixture.java84 import android.test.mock.MockContentProvider;
119 public static class FakeContentProvider extends MockContentProvider {
DSubscriptionInfoUpdaterTest.java53 import android.test.mock.MockContentProvider;
105 private class FakeSubscriptionContentProvider extends MockContentProvider {
/frameworks/base/test-mock/api/
Dlint-baseline.txt2 ArrayReturn: android.test.mock.MockContentProvider#bulkInsert(android.net.Uri, android.content.Cont…
10 MissingNullability: android.test.mock.MockContentProvider#attachInfo(android.content.Context, andro…
12 MissingNullability: android.test.mock.MockContentProvider#attachInfo(android.content.Context, andro…
14 MissingNullability: android.test.mock.MockContentProvider#bulkInsert(android.net.Uri, android.conte…
16 MissingNullability: android.test.mock.MockContentProvider#bulkInsert(android.net.Uri, android.conte…
18 MissingNullability: android.test.mock.MockContentProvider#getStreamTypes(android.net.Uri, String):
20 MissingNullability: android.test.mock.MockContentProvider#getStreamTypes(android.net.Uri, String) p…
22 MissingNullability: android.test.mock.MockContentProvider#getStreamTypes(android.net.Uri, String) p…
Dcurrent.txt12 public class MockContentProvider extends android.content.ContentProvider {
13 ctor protected MockContentProvider();
14 ctor public MockContentProvider(android.content.Context);
15 …ctor public MockContentProvider(android.content.Context, String, String, android.content.pm.PathPe…
/frameworks/base/test-runner/src/android/test/
DProviderTestCase2.java24 import android.test.mock.MockContentProvider;
156 MockContentProvider.attachInfoForTesting(instance, context, providerInfo); in createProviderForTest()
DRenamingDelegatingContext.java24 import android.test.mock.MockContentProvider;
75 MockContentProvider.attachInfoForTesting(mProvider, mContext, null); in providerWithRenamedContext()
/frameworks/base/tests/testables/src/android/testing/
DTestableSettingsProvider.java25 import android.test.mock.MockContentProvider;
36 public class TestableSettingsProvider extends MockContentProvider {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DFakeProviderWithAsserts.java24 import android.test.mock.MockContentProvider;
34 class FakeProviderWithAsserts extends MockContentProvider {
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DExportTestProvider.java28 import android.test.mock.MockContentProvider;
38 public class ExportTestProvider extends MockContentProvider {
DImportTestProvider.java24 import android.test.mock.MockContentProvider;
40 public class ImportTestProvider extends MockContentProvider {
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DSmsQueryHelperTest.java29 import android.test.mock.MockContentProvider;
143 private class SmsContentProvider extends MockContentProvider {
DCallLogQueryHelperTest.java29 import android.test.mock.MockContentProvider;
161 private class CallLogContentProvider extends MockContentProvider {
DMmsQueryHelperTest.java29 import android.test.mock.MockContentProvider;
161 private class MmsContentProvider extends MockContentProvider {
DContactsQueryHelperTest.java32 import android.test.mock.MockContentProvider;
186 private class ContactsContentProvider extends MockContentProvider {
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsBackupAgentTest.java37 import android.test.mock.MockContentProvider;
373 private static class DeviceSpecificInfoMockContentProvider extends MockContentProvider {
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java67 import android.test.mock.MockContentProvider;
195 contentResolver.addProvider("telephony", new MockContentProvider(realContext) { in MockSystemServices()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataProfileManagerTest.java47 import android.test.mock.MockContentProvider;
99 private class ApnSettingContentProvider extends MockContentProvider {

12