Searched refs:mailboxType (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | Mailbox.java | 417 public static String getSystemMailboxName(Context context, int mailboxType) { in getSystemMailboxName() argument 419 switch (mailboxType) { in getSystemMailboxName() 467 public static Mailbox newSystemMailbox(Context context, long accountId, int mailboxType) { in newSystemMailbox() argument 472 switch (mailboxType) { in newSystemMailbox() 489 mailboxType); in newSystemMailbox() 494 box.mType = mailboxType; in newSystemMailbox() 498 box.mServerId = box.mDisplayName = getSystemMailboxName(context, mailboxType); in newSystemMailbox() 553 public static boolean isSyncableType(final int mailboxType) { in isSyncableType() argument 554 return SYNCABLE_TYPES.indexOfKey(mailboxType) >= 0; in isSyncableType() 562 public static boolean getDefaultSyncStateForType(final int mailboxType) { in getDefaultSyncStateForType() argument [all …]
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | EmailProvider.java | 3306 private int getFolderCapabilities(EmailServiceInfo info, int mailboxType, long mailboxId) { in getFolderCapabilities() argument 3308 if (mailboxType == Mailbox.TYPE_SEARCH) { in getFolderCapabilities() 3314 if (mailboxType != Mailbox.TYPE_DRAFTS) { in getFolderCapabilities() 3322 if (mailboxType == Mailbox.TYPE_MAIL || mailboxType == Mailbox.TYPE_TRASH || in getFolderCapabilities() 3323 mailboxType == Mailbox.TYPE_JUNK || mailboxType == Mailbox.TYPE_INBOX) { in getFolderCapabilities() 3330 if (mailboxType == Mailbox.TYPE_TRASH) { in getFolderCapabilities() 3350 if (mailboxType == Mailbox.TYPE_OUTBOX || mailboxType == Mailbox.TYPE_SENT) { in getFolderCapabilities() 3868 private Object[] getVirtualMailboxRow(long accountId, int mailboxType, String[] projection) { in getVirtualMailboxRow() argument 3869 final long id = getVirtualMailboxId(accountId, mailboxType); in getVirtualMailboxRow() 3882 values[i] = getFolderDisplayName(getFolderTypeFromMailboxType(mailboxType), ""); in getVirtualMailboxRow() [all …]
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | ImapStore.java | 377 final int mailboxType; in addMailbox() local 379 mailboxType = LegacyConversions.inferMailboxTypeFromName(context, mailboxPath); in addMailbox() 382 mailboxType = mailbox.mType; in addMailbox() 390 updateMailbox(mailbox, accountId, mailboxPath, delimiter, selectable, mailboxType); in addMailbox()
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | EmailServiceStub.java | 338 final int mailboxType = localFolderCursor.getInt(MAILBOX_COLUMN_TYPE); in updateFolderList() local 340 switch (mailboxType) { in updateFolderList()
|