Home
last modified time | relevance | path

Searched refs:mailboxType (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java417 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/mail/store/
DImapStore.java377 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/provider/
DEmailProvider.java3307 private int getFolderCapabilities(EmailServiceInfo info, int mailboxType, long mailboxId) { in getFolderCapabilities() argument
3309 if (mailboxType == Mailbox.TYPE_SEARCH) { in getFolderCapabilities()
3315 if (mailboxType != Mailbox.TYPE_DRAFTS) { in getFolderCapabilities()
3323 if (mailboxType == Mailbox.TYPE_MAIL || mailboxType == Mailbox.TYPE_TRASH || in getFolderCapabilities()
3324 mailboxType == Mailbox.TYPE_JUNK || mailboxType == Mailbox.TYPE_INBOX) { in getFolderCapabilities()
3331 if (mailboxType == Mailbox.TYPE_TRASH) { in getFolderCapabilities()
3351 if (mailboxType == Mailbox.TYPE_OUTBOX || mailboxType == Mailbox.TYPE_SENT) { in getFolderCapabilities()
3869 private Object[] getVirtualMailboxRow(long accountId, int mailboxType, String[] projection) { in getVirtualMailboxRow() argument
3870 final long id = getVirtualMailboxId(accountId, mailboxType); in getVirtualMailboxRow()
3883 values[i] = getFolderDisplayName(getFolderTypeFromMailboxType(mailboxType), ""); in getVirtualMailboxRow()
[all …]
/packages/apps/Email/provider_src/com/android/email/service/
DEmailServiceStub.java338 final int mailboxType = localFolderCursor.getInt(MAILBOX_COLUMN_TYPE); in updateFolderList() local
340 switch (mailboxType) { in updateFolderList()