Lines Matching refs:ContentProvider
80 * ContentProvider instance, so subclasses don't have to worry about the details of
89 public abstract class ContentProvider implements ComponentCallbacks2 {
90 private static final String TAG = "ContentProvider";
93 * Note: if you add methods to ContentProvider, you must add similar methods to
107 * Construct a ContentProvider instance. Content providers must be
111 * ContentProvider instances directly.
121 public ContentProvider() {
137 public ContentProvider(
150 * ContentProvider object if it is running in the local process. This can
155 * @param abstractInterface The ContentProvider interface that is to be
158 * ContentProvider instance. Otherwise returns null.
161 public static ContentProvider coerceToLocalContentProvider(
175 ContentProvider getContentProvider() {
176 return ContentProvider.this;
189 return ContentProvider.this.query(uri, projection, selection, selectionArgs, sortOrder,
195 return ContentProvider.this.getType(uri);
201 return ContentProvider.this.insert(uri, initialValues);
207 return ContentProvider.this.bulkInsert(uri, initialValues);
222 return ContentProvider.this.applyBatch(operations);
228 return ContentProvider.this.delete(uri, selection, selectionArgs);
235 return ContentProvider.this.update(uri, values, selection, selectionArgs);
243 return ContentProvider.this.openFile(uri, mode);
251 return ContentProvider.this.openAssetFile(uri, mode);
256 return ContentProvider.this.call(method, arg, extras);
261 return ContentProvider.this.getStreamTypes(uri, mimeTypeFilter);
268 return ContentProvider.this.openTypedAssetFile(uri, mimeType, opts);
333 + ContentProvider.this.getClass().getName() + " uri " + uri + " from pid=" + pid
394 + ContentProvider
950 * {@link ContentProvider#openPipeHelper}.
1058 ContentProvider.this.onCreate();
1105 * Implement this to shut down the ContentProvider instance. You can then
1109 * Android normally handles ContentProvider startup and shutdown
1111 * ContentProvider. When you invoke a test method on a ContentProvider,
1112 * however, a ContentProvider instance is started and keeps running after
1114 * ContentProvider. A conflict develops because the two instances are
1120 ContentProvider. This method can also prevent memory leaks
1121 * from multiple instantiations of the ContentProvider, and it can ensure
1127 Log.w(TAG, "implement ContentProvider shutdown() to make sure all database " +