Home | History | Annotate | Download | only in provider

Lines Matching defs:Entity

29 import android.content.Entity;
1640 * Entity has three ID fields: {@link #CONTACT_ID} for the contact,
1642 * the data rows. Entity always contains at least one row per
1647 * Entity reads all data for the entire contact in one transaction, to
1649 * in the Entity (each row repeats all Contact columns and all RawContact
1661 public static final class Entity implements BaseColumns, ContactsColumns,
1667 private Entity() {
2091 * that specific raw contact can be requested by appending the entity or data
2098 * The minimum ID for any entity that belongs to the profile. This essentially
2398 * by using the {@link Entity} directory. If the raw contact has data rows,
2399 * the Entity cursor will contain a row for each data row. If the raw contact has no
2403 * Uri entityUri = Uri.withAppendedPath(rawContactUri, Entity.CONTENT_DIRECTORY);
2405 * new String[]{RawContacts.SOURCE_ID, Entity.DATA_ID, Entity.MIMETYPE, Entity.DATA1},
2759 * {@link RawContacts.Entity#CONTENT_DIRECTORY} to the raw contact URI. See
2764 * Entity has two ID fields: {@link #_ID} for the raw contact
2766 * Entity always contains at least one row, even if there are no
2771 * Using Entity should be preferred to using two separate queries:
2772 * RawContacts followed by Data. The reason is that Entity reads all
2776 public static final class Entity implements BaseColumns, DataColumns {
2780 private Entity() {
2786 public static final String CONTENT_DIRECTORY = "entity";
2911 public android.content.Entity getEntityAndIncrementCursor(Cursor cursor)
2933 android.content.Entity contact = new android.content.Entity(cv);
2942 cv.put(Data._ID, cursor.getLong(cursor.getColumnIndexOrThrow(Entity.DATA_ID)));
7248 public Entity getEntityAndIncrementCursor(Cursor cursor) throws RemoteException {
7272 return new Entity(values);