Home
last modified time | relevance | path

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

1234

/frameworks/base/test-runner/src/android/test/mock/
DMockContentResolver.java19 import android.content.ContentProvider;
55 Map<String, ContentProvider> mProviders;
81 public void addProvider(String name, ContentProvider provider) { in addProvider()
102 final ContentProvider provider = mProviders.get(name); in acquireExistingProvider()
DMockContentProvider.java19 import android.content.ContentProvider;
45 public class MockContentProvider extends ContentProvider {
/frameworks/base/core/java/android/content/
DContentProvider.java91 public abstract class ContentProvider implements ComponentCallbacks2 { class
132 public ContentProvider() { in ContentProvider() method in ContentProvider
148 public ContentProvider( in ContentProvider() method in ContentProvider
172 public static ContentProvider coerceToLocalContentProvider( in coerceToLocalContentProvider()
190 ContentProvider getContentProvider() { in getContentProvider()
191 return ContentProvider.this; in getContentProvider()
211 return ContentProvider.this.query( in query()
223 return ContentProvider.this.getType(uri); in getType()
236 return maybeAddUserId(ContentProvider.this.insert(uri, initialValues), userId); in insert()
251 return ContentProvider.this.bulkInsert(uri, initialValues); in bulkInsert()
[all …]
DContentProviderResult.java19 import android.content.ContentProvider;
57 uri = ContentProvider.maybeAddUserId(cpr.uri, userId); in ContentProviderResult()
DContentProviderOperation.java19 import android.content.ContentProvider;
95 mUri = ContentProvider.getUriWithoutUserId(cpo.mUri); in ContentProviderOperation()
110 if (ContentProvider.uriHasUserId(mUri)) { in getWithoutUserIdInUri()
233 public ContentProviderResult apply(ContentProvider provider, ContentProviderResult[] backRefs, in apply()
/frameworks/base/test-runner/src/android/test/
DProviderTestCase2.java19 import android.content.ContentProvider;
70 public abstract class ProviderTestCase2<T extends ContentProvider> extends AndroidTestCase {
149 static <T extends ContentProvider> T createProviderForTest( in createProviderForTest()
220 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()
DRenamingDelegatingContext.java23 import android.content.ContentProvider;
50 public static <T extends ContentProvider> T providerWithRenamedContext( in providerWithRenamedContext()
56 public static <T extends ContentProvider> T providerWithRenamedContext( in providerWithRenamedContext()
/frameworks/base/docs/html/guide/topics/providers/
Dcontent-provider-creating.jd16 <a href="#ContentProvider">Implementing the ContentProvider Class</a>
65 {@link android.content.ContentProvider}
102 {@link android.content.ContentProvider}, which is the interface between your provider and
170 Define a concrete implementation of the {@link android.content.ContentProvider} class and
173 <a href="#ContentProvider">Implementing the ContentProvider Class</a>.
277 {@link android.content.ContentProvider} has a content URI as an argument; this allows you to
409 public class ExampleProvider extends ContentProvider {
432 // Implements ContentProvider.query()
478 <!-- Implementing the ContentProvider class -->
479 <h2 id="ContentProvider">Implementing the ContentProvider Class</h2>
[all …]
/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_complete_package_info/src/com/android/frameworks/coretests/
DTestReceiver.java20 import android.content.ContentProvider;
25 public class TestReceiver extends ContentProvider {
DTestProvider.java20 import android.content.ContentProvider;
25 public class TestProvider 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/tests/ActivityTests/src/com/google/android/test/activity/
DSingleUserProvider.java19 import android.content.ContentProvider;
26 public class SingleUserProvider extends ContentProvider {
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java26 import android.content.ContentProvider;
315 mAm.checkGrantUriPermission(uid, null, ContentProvider.getUriWithoutUserId(uri), in checkUriOwnerLocked()
317 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(uid))); in checkUriOwnerLocked()
344 int sourceUserId = ContentProvider.getUserIdFromUri(uri, userId); in grantUriLocked()
345 uri = ContentProvider.getUriWithoutUserId(uri); in grantUriLocked()
393 int userId = ContentProvider.getUserIdFromUri(uri, in revokeUriLocked()
397 uri = ContentProvider.getUriWithoutUserId(uri); in revokeUriLocked()
/frameworks/base/core/tests/coretests/src/android/app/
DSuggestionProvider.java20 import android.content.ContentProvider;
32 public class SuggestionProvider extends ContentProvider {
/frameworks/base/core/java/android/provider/
DSearchIndexablesProvider.java19 import android.content.ContentProvider;
64 public abstract class SearchIndexablesProvider extends ContentProvider {
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerProvider.java19 import android.content.ContentProvider;
35 public class TrackerProvider extends ContentProvider {
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
DSampleProvider.java3 import android.content.ContentProvider;
15 public class SampleProvider extends ContentProvider {
/frameworks/ex/common/java/com/android/common/content/
DSQLiteContentProvider.java19 import android.content.ContentProvider;
35 public abstract class SQLiteContentProvider extends ContentProvider
/frameworks/opt/bitmap/sample/
Dproguard-config.pro14 -keep public class * extends android.content.ContentProvider
/frameworks/volley/
Dproguard.cfg12 -keep public class * extends android.content.ContentProvider
/frameworks/base/docs/html/guide/topics/text/
Dcopy-paste.jd102 {@link android.content.ContentProvider}
759 {@link android.content.ContentProvider} component. You should also encode the URI you put on
796 {@link android.content.ContentProvider#getType(Uri) getType()}
801 {@link android.content.ContentProvider#getType(Uri) getType()} in order to put the MIME
811 {@link android.content.ContentProvider#insert(Uri, ContentValues) insert()} or
812 {@link android.content.ContentProvider#update(Uri, ContentValues, String, String[]) update()}.
873 public class MyCopyProvider extends ContentProvider {
893 {@link android.content.ContentProvider#query(Uri, String[], String, String[], String) query()}
920 Set up the {@link android.content.ContentProvider#getType(Uri) getType()} method to
992 Implement one of the {@link android.content.ContentProvider} methods that returns
[all …]

1234