Home
last modified time | relevance | path

Searched refs:MailboxColumns (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java44 public class Mailbox extends EmailContent implements EmailContent.MailboxColumns, Parcelable {
206 MailboxColumns._ID,
207 MailboxColumns.DISPLAY_NAME,
208 MailboxColumns.SERVER_ID,
209 MailboxColumns.PARENT_SERVER_ID,
210 MailboxColumns.ACCOUNT_KEY,
211 MailboxColumns.TYPE,
212 MailboxColumns.DELIMITER,
213 MailboxColumns.SYNC_KEY,
214 MailboxColumns.SYNC_LOOKBACK,
[all …]
DMailboxUtilities.java28 import com.android.emailcommon.provider.EmailContent.MailboxColumns;
38 "(" + MailboxColumns.PARENT_KEY + " isnull OR " + MailboxColumns.PARENT_KEY + "=" +
75 Mailbox.ID_PROJECTION, MailboxColumns.PARENT_SERVER_ID + "=? AND " + in setFlagsAndChildrensParentKey()
113 Mailbox.CONTENT_PROJECTION, MailboxColumns.SERVER_ID + "=? AND " + accountSelector, in setFlagsAndChildrensParentKey()
223 MailboxColumns._ID, MailboxColumns.DISPLAY_NAME, MailboxColumns.PARENT_KEY,
224 MailboxColumns.HIERARCHICAL_NAME
271 values.put(MailboxColumns.HIERARCHICAL_NAME, name); in setupHierarchicalNames()
DEmailContent.java836 + "SELECT " + MailboxColumns._ID + " FROM " + Mailbox.TABLE_NAME + ""
837 + " WHERE " + MailboxColumns.TYPE + " = " + Mailbox.TYPE_TRASH
844 + "SELECT " + MailboxColumns._ID + " FROM " + Mailbox.TABLE_NAME
845 + " WHERE " + MailboxColumns.TYPE + " = " + Mailbox.TYPE_INBOX
852 + "SELECT " + MailboxColumns._ID + " FROM " + Mailbox.TABLE_NAME
853 + " WHERE " + MailboxColumns.TYPE + " = " + Mailbox.TYPE_DRAFTS
860 + "SELECT " + MailboxColumns._ID + " FROM " + Mailbox.TABLE_NAME
861 + " WHERE " + MailboxColumns.TYPE + " = " + Mailbox.TYPE_OUTBOX
1733 public interface MailboxColumns extends BaseColumns { interface in EmailContent
DAccount.java196 MailboxColumns.TYPE + " = " + Mailbox.TYPE_INBOX +
197 " AND " + MailboxColumns.ACCOUNT_KEY + " =?";
/packages/apps/Email/provider_src/com/android/email/provider/
DDBHelper.java46 import com.android.emailcommon.provider.EmailContent.MailboxColumns;
95 " where " + MailboxColumns.ACCOUNT_KEY + "=old." + BaseColumns._ID +
217 " begin update " + Mailbox.TABLE_NAME + " set " + MailboxColumns.MESSAGE_COUNT + in createMessageCountTriggers()
218 '=' + MailboxColumns.MESSAGE_COUNT + "+1" + in createMessageCountTriggers()
225 " begin update " + Mailbox.TABLE_NAME + " set " + MailboxColumns.MESSAGE_COUNT + in createMessageCountTriggers()
226 '=' + MailboxColumns.MESSAGE_COUNT + "-1" + in createMessageCountTriggers()
233 " begin update " + Mailbox.TABLE_NAME + " set " + MailboxColumns.MESSAGE_COUNT + in createMessageCountTriggers()
234 '=' + MailboxColumns.MESSAGE_COUNT + "-1" + in createMessageCountTriggers()
236 "; update " + Mailbox.TABLE_NAME + " set " + MailboxColumns.MESSAGE_COUNT + in createMessageCountTriggers()
237 '=' + MailboxColumns.MESSAGE_COUNT + "+1" + in createMessageCountTriggers()
[all …]
DEmailProvider.java89 import com.android.emailcommon.provider.EmailContent.MailboxColumns;
457 db.execSQL("update " + Mailbox.TABLE_NAME + " set " + MailboxColumns.PARENT_KEY + "=" in fixParentKeys()
459 + Mailbox.TABLE_NAME + "." + MailboxColumns.PARENT_SERVER_ID + "=" in fixParentKeys()
460 + "b." + MailboxColumns.SERVER_ID + " and " in fixParentKeys()
461 + Mailbox.TABLE_NAME + "." + MailboxColumns.PARENT_SERVER_ID + " not null and " in fixParentKeys()
462 + Mailbox.TABLE_NAME + "." + MailboxColumns.ACCOUNT_KEY in fixParentKeys()
469 db.execSQL("update " + Mailbox.TABLE_NAME + " set " + MailboxColumns.PARENT_KEY in fixParentKeys()
470 + "=" + Mailbox.NO_MAILBOX + " where " + MailboxColumns.PARENT_KEY in fixParentKeys()
471 + "=" + Mailbox.PARENT_KEY_UNINITIALIZED + " or " + MailboxColumns.PARENT_KEY in fixParentKeys()
504 deleteUnlinked(mDatabase, Mailbox.TABLE_NAME, MailboxColumns.ACCOUNT_KEY, in getDatabase()
[all …]
DFolderPickerActivity.java36 import com.android.emailcommon.provider.EmailContent.MailboxColumns;
190 values.put(MailboxColumns.TYPE, Mailbox.TYPE_MAIL); in select()
199 values.put(MailboxColumns.TYPE, mMailboxType); in select()
/packages/apps/Email/provider_src/com/android/email/service/
DEmailServiceStub.java52 import com.android.emailcommon.provider.EmailContent.MailboxColumns;
82 MailboxColumns._ID,
83 MailboxColumns.SERVER_ID,
84 MailboxColumns.TYPE,
326 EmailContent.MailboxColumns.ACCOUNT_KEY + "=?", in updateFolderList()
DImapService.java56 import com.android.emailcommon.provider.EmailContent.MailboxColumns;
882 MailboxColumns.ACCOUNT_KEY + "=?" in processPendingUploadsSynchronous()
883 + " and " + MailboxColumns.TYPE + "=" + Mailbox.TYPE_SENT, in processPendingUploadsSynchronous()
/packages/apps/Email/src/com/android/email/activity/setup/
DMailboxSettings.java45 import com.android.emailcommon.provider.EmailContent.MailboxColumns;
463 cv.put(MailboxColumns.SYNC_INTERVAL, syncInterval); in saveToDatabase()
466 cv.put(MailboxColumns.SYNC_LOOKBACK, syncLookback); in saveToDatabase()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java32 import com.android.emailcommon.provider.EmailContent.MailboxColumns;
76 new String[] {MailboxColumns.MESSAGE_COUNT}, null, null, null, 0); in getMessageCount()
122 String selection = EmailContent.MailboxColumns.ACCOUNT_KEY + "=?"; in testDelete()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java45 import com.android.emailcommon.provider.EmailContent.MailboxColumns;
148 values.put(MailboxColumns.MESSAGE_COUNT, -1); in setMinusOneToMessageCounts()
160 new String[] {MailboxColumns.MESSAGE_COUNT}, in getMessageCount()
357 new String[] {MailboxColumns.UNREAD_COUNT};
2285 EmailProvider.deleteUnlinked(db, Mailbox.TABLE_NAME, MailboxColumns.ACCOUNT_KEY, in testCleanupOrphans()