Home
last modified time | relevance | path

Searched refs:MessageStateChange (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Exchange/src/com/android/exchange/eas/
DEasSync.java30 import com.android.emailcommon.provider.MessageStateChange;
68 private List<MessageStateChange> mStateChanges;
78 for (final MessageStateChange change : mStateChanges) { in getMessageId()
110 final List<MessageStateChange> changes = MessageStateChange.getChanges(mContext, in upsync()
115 final LongSparseArray<List<MessageStateChange>> allData = in upsync()
116 MessageStateChange.convertToChangesMap(changes); in upsync()
162 for (final MessageStateChange msc : mStateChanges) { in upsync()
179 for (final MessageStateChange msc : mStateChanges) { in upsync()
187 MessageStateChange.upsyncSuccessful(cr, messageIds[0], counts[0]); in upsync()
188 MessageStateChange.upsyncRetry(cr, messageIds[1], counts[1]); in upsync()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMessageStateChange.java17 public class MessageStateChange extends MessageChangeLogTable { class
69 private MessageStateChange(final long messageKey,final String serverId, final long id, in MessageStateChange() method in MessageStateChange
112 public static List<MessageStateChange> getChanges(final Context context, final long accountId, in getChanges()
122 LongSparseArray<MessageStateChange> changesMap = new LongSparseArray(); in getChanges()
139 final MessageStateChange existingChange = changesMap.get(messageKey); in getChanges()
157 changesMap.put(messageKey, new MessageStateChange(messageKey, serverId, id, in getChanges()
172 final ArrayList<MessageStateChange> changes = new ArrayList(count); in getChanges()
174 final MessageStateChange change = changesMap.valueAt(i); in getChanges()
198 public static LongSparseArray<List<MessageStateChange>> convertToChangesMap( in convertToChangesMap()
199 final List<MessageStateChange> changes) { in convertToChangesMap()
[all …]
DEmailContent.java196 MessageStateChange.init(); in init()
/packages/apps/Email/provider_src/com/android/email/provider/
DDBHelper.java56 import com.android.emailcommon.provider.MessageStateChange;
486 db.execSQL("create table " + MessageStateChange.TABLE_NAME + " (" in createMessageStateChangeTable()
488 + MessageStateChange.OLD_FLAG_READ + " integer, " in createMessageStateChangeTable()
489 + MessageStateChange.NEW_FLAG_READ + " integer, " in createMessageStateChangeTable()
490 + MessageStateChange.OLD_FLAG_FAVORITE + " integer, " in createMessageStateChangeTable()
491 + MessageStateChange.NEW_FLAG_FAVORITE + " integer);"); in createMessageStateChangeTable()
493 createMessageChangeLogTableIndices(db, MessageStateChange.TABLE_NAME); in createMessageStateChangeTable()
494 createMessageChangeLogTableTriggers(db, MessageStateChange.TABLE_NAME); in createMessageStateChangeTable()
DEmailProvider.java100 import com.android.emailcommon.provider.MessageStateChange;
759 db.delete(MessageStateChange.TABLE_NAME, selection, selectionArgs); in delete()
1176 sURIMatcher.addURI(EmailContent.AUTHORITY, MessageStateChange.PATH, in init()
1369 return db.query(MessageStateChange.TABLE_NAME, projection, selection, in query()
1793 + MessageStateChange.OLD_FLAG_READ + "," + MessageStateChange.NEW_FLAG_READ + ","
1794 + MessageStateChange.OLD_FLAG_FAVORITE + "," + MessageStateChange.NEW_FLAG_FAVORITE
1804 MessageStateChange.TABLE_NAME, messageId, messageId, messageId, messageId, in addToMessageStateChange()
2034 flagRead : MessageStateChange.VALUE_UNCHANGED; in update()
2036 flagFavorite : MessageStateChange.VALUE_UNCHANGED; in update()
2223 result = db.update(MessageStateChange.TABLE_NAME, values, selection, in update()