Lines Matching defs:content

17 package android.content;
29 import android.content.pm.PackageManager.NameNotFoundException;
30 import android.content.res.AssetFileDescriptor;
31 import android.content.res.Resources;
74 * This class provides applications access to the content model.
78 * <p>For more information about using a ContentResolver with content providers, read the
79 * <a href="{@docRoot}guide/topics/providers/content-providers.html">Content Providers</a>
181 public static final String SCHEME_CONTENT = "content";
194 public static final String EXTRA_SIZE = "android.content.extra.SIZE";
197 * This is the Android platform's base MIME type for a content: URI
199 * as the base type along with their own sub-type of their content: URIs
202 * <code>content://com.company.provider.imap/inbox/1</code> for a particular
211 * This is the Android platform's base MIME type for a content: URI
213 * as the base type along with their own sub-type of their content: URIs
216 * <code>content://com.company.provider.imap/inbox</code> for all of the
232 * content, e.g., "audio", "video", "playlist".
362 * Return the MIME type of the given content URL.
364 * @param url A Uri identifying content (either a list or specific type),
365 * using the content:// scheme.
366 * @return A MIME type for the content, or null if the URL is invalid or the type is unknown
406 * content URL can be returned when opened as as stream with
409 * many content providers cannot return a raw stream for the structured
412 * @param url A Uri identifying content (either a list or specific type),
413 * using the content:// scheme.
455 * @param uri The URI, using the content:// scheme, for the content to
492 * @param uri The URI, using the content:// scheme, for the content to
586 * Uri for use with its content provider, allowing you to do all of the
587 * same content provider operations as with the original Uri --
590 * the content provider may need to do some additional work at each call
606 * or null if the content provider does not support a canonical representation
634 * want to avoid any possible overhead when using it with the content
667 * Open a stream on to the content associated with a content URI. If there
672 * <li>content ({@link #SCHEME_CONTENT})</li>
724 * Open a stream on to the content associated with a content URI. If there
729 * <li>content ({@link #SCHEME_CONTENT})</li>
764 * <li>content ({@link #SCHEME_CONTENT})</li>
806 * <li>content ({@link #SCHEME_CONTENT})</li>
864 * <li>content ({@link #SCHEME_CONTENT})</li>
893 * on a content: URI, it will instead call {@link #openTypedAssetFileDescriptor}
917 * <li>content ({@link #SCHEME_CONTENT})</li>
946 * on a content: URI, it will instead call {@link #openTypedAssetFileDescriptor}
988 throw new FileNotFoundException("No content provider: " + uri);
1015 throw new FileNotFoundException("No content provider: " + uri);
1043 "Failed opening content provider: " + uri);
1063 * data from a "content:" URI. This interacts with the underlying
1069 * with "content:" URIs, because content providers are the only facility
1077 * be a pattern such as *&#47;*, which will allow the content provider to
1096 * data from a "content:" URI. This interacts with the underlying
1102 * with "content:" URIs, because content providers are the only facility
1110 * be a pattern such as *&#47;*, which will allow the content provider to
1133 throw new FileNotFoundException("No content provider: " + uri);
1160 throw new FileNotFoundException("No content provider: " + uri);
1188 "Failed opening content provider: " + uri);
1260 * If the content provider supports transactions the insertion will be atomic.
1355 * Deletes row(s) specified by a content URI.
1357 * If the content provider supports transactions, the deletion will be atomic.
1387 * Update row(s) in a content URI.
1389 * If the content provider supports transactions the update will be atomic.
1458 * Returns the content provider for the given content URI.
1460 * @param uri The URI to a content provider
1461 * @return The ContentProvider for the given URI, or null if no content provider is found.
1476 * Returns the content provider for the given content URI if the process
1479 * @param uri The URI to a content provider
1480 * @return The ContentProvider for the given URI, or null if no content provider is found.
1505 * Returns the content provider for the given content URI.
1507 * @param uri The URI to a content provider
1508 * @return The ContentProvider for the given URI, or null if no content provider is found.
1534 * that services the content at uri, starting the provider if necessary. Returns
1541 * that services the content at uri or null if there isn't one.
1576 * not trust the stability of the target content provider. This turns off
1578 * a content provider if that content provider's process goes away. Normally
1585 * know that the content provider has gone away; at that point the current
1603 * not trust the stability of the target content provider. This turns off
1605 * a content provider if that content provider's process goes away. Normally
1612 * know that the content provider has gone away; at that point the current
1630 * given content URI changes.
1633 * for a whole class of content.
1686 * @param uri The uri of the content that was changed.
1704 * @param uri The uri of the content that was changed.
1730 * @param uri The uri of the content that was changed.
2669 public static final String CONTENT_SERVICE_NAME = "content";