/frameworks/base/tests/testables/src/android/testing/ |
D | TestableContentResolver.java | 17 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/ |
D | MockContentResolver.java | 19 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/ |
D | ContentProvider.java | 99 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/ |
D | ProviderTestCase2.java | 19 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()
|
D | ProviderTestCase.java | 19 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/ |
D | SliceBroadcastRelay.java | 19 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/ |
D | AppComponentFactory.java | 21 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/ |
D | SliceBroadcastRelayHandlerTest.java | 26 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/ |
D | AppComponentFactory.java | 25 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/ |
D | ExternalRingtonesCursorWrapper.java | 19 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/ |
D | DisabledProvider.java | 19 import android.content.ContentProvider; 28 public class DisabledProvider extends ContentProvider {
|
D | EnabledProvider.java | 19 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/ |
D | NullProvider.java | 3 import android.content.ContentProvider; 8 public class NullProvider extends ContentProvider {
|
/frameworks/base/core/tests/coretests/apks/install_multi_package/src/com/android/frameworks/coretests/ |
D | SecondChildTestProvider.java | 20 import android.content.ContentProvider; 25 public class SecondChildTestProvider extends ContentProvider {
|
D | TestReceiver.java | 20 import android.content.ContentProvider; 25 public class TestReceiver extends ContentProvider {
|
D | TestProvider.java | 20 import android.content.ContentProvider; 25 public class TestProvider extends ContentProvider {
|
D | FirstChildTestProvider.java | 20 import android.content.ContentProvider; 25 public class FirstChildTestProvider extends ContentProvider {
|
D | SecondChildTestReceiver.java | 20 import android.content.ContentProvider; 25 public class SecondChildTestReceiver extends ContentProvider {
|
D | FirstChildTestReceiver.java | 20 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/ |
D | TestProvider.java | 20 import android.content.ContentProvider; 25 public class TestProvider extends ContentProvider {
|
D | TestReceiver.java | 20 import android.content.ContentProvider; 25 public class TestReceiver extends ContentProvider {
|
/frameworks/base/tests/ActivityManagerPerfTests/test-app/src/com/android/frameworks/perftests/amteststestapp/ |
D | TestContentProvider.java | 19 import android.content.ContentProvider; 24 public class TestContentProvider extends ContentProvider {
|
/frameworks/base/core/tests/coretests/apks/version/src/com/android/frameworks/coretests/version_test/ |
D | NullProvider.java | 3 import android.content.ContentProvider; 8 public class NullProvider extends ContentProvider {
|
/frameworks/base/services/tests/uiservicestests/src/com/android/frameworks/tests/uiservices/ |
D | DummyProvider.java | 17 import android.content.ContentProvider; 22 public class DummyProvider extends ContentProvider {
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | SlicePermissionManagerTest.java | 20 import android.content.ContentProvider; 95 ContentProvider.maybeAddUserId(uri, 1))); in testBackup() 98 ContentProvider.maybeAddUserId(uri, 1))); in testBackup()
|