Lines Matching defs:content

17 package android.content;
19 import static android.content.pm.PackageManager.PERMISSION_GRANTED;
23 import android.content.pm.PathPermission;
24 import android.content.pm.ProviderInfo;
25 import android.content.res.AssetFileDescriptor;
26 import android.content.res.Configuration;
52 * content to applications. They encapsulate data and provide it to applications through the single
53 * {@link ContentResolver} interface. A content provider is only required if you need to share
55 * applications and must be stored in a content provider. If you don't need to share data amongst
61 * request to the content provider registered with the authority. The content provider can interpret
69 * <li>{@link #insert} which inserts new data into the content provider</li>
70 * <li>{@link #update} which updates existing data in the content provider</li>
71 * <li>{@link #delete} which deletes data from the content provider</li>
72 * <li>{@link #getType} which returns the MIME type of data in the content provider</li>
87 * <p>For more information about using content providers, read the
88 * <a href="{@docRoot}guide/topics/providers/content-providers.html">Content Providers</a>
685 * Change the permission required to read data from the content
697 * this content provider. This method can be called from multiple
707 * Change the permission required to read and write data in the content
719 * this content provider. This method can be called from multiple
730 * the content provider. This is normally set for you from its manifest
741 * this content provider. This method can be called from multiple
764 * Implement this to initialize your content provider on startup.
765 * This method is called for all registered content providers on the
770 * upgrading, and scanning databases) until the content provider is used
795 * <p>The default content provider implementation does nothing.
808 * <p>The default content provider implementation does nothing.
819 * Implementation when a caller has performed a query on the content
979 * access this information; if your content provider requires read and/or
991 * content provider. A canonical URI is one that can be transported across
994 * params to the URI allowing the content provider to verify that an incoming
998 * <p>For example, if the content provider holds people and a normal URI in it
1043 * Implementation when a caller has performed an insert on the content
1051 // content provider should be responsible for this, but for now we
1065 * @param uri The content:// URI of the insertion request. This must not be {@code null}.
1082 * @param uri The content:// URI of the insertion request.
1107 * pass in <code>content://contacts/people/22</code> and the implementation is
1146 * returned without copying the content.
1209 * returned without copying the content.
1432 * content provider supports for the given URI. The default implementation
1433 * returns {@code null}, meaning no types. If your content provider stores data
1438 * @param uri The data in the content provider being queried.
1456 * except the file can only be read-only and the content provider may
1476 * @param uri The data in the content provider being queried.
1479 * requirements; in this case the content provider will pick its best
1482 * these are specific to the content provider being called.
1492 * content provider does not support the requested MIME type.
1517 * except the file can only be read-only and the content provider may
1537 * @param uri The data in the content provider being queried.
1540 * requirements; in this case the content provider will pick its best
1543 * these are specific to the content provider being called.
1559 * content provider does not support the requested MIME type.
1637 * Returns true if this instance is a temporary content provider.
1638 * @return true if this instance is a temporary content provider
1655 * Like {@link #attachInfo(Context, android.content.pm.ProviderInfo)}, but for use
1664 * After being instantiated, this is called to tell the content provider
1668 * @param info Registered information about this content provider
1678 * Only allow it to be set once, so after the content service gives
1733 * on this entry into the content provider besides the basic ability for the application