Home
last modified time | relevance | path

Searched refs:ContentProvider (Results 1 – 25 of 133) sorted by relevance

123456

/frameworks/base/tests/testables/src/android/testing/
DTestableContentResolver.java17 import android.content.ContentProvider;
38 private final Map<String, ContentProvider> mProviders = Maps.newHashMap();
40 private final ArraySet<ContentProvider> mInUse = new ArraySet<>();
64 public void addProvider(String name, ContentProvider provider) { in addProvider()
70 final ContentProvider provider = mProviders.get(name); in acquireProvider()
80 final ContentProvider provider = mProviders.get(name); in acquireExistingProvider()
101 final ContentProvider provider = mProviders.get(name); in acquireUnstableProvider()
/frameworks/base/test-mock/src/android/test/mock/
DMockContentResolver.java19 import android.content.ContentProvider;
53 Map<String, ContentProvider> mProviders;
79 public void addProvider(String name, ContentProvider provider) { in addProvider()
100 final ContentProvider provider = mProviders.get(name); in acquireExistingProvider()
/frameworks/base/core/java/android/content/
DContentProvider.java99 public abstract class ContentProvider implements ComponentCallbacks2 { class
141 public ContentProvider() { in ContentProvider() method in ContentProvider
157 public ContentProvider( in ContentProvider() method in ContentProvider
181 public static ContentProvider coerceToLocalContentProvider( in coerceToLocalContentProvider()
199 ContentProvider getContentProvider() { in getContentProvider()
200 return ContentProvider.this; in getContentProvider()
228 Cursor cursor = ContentProvider.this.query( in query()
240 return ContentProvider.this.query( in query()
252 return ContentProvider.this.getType(uri); in getType()
265 return maybeAddUserId(ContentProvider.this.insert(uri, initialValues), userId); in insert()
[all …]
/frameworks/base/test-runner/src/android/test/
DProviderTestCase2.java19 import android.content.ContentProvider;
71 public abstract class ProviderTestCase2<T extends ContentProvider> extends AndroidTestCase {
150 static <T extends ContentProvider> T createProviderForTest( in createProviderForTest()
221 public static <T extends ContentProvider> ContentResolver newResolverWithContentProviderFromSql( in newResolverWithContentProviderFromSql()
DProviderTestCase.java19 import android.content.ContentProvider;
35 public abstract class ProviderTestCase<T extends ContentProvider>
95 public static <T extends ContentProvider> ContentResolver newResolverWithContentProviderFromSql( in newResolverWithContentProviderFromSql()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DSliceBroadcastRelay.java19 import android.content.ContentProvider;
46 registerBroadcast.putExtra(EXTRA_URI, ContentProvider.maybeAddUserId(registerKey, in registerReceiver()
58 registerBroadcast.putExtra(EXTRA_URI, ContentProvider.maybeAddUserId(registerKey, in unregisterReceivers()
/frameworks/base/core/java/android/app/
DAppComponentFactory.java21 import android.content.ContentProvider;
118 public @NonNull ContentProvider instantiateProvider(@NonNull ClassLoader cl, in instantiateProvider()
121 return (ContentProvider) cl.loadClass(className).newInstance(); in instantiateProvider()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSliceBroadcastRelayHandlerTest.java26 import android.content.ContentProvider;
58 intent.putExtra(SliceBroadcastRelay.EXTRA_URI, ContentProvider.maybeAddUserId(testUri, 0)); in testRegister()
80 intent.putExtra(SliceBroadcastRelay.EXTRA_URI, ContentProvider.maybeAddUserId(testUri, 0)); in testUnregister()
91 intent.putExtra(SliceBroadcastRelay.EXTRA_URI, ContentProvider.maybeAddUserId(testUri, 0)); in testUnregister()
108 intent.putExtra(SliceBroadcastRelay.EXTRA_URI, ContentProvider.maybeAddUserId(testUri, 0)); in testRelay()
/frameworks/support/compat/src/main/java/androidx/core/app/
DAppComponentFactory.java25 import android.content.ContentProvider;
74 public final ContentProvider instantiateProvider(ClassLoader cl, String className) in instantiateProvider()
188 public @NonNull ContentProvider instantiateProviderCompat(@NonNull ClassLoader cl, in instantiateProviderCompat()
192 return (ContentProvider) cl.loadClass(className).getDeclaredConstructor().newInstance(); in instantiateProviderCompat()
/frameworks/base/media/java/android/media/
DExternalRingtonesCursorWrapper.java19 import android.content.ContentProvider;
42 result = ContentProvider.maybeAddUserId(Uri.parse(result), mUserId).toString(); in getString()
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
DDisabledProvider.java19 import android.content.ContentProvider;
28 public class DisabledProvider extends ContentProvider {
DEnabledProvider.java19 import android.content.ContentProvider;
28 public class EnabledProvider extends ContentProvider {
/frameworks/base/core/tests/coretests/apks/version_nosys/src/com/android/frameworks/coretests/version_test/
DNullProvider.java3 import android.content.ContentProvider;
8 public class NullProvider extends ContentProvider {
/frameworks/base/core/tests/coretests/apks/install_multi_package/src/com/android/frameworks/coretests/
DSecondChildTestProvider.java20 import android.content.ContentProvider;
25 public class SecondChildTestProvider extends ContentProvider {
DTestReceiver.java20 import android.content.ContentProvider;
25 public class TestReceiver extends ContentProvider {
DTestProvider.java20 import android.content.ContentProvider;
25 public class TestProvider extends ContentProvider {
DFirstChildTestProvider.java20 import android.content.ContentProvider;
25 public class FirstChildTestProvider extends ContentProvider {
DSecondChildTestReceiver.java20 import android.content.ContentProvider;
25 public class SecondChildTestReceiver extends ContentProvider {
DFirstChildTestReceiver.java20 import android.content.ContentProvider;
25 public class FirstChildTestReceiver extends ContentProvider {
/frameworks/base/core/tests/coretests/apks/install_complete_package_info/src/com/android/frameworks/coretests/
DTestProvider.java20 import android.content.ContentProvider;
25 public class TestProvider extends ContentProvider {
DTestReceiver.java20 import android.content.ContentProvider;
25 public class TestReceiver extends ContentProvider {
/frameworks/base/tests/ActivityManagerPerfTests/test-app/src/com/android/frameworks/perftests/amteststestapp/
DTestContentProvider.java19 import android.content.ContentProvider;
24 public class TestContentProvider extends ContentProvider {
/frameworks/base/core/tests/coretests/apks/version/src/com/android/frameworks/coretests/version_test/
DNullProvider.java3 import android.content.ContentProvider;
8 public class NullProvider extends ContentProvider {
/frameworks/base/services/tests/uiservicestests/src/com/android/frameworks/tests/uiservices/
DDummyProvider.java17 import android.content.ContentProvider;
22 public class DummyProvider extends ContentProvider {
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSlicePermissionManagerTest.java20 import android.content.ContentProvider;
95 ContentProvider.maybeAddUserId(uri, 1))); in testBackup()
98 ContentProvider.maybeAddUserId(uri, 1))); in testBackup()

123456