Home
last modified time | relevance | path

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

/packages/apps/Email/tests/src/com/android/email/
DFolderPropertiesTests.java73 fp.getDisplayName(Mailbox.TYPE_TRASH, 0, "ignored")); in testGetDisplayName()
130 Drawable trash = fp.getIcon(Mailbox.TYPE_TRASH, -1, 0); in testSpecialIcons()
173 fp.getMessageCount(buildCursor(columns, Mailbox.TYPE_TRASH, 1, 2)) in testGetMessageCountWithCursor()
DControllerProviderOpsTests.java92 assertEquals("Trash", Controller.getMailboxServerName(mContext, Mailbox.TYPE_TRASH)); in testGetMailboxServerName()
101 assertEquals("Trash", Controller.getMailboxServerName(mContext, Mailbox.TYPE_TRASH)); in testGetMailboxServerName()
153 final int boxType = Mailbox.TYPE_TRASH; in testFindOrCreateMailboxOfType()
220 trashBox.mType = Mailbox.TYPE_TRASH; in testDeleteMessage()
295 assertEquals(Mailbox.TYPE_TRASH, mailbox2get.mType); in testDeleteMessageNoTrash()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java354 Mailbox bt = ProviderTestUtils.setupMailbox("boxT", a2.mId, true, c, Mailbox.TYPE_TRASH); in testMessageCount()
371 assertEquals(0, Mailbox.getMessageCountByMailboxType(c, Mailbox.TYPE_TRASH)); in testMessageCount()
378 a1.mId, Mailbox.TYPE_TRASH)); in testMessageCount()
384 a2.mId, Mailbox.TYPE_TRASH)); in testMessageCount()
423 assertEquals(3, Mailbox.getMessageCountByMailboxType(c, Mailbox.TYPE_TRASH)); in testMessageCount()
430 a1.mId, Mailbox.TYPE_TRASH)); in testMessageCount()
436 a2.mId, Mailbox.TYPE_TRASH)); in testMessageCount()
/packages/apps/Email/tests/src/com/android/email/activity/
DMailboxFragmentAdapterTest.java61 Mailbox b1t = ProviderTestUtils.setupMailbox("box1t", a1.mId, true, c, Mailbox.TYPE_TRASH); in testBuildCombinedMailboxes()
62 Mailbox b2t = ProviderTestUtils.setupMailbox("box2t", a2.mId, true, c, Mailbox.TYPE_TRASH); in testBuildCombinedMailboxes()
DRecentMailboxManagerTest.java67 ProviderTestUtils.setupMailbox("trash", 1L, true, mMockContext, Mailbox.TYPE_TRASH), in setUp()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java178 public static final int TYPE_TRASH = 6; field in Mailbox
493 case TYPE_TRASH: in canHaveMessagesMoved()
538 return (type != TYPE_TRASH) && (type != TYPE_DRAFTS); in isMailboxTypeReplyAndForwardable()
DEmailContent.java650 + " WHERE " + MailboxColumns.TYPE + " = " + Mailbox.TYPE_TRASH
/packages/apps/Email/src/com/android/email/activity/
DMailboxMoveToAdapter.java52 + Mailbox.TYPE_OUTBOX + "," + Mailbox.TYPE_SENT + "," + Mailbox.TYPE_TRASH + ") AND ("
DMailboxListFragment.java1012 if (newTarget.mMailboxType == Mailbox.TYPE_TRASH) { in onDragLocation()
1147 if (mDropTargetView.mMailboxType == Mailbox.TYPE_TRASH) { in onDrop()
DMessageListFragment.java163 public static final int TYPE_TRASH = 2; field
804 case Mailbox.TYPE_TRASH: in callbackTypeForMailboxType()
805 return Callback.TYPE_TRASH; in callbackTypeForMailboxType()
DMailboxFragmentAdapter.java156 + " WHEN " + Mailbox.TYPE_TRASH + " THEN 4"
/packages/apps/Email/src/com/android/email/
DFolderProperties.java158 case Mailbox.TYPE_TRASH: in getMessageCount()
DMessagingController.java295 case Mailbox.TYPE_TRASH: in listFolders()
787 if (mailbox.mType == Mailbox.TYPE_TRASH || mailbox.mType == Mailbox.TYPE_SENT in synchronizeMailboxGeneric()
1174 deleteFromTrash = mailbox.mType == Mailbox.TYPE_TRASH; in processPendingDeletesSynchronous()
1351 if (mailbox.mType == Mailbox.TYPE_TRASH) { in processPendingUpdatesSynchronous()
1431 } else if (mailbox.mType == Mailbox.TYPE_TRASH) { in processUploadMessage()
1572 if (oldMailbox.mType == Mailbox.TYPE_TRASH) { in processPendingMoveToTrash()
1678 if (oldMailbox.mType != Mailbox.TYPE_TRASH) { in processPendingDeleteFromTrash()
DLegacyConversions.java455 Mailbox.TYPE_TRASH); in inferMailboxTypeFromName()
DController.java522 case Mailbox.TYPE_TRASH: in getMailboxServerName()
787 long trashMailboxId = findOrCreateMailboxOfType(account.mId, Mailbox.TYPE_TRASH); in deleteMessageSync()
/packages/apps/Exchange/exchange2/src/com/android/exchange/provider/
DMailboxUtilities.java58 if (parentType == Mailbox.TYPE_MAIL || parentType == Mailbox.TYPE_TRASH || in setFlagsAndChildrensParentKey()
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DFolderSyncParser.java376 mailbox.mType = Mailbox.TYPE_TRASH; in addParser()
DEmailSyncAdapter.java230 boolean isTrashMailbox = mMailbox.mType == Mailbox.TYPE_TRASH; in sendSyncOptions()
1369 Mailbox.findMailboxOfType(mContext, mMailbox.mAccountKey, Mailbox.TYPE_TRASH);
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DUtilityUnitTests.java334 mockContext, Mailbox.TYPE_TRASH); in testUpdateLastSeenMessageKey()
/packages/apps/Email/tests/src/com/android/email/provider/
DAttachmentProviderTests.java195 "boxT", a2.mId, true, mMockContext, Mailbox.TYPE_TRASH); in testInboxQuery()
/packages/apps/Email/src/com/android/email/mail/store/
DPop3Store.java158 Mailbox.TYPE_TRASH
/packages/apps/Email/src/com/android/email/provider/
DEmailProvider.java270 Mailbox.TYPE_INBOX + "," + Mailbox.TYPE_DRAFTS + "," + Mailbox.TYPE_TRASH + "," +
952 type != Mailbox.TYPE_TRASH && type != Mailbox.TYPE_SEARCH) { in insert()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DExchangeService.java2227 } else if (type == Mailbox.TYPE_TRASH) { in isMailboxSyncable()