Home
last modified time | relevance | path

Searched refs:TYPE_TRASH (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java322 public static final int TYPE_TRASH = 6; field in Mailbox
360 SYNCABLE_TYPES.put(TYPE_TRASH, false); in SYNCABLE_TYPES.put() argument
379 { TYPE_INBOX, TYPE_DRAFTS, TYPE_OUTBOX, TYPE_SENT, TYPE_TRASH };
429 case Mailbox.TYPE_TRASH: in getSystemMailboxName()
478 case TYPE_TRASH: in newSystemMailbox()
741 case TYPE_TRASH: in canHaveMessagesMoved()
DMailboxUtilities.java64 if (parentType == Mailbox.TYPE_MAIL || parentType == Mailbox.TYPE_TRASH || in setFlagsAndChildrensParentKey()
DEmailContent.java837 + " WHERE " + MailboxColumns.TYPE + " = " + Mailbox.TYPE_TRASH
/packages/apps/Email/tests/src/com/android/email/
DControllerProviderOpsTests.java76 assertEquals("Trash", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_TRASH)); in testGetMailboxServerName()
85 assertEquals("Trash", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_TRASH)); in testGetMailboxServerName()
/packages/apps/Email/provider_src/com/android/email/provider/
DFolderPickerActivity.java75 mMailboxType = i.getIntExtra(MAILBOX_TYPE_EXTRA, Mailbox.TYPE_TRASH); in onCreate()
76 long trashMailboxId = Mailbox.findMailboxOfType(this, mAccountId, Mailbox.TYPE_TRASH); in onCreate()
DEmailProvider.java2779 + " WHEN " + Mailbox.TYPE_TRASH + " THEN " + UIProvider.FolderType.TRASH
2792 + " WHEN " + Mailbox.TYPE_TRASH + " THEN " + R.drawable.ic_drawer_trash_24dp
2805 + MailboxColumns.TYPE + "=" + Mailbox.TYPE_TRASH
2933 + " WHEN " + Mailbox.TYPE_TRASH + " THEN 4"
3232 " WHERE " + MailboxColumns.TYPE + "=" + Mailbox.TYPE_TRASH + ")"); in getVirtualMailboxMessagesCursor()
3323 if (mailboxType == Mailbox.TYPE_MAIL || mailboxType == Mailbox.TYPE_TRASH || in getFolderCapabilities()
3331 if (mailboxType == Mailbox.TYPE_TRASH) { in getFolderCapabilities()
3635 long trashId = Mailbox.findMailboxOfType(context, accountId, Mailbox.TYPE_TRASH); in genQueryAccount()
3913 + Mailbox.TYPE_TRASH + ")", whereArgs); in getVirtualMailboxRow()
4545 case Mailbox.TYPE_TRASH: in getFolderTypeFromMailboxType()
[all …]
/packages/apps/Email/provider_src/com/android/email/service/
DImapService.java446 if (mailbox.mType == Mailbox.TYPE_TRASH || mailbox.mType == Mailbox.TYPE_SENT) { in synchronizeMailboxGeneric()
838 final boolean deleteFromTrash = mailbox.mType == Mailbox.TYPE_TRASH; in processPendingDeletesSynchronous()
976 if (mailbox.mType == Mailbox.TYPE_TRASH) { in processPendingUpdatesSynchronous()
1052 } else if (mailbox.mType == Mailbox.TYPE_TRASH) { in processUploadMessage()
1194 if (oldMailbox.mType == Mailbox.TYPE_TRASH) { in processPendingMoveToTrash()
1283 if (oldMailbox.mType != Mailbox.TYPE_TRASH) { in processPendingDeleteFromTrash()
DPop3Service.java277 long trashMailboxId = Mailbox.findMailboxOfType(context, account.mId, Mailbox.TYPE_TRASH); in synchronizePop3Mailbox()
DEmailServiceStub.java345 case Mailbox.TYPE_TRASH: in updateFolderList()
/packages/apps/Email/provider_src/com/android/email/
DLegacyConversions.java530 Mailbox.TYPE_TRASH); in inferMailboxTypeFromName()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapStore.java142 case Mailbox.TYPE_TRASH: in canSyncFolderType()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java353 Mailbox bt = ProviderTestUtils.setupMailbox("boxT", a2.mId, true, c, Mailbox.TYPE_TRASH); in testMessageCount()
/packages/apps/Email/tests/src/com/android/email/provider/
DAttachmentProviderTests.java184 "boxT", a2.mId, true, mMockContext, Mailbox.TYPE_TRASH); in testInboxQuery()
DProviderTests.java2105 Mailbox bt = ProviderTestUtils.setupMailbox("boxT", a2.mId, true, c, Mailbox.TYPE_TRASH); in testRecalculateMessageCounts()
2260 Mailbox a5 = createTypeMailbox(mMockContext, a.mId, Mailbox.TYPE_TRASH); in testCleanupOrphans()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsFragment.java761 i.putExtra(FolderPickerActivity.MAILBOX_TYPE_EXTRA, Mailbox.TYPE_TRASH); in loadSettings()