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.java51 public class MockContentProvider extends ContentProvider { class
66 return MockContentProvider.this.applyBatch(authority, operations); in applyBatch()
72 return MockContentProvider.this.bulkInsert(url, initialValues); in bulkInsert()
78 return MockContentProvider.this.delete(url, extras); in delete()
83 return MockContentProvider.this.getType(url); in getType()
88 MockContentProvider.this.getTypeAsync(uri, callback); in getTypeAsync()
94 return MockContentProvider.this.insert(url, initialValues, extras); in insert()
101 return MockContentProvider.this.openAssetFile(url, mode); in openAssetFile()
108 return MockContentProvider.this.openFile(url, mode); in openFile()
115 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 {
DFakeTelephonyProvider.java29 import android.test.mock.MockContentProvider;
34 public class FakeTelephonyProvider extends MockContentProvider {
DSmsNumberUtilsTest.java27 import android.test.mock.MockContentProvider;
46 private class HbpcdContentProvider extends MockContentProvider {
DCarrierResolverTest.java31 import android.test.mock.MockContentProvider;
268 private class CarrierIdContentProvider extends MockContentProvider {
DTelephonyTest.java68 import android.test.mock.MockContentProvider;
718 public static class FakeBlockedNumberContentProvider extends MockContentProvider {
742 public static class FakeSettingsConfigProvider extends MockContentProvider {
821 field = MockContentProvider.class.getDeclaredField("mIContentProvider"); in setupMocksForTelephonyPermissions()
DTelephonyPermissionsTest.java44 import android.test.mock.MockContentProvider;
642 field = MockContentProvider.class.getDeclaredField("mIContentProvider"); in setupMocksForDeviceIdentifiersErrorPath()
DContextFixture.java79 import android.test.mock.MockContentProvider;
112 public class FakeContentProvider extends MockContentProvider {
DSubscriptionInfoUpdaterTest.java53 import android.test.mock.MockContentProvider;
115 private class FakeSubscriptionContentProvider extends MockContentProvider {
DCarrierAppUtilsTest.java28 import android.test.mock.MockContentProvider;
1178 class SettingsMockContentProvider 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 {
DContactsQueryHelperTest.java31 import android.test.mock.MockContentProvider;
168 private class ContactsContentProvider extends MockContentProvider {
DMmsQueryHelperTest.java29 import android.test.mock.MockContentProvider;
161 private class MmsContentProvider 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.java63 import android.test.mock.MockContentProvider;
174 contentResolver.addProvider("telephony", new MockContentProvider(realContext) { in MockSystemServices()

12