Lines Matching defs:content

17 package android.content;
23 import android.content.pm.PackageManager.NameNotFoundException;
24 import android.content.res.AssetFileDescriptor;
25 import android.content.res.Resources;
60 * This class provides applications access to the content model.
64 * <p>For more information about using a ContentResolver with content providers, read the
65 * <a href="{@docRoot}guide/topics/providers/content-providers.html">Content Providers</a>
160 public static final String SCHEME_CONTENT = "content";
173 public static final String EXTRA_SIZE = "android.content.extra.SIZE";
176 * This is the Android platform's base MIME type for a content: URI
178 * as the base type along with their own sub-type of their content: URIs
181 * <code>content://com.company.provider.imap/inbox/1</code> for a particular
190 * This is the Android platform's base MIME type for a content: URI
192 * as the base type along with their own sub-type of their content: URIs
195 * <code>content://com.company.provider.imap/inbox</code> for all of the
211 * content, e.g., "audio", "video", "playlist".
316 * Return the MIME type of the given content URL.
318 * @param url A Uri identifying content (either a list or specific type),
319 * using the content:// scheme.
320 * @return A MIME type for the content, or null if the URL is invalid or the type is unknown
358 * content URL can be returned when opened as as stream with
361 * many content providers cannot return a raw stream for the structured
364 * @param url A Uri identifying content (either a list or specific type),
365 * using the content:// scheme.
404 * @param uri The URI, using the content:// scheme, for the content to
440 * @param uri The URI, using the content:// scheme, for the content to
531 * Uri for use with its content provider, allowing you to do all of the
532 * same content provider operations as with the original Uri --
535 * the content provider may need to do some additional work at each call
551 * or null if the content provider does not support a canonical representation
578 * want to avoid any possible overhead when using it with the content
610 * Open a stream on to the content associated with a content URI. If there
615 * <li>content ({@link #SCHEME_CONTENT})</li>
666 * Open a stream on to the content associated with a content URI. If there
671 * <li>content ({@link #SCHEME_CONTENT})</li>
706 * <li>content ({@link #SCHEME_CONTENT})</li>
748 * <li>content ({@link #SCHEME_CONTENT})</li>
805 * <li>content ({@link #SCHEME_CONTENT})</li>
834 * on a content: URI, it will instead call {@link #openTypedAssetFileDescriptor}
858 * <li>content ({@link #SCHEME_CONTENT})</li>
887 * on a content: URI, it will instead call {@link #openTypedAssetFileDescriptor}
925 throw new FileNotFoundException("No content provider: " + uri);
952 throw new FileNotFoundException("No content provider: " + uri);
979 "Failed opening content provider: " + uri);
999 * data from a "content:" URI. This interacts with the underlying
1005 * with "content:" URIs, because content providers are the only facility
1013 * be a pattern such as *&#47;*, which will allow the content provider to
1032 * data from a "content:" URI. This interacts with the underlying
1038 * with "content:" URIs, because content providers are the only facility
1046 * be a pattern such as *&#47;*, which will allow the content provider to
1066 throw new FileNotFoundException("No content provider: " + uri);
1093 throw new FileNotFoundException("No content provider: " + uri);
1120 "Failed opening content provider: " + uri);
1192 * If the content provider supports transactions the insertion will be atomic.
1282 * Deletes row(s) specified by a content URI.
1284 * If the content provider supports transactions, the deletion will be atomic.
1313 * Update row(s) in a content URI.
1315 * If the content provider supports transactions the update will be atomic.
1383 * Returns the content provider for the given content URI.
1385 * @param uri The URI to a content provider
1386 * @return The ContentProvider for the given URI, or null if no content provider is found.
1401 * Returns the content provider for the given content URI if the process
1404 * @param uri The URI to a content provider
1405 * @return The ContentProvider for the given URI, or null if no content provider is found.
1430 * Returns the content provider for the given content URI.
1432 * @param uri The URI to a content provider
1433 * @return The ContentProvider for the given URI, or null if no content provider is found.
1459 * that services the content at uri, starting the provider if necessary. Returns
1466 * that services the content at uri or null if there isn't one.
1499 * not trust the stability of the target content provider. This turns off
1501 * a content provider if that content provider's process goes away. Normally
1508 * know that the content provider has gone away; at that point the current
1524 * not trust the stability of the target content provider. This turns off
1526 * a content provider if that content provider's process goes away. Normally
1533 * know that the content provider has gone away; at that point the current
1549 * given content URI changes.
1552 * for a whole class of content.
1600 * @param uri The uri of the content that was changed.
1618 * @param uri The uri of the content that was changed.
2499 public static final String CONTENT_SERVICE_NAME = "content";