/packages/apps/Email/tests/src/com/android/email/ |
D | FolderPropertiesTests.java | 73 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()
|
D | ControllerProviderOpsTests.java | 92 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/ |
D | MailboxTests.java | 354 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/ |
D | MailboxFragmentAdapterTest.java | 61 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()
|
D | RecentMailboxManagerTest.java | 67 ProviderTestUtils.setupMailbox("trash", 1L, true, mMockContext, Mailbox.TYPE_TRASH), in setUp()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | Mailbox.java | 178 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()
|
D | EmailContent.java | 650 + " WHERE " + MailboxColumns.TYPE + " = " + Mailbox.TYPE_TRASH
|
/packages/apps/Email/src/com/android/email/activity/ |
D | MailboxMoveToAdapter.java | 52 + Mailbox.TYPE_OUTBOX + "," + Mailbox.TYPE_SENT + "," + Mailbox.TYPE_TRASH + ") AND ("
|
D | MailboxListFragment.java | 1012 if (newTarget.mMailboxType == Mailbox.TYPE_TRASH) { in onDragLocation() 1147 if (mDropTargetView.mMailboxType == Mailbox.TYPE_TRASH) { in onDrop()
|
D | MessageListFragment.java | 163 public static final int TYPE_TRASH = 2; field 804 case Mailbox.TYPE_TRASH: in callbackTypeForMailboxType() 805 return Callback.TYPE_TRASH; in callbackTypeForMailboxType()
|
D | MailboxFragmentAdapter.java | 156 + " WHEN " + Mailbox.TYPE_TRASH + " THEN 4"
|
/packages/apps/Email/src/com/android/email/ |
D | FolderProperties.java | 158 case Mailbox.TYPE_TRASH: in getMessageCount()
|
D | MessagingController.java | 295 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()
|
D | LegacyConversions.java | 455 Mailbox.TYPE_TRASH); in inferMailboxTypeFromName()
|
D | Controller.java | 522 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/ |
D | MailboxUtilities.java | 58 if (parentType == Mailbox.TYPE_MAIL || parentType == Mailbox.TYPE_TRASH || in setFlagsAndChildrensParentKey()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | FolderSyncParser.java | 376 mailbox.mType = Mailbox.TYPE_TRASH; in addParser()
|
D | EmailSyncAdapter.java | 230 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/ |
D | UtilityUnitTests.java | 334 mockContext, Mailbox.TYPE_TRASH); in testUpdateLastSeenMessageKey()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | AttachmentProviderTests.java | 195 "boxT", a2.mId, true, mMockContext, Mailbox.TYPE_TRASH); in testInboxQuery()
|
/packages/apps/Email/src/com/android/email/mail/store/ |
D | Pop3Store.java | 158 Mailbox.TYPE_TRASH
|
/packages/apps/Email/src/com/android/email/provider/ |
D | EmailProvider.java | 270 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/ |
D | ExchangeService.java | 2227 } else if (type == Mailbox.TYPE_TRASH) { in isMailboxSyncable()
|