Home | History | Annotate | Download | only in provider

Lines Matching defs:Directory

134      * {@link Directory}. The parameter value should be the _ID of the corresponding
135 * directory, e.g.
136 * {@code content://com.android.contacts/data/emails/filter/acme?directory=3}
138 public static final String DIRECTORY_PARAM_KEY = "directory";
305 * A Directory represents a contacts corpus, e.g. Local contacts,
308 * A Directory is implemented as a content provider with its unique authority and
310 * every directory provider will implement this Contract in its entirety. If a
311 * directory provider does not have an implementation for a specific request, it
315 * The most important use case for Directories is search. A Directory provider is
317 * Contacts.CONTENT_FILTER_URI}. If a Directory provider wants to participate
324 * A directory provider should return NULL for every projection field it does not
329 * The client interacts with a directory via Contacts Provider by supplying an
330 * optional {@code directory=} query parameter.
334 * the request to the corresponding directory content provider.
343 * Clients should send directory requests to Contacts Provider and let it
345 * directory provider URIs by themselves. This level of indirection allows
348 * READ_CONTACTS permission, but access to the directory provider is not.
349 * Therefore directory providers must reject requests coming from clients
365 * The Directory table is read-only and is maintained by the Contacts Provider
371 * The local directory. It has {@link Directory#_ID Directory._ID} =
372 * {@link Directory#DEFAULT Directory.DEFAULT}. This directory can be used to access locally
373 * stored contacts. The same can be achieved by omitting the {@code directory=}
377 * The local invisible contacts. The corresponding directory ID is
378 * {@link Directory#LOCAL_INVISIBLE Directory.LOCAL_INVISIBLE}.
385 * as directory providers in AndroidManifest.xml:
395 * Then Contacts Provider sends a {@link Directory#CONTENT_URI Directory.CONTENT_URI}
396 * query to each of the directory authorities. A directory provider must implement
397 * this query and return a list of directories. Each directory returned by
399 * {@link #ACCOUNT_TYPE} columns (nulls are allowed). Since directory IDs are assigned
402 * <li>Contacts Provider compiles directory lists received from all directory
403 * providers into one, assigns each individual directory a globally unique ID and
404 directory records in the Directory table.
409 * Thus simply installing a package containing a directory provider is sufficient
410 * to have that provider registered. A package supplying a directory provider does
414 * Every row in the Directory table is automatically associated with the corresponding package
415 * (apk). If the package is later uninstalled, all corresponding directory rows
419 * When the list of directories handled by a directory provider changes
420 * (for instance when the user adds a new Directory account), the directory provider
422 * In response, the Contacts Provider will requery the directory provider to obtain the
426 * A directory row can be optionally associated with an existing account
428 * the corresponding directory rows are automatically removed from the Contacts Provider.
431 public static final class Directory implements BaseColumns {
436 private Directory() {
447 * The MIME-type of {@link #CONTENT_URI} providing a directory of
460 * _ID of the default directory, which represents locally stored contacts.
465 * _ID of the directory that represents locally stored invisible contacts.
470 * The name of the package that owns this directory. Contacts Provider
471 * fill it in with the name of the package containing the directory provider.
480 * The type of directory captured as a resource ID in the context of the
481 * package {@link #PACKAGE_NAME}, e.g. "Corporate Directory"
488 * An optional name that can be used in the UI to represent this directory,
496 * The authority of the Directory Provider. Contacts Provider will
497 * use this authority to forward requests to the directory provider.
498 * A directory provider can leave this column empty - Contacts Provider will fill it in.
502 * All directory requests must be routed through Contacts Provider.
510 * The account type which this directory is associated.
517 * The account with which this directory is associated. If the account is later
527 * directory has for data exported from it. Clients must obey this setting.
532 * An {@link #EXPORT_SUPPORT} setting that indicates that the directory
538 * An {@link #EXPORT_SUPPORT} setting that indicates that the directory
545 * An {@link #EXPORT_SUPPORT} setting that indicates that the directory
552 * {@link #SHORTCUT_SUPPORT_FULL}. This is the expectation the directory
558 * An {@link #SHORTCUT_SUPPORT} setting that indicates that the directory
564 * An {@link #SHORTCUT_SUPPORT} setting that indicates that the directory
571 * An {@link #SHORTCUT_SUPPORT} setting that indicates that the directory
579 * to which the directory supports contact photos.
584 * An {@link #PHOTO_SUPPORT} setting that indicates that the directory
590 * An {@link #PHOTO_SUPPORT} setting that indicates that the directory
596 * An {@link #PHOTO_SUPPORT} setting that indicates that the directory
602 * An {@link #PHOTO_SUPPORT} setting that indicates that the directory
609 * a particular directory provider. The Contacts provider will turn around
610 * and send a query to the directory provider for the full list of directories,
614 // This is done to trigger a query by Contacts Provider back to the directory provider.
618 resolver.update(Directory.CONTENT_URI, contentValues, null, null);
873 * contacts returned by non-local directories (see {@link Directory}).
1590 * The MIME type of {@link #CONTENT_URI} providing a directory of
1608 * A sub-directory of a single contact that contains all of the constituent raw contact
1609 * {@link ContactsContract.Data} rows. This directory can be used either
1619 * The directory twig for this sub-table
1626 directory of a contact that contains all of its
1628 * {@link ContactsContract.Data} rows. To access this directory append
1647 * To reduce the amount of data duplication the contacts provider and directory
1663 * The directory twig for this sub-table
1683 * A sub-directory of a single contact that contains all of the constituent raw contact
1684 * {@link ContactsContract.StreamItems} rows. This directory can be used either
1699 * The directory twig for this sub-table
1706 * A <i>read-only</i> sub-directory of a single contact aggregate that
1731 * This directory can be used either with a {@link #CONTENT_URI} or
1743 * The directory twig for this sub-table. The URI can be followed by an optional
1851 * A <i>read-only</i> sub-directory of a single contact that contains
1908 * This directory can be used either with a {@link #CONTENT_URI} or
1919 * The directory twig for this sub-table
1924 * The directory twig for retrieving the full-size display photo.
2340 * by using the {@link Entity} directory. If the raw contact has data rows,
2588 * The content:// style URI for this table, which requests a directory of
2680 * A sub-directory of a single raw contact that contains all of its
2681 * {@link ContactsContract.Data} rows. To access this directory
2692 * The directory twig for this sub-table
2699 * A sub-directory of a single raw contact that contains all of its
2700 * {@link ContactsContract.Data} rows. To access this directory append
2726 * The directory twig for this sub-table
2740 * A sub-directory of a single raw contact that contains all of its
2741 * {@link ContactsContract.StreamItems} rows. To access this directory append
2747 * Access to the social stream through this sub-directory requires additional permissions
2762 * The directory twig for this sub-table
2769 * A sub-directory of a single raw contact that represents its primary
2770 * display photo. To access this directory append
2776 * Note that this sub-directory also supports opening the photo as an asset file
2812 * The directory twig for this sub-table
3215 * The MIME type of a directory of stream items.
3233 * A sub-directory of a single stream item entry that contains all of its
3235 * directory append {@link StreamItems.StreamItemPhotos#CONTENT_DIRECTORY} to
3254 * The directory twig for this sub-table
3259 * The MIME type of a directory of stream item photos.
3905 * values.put(Phone.LABEL, "free directory assistance");
3919 * .withValue(Phone.LABEL, "free directory assistance")
4321 * The content:// style URI for this table, which requests a directory
4520 * The MIME type of {@link #CONTENT_URI} providing a directory of raw contact entities.
4704 * The MIME type of {@link #CONTENT_FILTER_URI} providing a directory of phone lookup rows.
4968 * The MIME type of {@link #CONTENT_URI} providing a directory of
5397 * The MIME type of {@link #CONTENT_URI} providing a directory of
5589 * The MIME type of {@link #CONTENT_URI} providing a directory of email addresses.
5783 * The MIME type of {@link #CONTENT_URI} providing a directory of
7120 * The MIME type of a directory of groups.
7216 * The MIME type of {@link #CONTENT_URI} providing a directory of data.
7409 * The MIME-type of {@link #CONTENT_URI} providing a directory of
7443 * The MIME-type of {@link #CONTENT_URI} providing a directory of