Searched defs:entity (Results 1 - 8 of 8) sorted by relevance

/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DEntityDiff.java138 private static HashMap<String, NamedContentValues> buildChildrenMap(Entity entity) { argument
139 final ArrayList<NamedContentValues> children = entity.getSubValues();
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DViewIdGenerator.java65 * @param entity {@link RawContactDelta} associated with the view
71 public int getId(RawContactDelta entity, DataKind kind, ValuesDelta values, argument
73 final String k = getMapKey(entity, kind, values, viewIndex);
84 private static String getMapKey(RawContactDelta entity, DataKind kind, ValuesDelta values, argument
87 if (entity != null) {
88 sWorkStringBuilder.append(entity.getValues().getId());
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DRawContact.java123 public static RawContact createFrom(Entity entity) { argument
124 final ContentValues values = entity.getEntityValues();
125 final ArrayList<Entity.NamedContentValues> subValues = entity.getSubValues();
/packages/apps/Exchange/src/com/android/exchange/service/
H A DEasCalendarSyncHandler.java306 * @param entity The {@link Entity} for this event.
309 private void sendDeclinedEmail(final Entity entity, final String clientId) { argument
311 CalendarUtilities.createMessageForEntity(mContext, entity,
360 * @param entity The {@link Entity} for this event.
366 private void sendEvent(final Entity entity, final String clientId, final Serializer s) argument
373 final ContentValues entityValues = entity.getEntityValues();
501 final ArrayList<Entity.NamedContentValues> subValues = entity.getSubValues();
630 * @param entity The {@link Entity} for this event.
631 * @param entityValues The {@link ContentValues} for entity.
638 private void handleExceptionsToRecurrenceRules(final Serializer s, final Entity entity, argument
740 updateAttendeesAndSendMail(final Entity entity, final ContentValues entityValues, final boolean selfOrganizer, final long eventId, final String clientId) argument
881 handleEntity(final Serializer s, final Entity entity, final String calendarIdString, final boolean first) argument
[all...]
H A DEasServerConnection.java49 import org.apache.http.entity.ByteArrayEntity;
277 * @param entity The {@link HttpEntity} for this request.
282 public HttpPost makePost(final String uri, final HttpEntity entity, final String contentType, argument
312 post.setEntity(entity);
330 * @param entity The {@link HttpEntity} containing the payload of the message.
335 protected EasResponse sendHttpClientPost(String cmd, final HttpEntity entity, argument
353 // If entity is null (e.g. for attachments), don't set this header
357 } else if (entity != null) {
369 final HttpPost method = makePost(uriString, entity, contentType, !isPingCommand);
382 final ByteArrayEntity entity;
[all...]
/packages/apps/Exchange/src/com/android/exchange/
H A DEasSyncService.java89 import org.apache.http.entity.ByteArrayEntity;
90 import org.apache.http.entity.StringEntity;
1013 Entity entity = new Entity(entityValues);
1029 entity.addSubValue(Attendees.CONTENT_URI, attendeeValues);
1036 entity.addSubValue(Attendees.CONTENT_URI, organizerValues);
1055 CalendarUtilities.createMessageForEntity(mContext, entity, flag,
1325 public EasResponse sendHttpClientPost(String cmd, HttpEntity entity, int timeout) argument
1346 // If entity is null (e.g. for attachments), don't set this header
1349 } else if (entity != null) {
1360 method.setEntity(entity);
[all...]
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DContactsSyncParser.java91 public void addData(String serverId, ContactOperations ops, Entity entity) argument
115 if (entity == null) {
149 ops.addPhone(entity, Phone.TYPE_MMS, getValue());
152 ops.addPhone(entity, Phone.TYPE_FAX_WORK, getValue());
155 ops.addPhone(entity, Phone.TYPE_COMPANY_MAIN, getValue());
158 ops.addPhone(entity, Phone.TYPE_FAX_HOME, getValue());
165 ops.addPhone(entity, Phone.TYPE_MOBILE, getValue());
168 ops.addPhone(entity, Phone.TYPE_CAR, getValue());
171 ops.addPhone(entity, Phone.TYPE_RADIO, getValue());
174 ops.addPhone(entity, Phon
357 categoriesParser(ContactOperations ops, Entity entity) argument
948 createBuilder(Entity entity, String mimeType, int type, String stringType) argument
973 typedRowBuilder(Entity entity, String mimeType, int type) argument
977 untypedRowBuilder(Entity entity, String mimeType) argument
981 newRowBuilder(Entity entity, String mimeType) argument
1023 addChildren(Entity entity, ArrayList<String> children) argument
1032 addGroup(Entity entity, String group) argument
1039 addBirthday(Entity entity, String birthday) argument
1059 addName(Entity entity, String prefix, String givenName, String familyName, String middleName, String suffix, String yomiFirstName, String yomiLastName) argument
1082 addPersonal(Entity entity, EasPersonal personal) argument
1097 addBusiness(Entity entity, EasBusiness business) argument
1114 addPhoto(Entity entity, String photo) argument
1123 addPhone(Entity entity, int type, String phone) argument
1134 addWebpage(Entity entity, String url) argument
1145 addRelation(Entity entity, int type, String value) argument
1156 addNickname(Entity entity, String name) argument
1168 addPostal(Entity entity, int type, String street, String city, String state, String country, String code) argument
1195 addUntyped(Entity entity, ArrayList<UntypedRow> rows, String mimeType, int type, int maxRows) argument
1262 addOrganization(Entity entity, int type, String company, String title, String department, String yomiCompanyName, String officeLocation) argument
1282 addNote(Entity entity, String note) argument
[all...]
/packages/apps/Exchange/src/com/android/exchange/utility/
H A DCalendarUtilities.java1706 * @param entity the Entity for the Event (as might be retrieved by CalendarProvider)
1712 static public Message createMessageForEntity(Context context, Entity entity, argument
1714 return createMessageForEntity(context, entity, messageFlag, uid, account,
1718 static public EmailContent.Message createMessageForEntity(Context context, Entity entity, argument
1720 ContentValues entityValues = entity.getEntityValues();
1721 ArrayList<NamedContentValues> subValues = entity.getSubValues();
2039 Entity entity = eventIterator.next();
2040 return createMessageForEntity(context, entity, messageFlag, uid, account,

Completed in 163 milliseconds