Lines Matching defs:provider

17 package android.provider;
19 import static android.provider.DocumentsContract.METHOD_COPY_DOCUMENT;
20 import static android.provider.DocumentsContract.METHOD_CREATE_DOCUMENT;
21 import static android.provider.DocumentsContract.METHOD_DELETE_DOCUMENT;
22 import static android.provider.DocumentsContract.METHOD_IS_CHILD_DOCUMENT;
23 import static android.provider.DocumentsContract.METHOD_MOVE_DOCUMENT;
24 import static android.provider.DocumentsContract.METHOD_REMOVE_DOCUMENT;
25 import static android.provider.DocumentsContract.METHOD_RENAME_DOCUMENT;
26 import static android.provider.DocumentsContract.buildDocumentUri;
27 import static android.provider.DocumentsContract.buildDocumentUriMaybeUsingTree;
28 import static android.provider.DocumentsContract.buildTreeDocumentUri;
29 import static android.provider.DocumentsContract.getDocumentId;
30 import static android.provider.DocumentsContract.getRootId;
31 import static android.provider.DocumentsContract.getSearchDocumentsQuery;
32 import static android.provider.DocumentsContract.getTreeDocumentId;
33 import static android.provider.DocumentsContract.isTreeUri;
53 import android.provider.DocumentsContract.Document;
54 import android.provider.DocumentsContract.Root;
63 * Base class for a document provider. A document provider offers read and write
65 * cloud storage service. To create a document provider, extend this class,
72 * <provider
82 * </provider>
87 * When defining your provider, you must protect it with
89 * only the system can obtain. Applications cannot use a documents provider
106 * as a thumbnail, your provider can set
112 * Each document under a provider is uniquely referenced by its
116 * provider might surface a single photo in multiple locations: once in a
219 * If the MIME type is not supported, the provider must throw.
220 * @param displayName the display name of the new document. The provider may
240 * @param displayName the updated display name of the document. The provider
270 * the same document provider. Upon completion returns the document id of
287 * the same document provider. Upon completion returns the document id of
291 * <p>It's the responsibility of the provider to revoke grants if the document
312 * <p>It's the responsibility of the provider to revoke grants if the document is
379 * If your provider is cloud-based, and you have some data cached or pinned
425 * implementation detail left to each provider, but it's suggested that at
432 * If your provider is cloud-based, and you have some data cached or pinned
483 * Your provider should return a reliable {@link ParcelFileDescriptor} to
508 * A provider should return a thumbnail closely matching the hinted size,
509 * attempting to serve from a local cache if possible. A provider should
533 * A provider may perform a conversion if the documents's MIME type is not
540 * provider.
732 "Requested authority " + authority + " doesn't match provider " + mAuthority);
852 // It's responsibility of the provider to revoke any grants, as the document may be
988 * Called by a client to determine the types of data streams that this content provider
1019 // Use old untyped open call if this provider has a type for this
1023 // For any other yet unhandled case, let the provider subclass handle it.