Home
last modified time | relevance | path

Searched refs:TYPE_OUTBOX (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java175 Mailbox bo = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_OUTBOX); in testIsRefreshable()
197 Mailbox bo = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_OUTBOX); in testCanMoveFrom()
284 Mailbox.findMailboxOfType(context, acct1.mId, Mailbox.TYPE_OUTBOX)); in testFindMailboxOfType()
351 Mailbox b2 = ProviderTestUtils.setupMailbox("box2", a1.mId, true, c, Mailbox.TYPE_OUTBOX); in testMessageCount()
353 Mailbox b4 = ProviderTestUtils.setupMailbox("box4", a2.mId, true, c, Mailbox.TYPE_OUTBOX); in testMessageCount()
368 assertEquals(0, Mailbox.getUnreadCountByMailboxType(c, Mailbox.TYPE_OUTBOX)); in testMessageCount()
370 assertEquals(0, Mailbox.getMessageCountByMailboxType(c, Mailbox.TYPE_OUTBOX)); in testMessageCount()
376 a1.mId, Mailbox.TYPE_OUTBOX)); in testMessageCount()
382 a2.mId, Mailbox.TYPE_OUTBOX)); in testMessageCount()
420 assertEquals(1, Mailbox.getUnreadCountByMailboxType(c, Mailbox.TYPE_OUTBOX)); in testMessageCount()
[all …]
/packages/apps/Email/src/com/android/email/
DFolderProperties.java155 case Mailbox.TYPE_OUTBOX: in getMessageCount()
198 return Mailbox.getMessageCountByMailboxType(context, Mailbox.TYPE_OUTBOX); in getMessageCountForCombinedMailbox()
214 return mSpecialMailboxDrawable.getDrawable(Mailbox.TYPE_OUTBOX);
DMessagingController.java293 case Mailbox.TYPE_OUTBOX: in listFolders()
334 if (folder.mType == Mailbox.TYPE_OUTBOX) { in synchronizeMailbox()
742 if (mailbox.mType == Mailbox.TYPE_DRAFTS || mailbox.mType == Mailbox.TYPE_OUTBOX) { in synchronizeMailboxGeneric()
1428 } else if (mailbox.mType == Mailbox.TYPE_OUTBOX) { in processUploadMessage()
1477 if (mailbox.mType == Mailbox.TYPE_DRAFTS || mailbox.mType == Mailbox.TYPE_OUTBOX) { in processPendingDataChange()
2026 long outboxId = Mailbox.findMailboxOfType(mContext, account.mId, Mailbox.TYPE_OUTBOX); in sendPendingMessagesSynchronous()
DController.java516 case Mailbox.TYPE_OUTBOX: in getMailboxServerName()
577 long outboxId = findOrCreateMailboxOfType(accountId, Mailbox.TYPE_OUTBOX); in sendMessage()
619 Mailbox.findMailboxOfType(mProviderContext, accountId, Mailbox.TYPE_OUTBOX); in sendPendingMessages()
DLegacyConversions.java449 Mailbox.TYPE_OUTBOX); in inferMailboxTypeFromName()
/packages/apps/Email/tests/src/com/android/email/activity/
DMailboxFragmentAdapterTest.java57 Mailbox b1o = ProviderTestUtils.setupMailbox("box1i", a1.mId, true, c, Mailbox.TYPE_OUTBOX); in testBuildCombinedMailboxes()
58 Mailbox b2o = ProviderTestUtils.setupMailbox("box2i", a2.mId, true, c, Mailbox.TYPE_OUTBOX); in testBuildCombinedMailboxes()
102 checkSpecialMailboxRow(cursor, Mailbox.QUERY_ALL_OUTBOX, Mailbox.TYPE_OUTBOX, 2); in testBuildCombinedMailboxes()
DRecentMailboxManagerTest.java65 ProviderTestUtils.setupMailbox("outbox", 1L, true, mMockContext, Mailbox.TYPE_OUTBOX), in setUp()
/packages/apps/Email/tests/src/com/android/email/
DFolderPropertiesTests.java65 fp.getDisplayName(Mailbox.TYPE_OUTBOX, 0, "ignored")); in testGetDisplayName()
128 Drawable outbox = fp.getIcon(Mailbox.TYPE_OUTBOX, -1, 0); in testSpecialIcons()
168 fp.getMessageCount(buildCursor(columns, Mailbox.TYPE_OUTBOX, 1, 2)) in testGetMessageCountWithCursor()
DControllerProviderOpsTests.java91 assertEquals("Outbox", Controller.getMailboxServerName(mContext, Mailbox.TYPE_OUTBOX)); in testGetMailboxServerName()
100 assertEquals("Outbox", Controller.getMailboxServerName(mContext, Mailbox.TYPE_OUTBOX)); in testGetMailboxServerName()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java152 Mailbox.TYPE_OUTBOX, Mailbox.TYPE_SENT};
174 public static final int TYPE_OUTBOX = 4; field in Mailbox
480 case TYPE_OUTBOX: in isRefreshable()
508 && mType != Mailbox.TYPE_OUTBOX in loadsFromServer()
516 && mType != Mailbox.TYPE_OUTBOX in loadsFromServer()
527 if (mType == TYPE_DRAFTS || mType == TYPE_OUTBOX || mType == TYPE_SEARCH) { in uploadsToServer()
DEmailContent.java674 + " WHERE " + MailboxColumns.TYPE + " = " + Mailbox.TYPE_OUTBOX
1077 if (Mailbox.getMailboxType(context, mailboxId) != Mailbox.TYPE_OUTBOX) { in buildMessageListSelection()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/
DExchangeServiceAccountTests.java109 mProviderContext, Mailbox.TYPE_OUTBOX); in testIsSyncable()
/packages/apps/Exchange/tests/src/com/android/exchange/
DExchangeServiceAccountTests.java109 mProviderContext, Mailbox.TYPE_OUTBOX); in testIsSyncable()
/packages/apps/Email/src/com/android/email/activity/
DMailboxMoveToAdapter.java52 + Mailbox.TYPE_OUTBOX + "," + Mailbox.TYPE_SENT + "," + Mailbox.TYPE_TRASH + ") AND ("
DMailboxFragmentAdapter.java154 + " WHEN " + Mailbox.TYPE_OUTBOX + " THEN 2"
654 addCombinedMailboxRow(c, cursor, Mailbox.QUERY_ALL_OUTBOX, Mailbox.TYPE_OUTBOX, false); in buildCombinedMailboxes()
DMessageListFragment.java1104 || (mMailbox.mType == Mailbox.TYPE_OUTBOX) in determineFooterMode()
1195 || ((mMailbox != null) && (mMailbox.mType == Mailbox.TYPE_OUTBOX)); in updateMailboxSpecificActions()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DExchangeService.java160 "(" + MailboxColumns.TYPE + '=' + Mailbox.TYPE_OUTBOX
394 if (m.mType == Mailbox.TYPE_OUTBOX) {
1563 if (m.mType == Mailbox.TYPE_DRAFTS || m.mType == Mailbox.TYPE_OUTBOX) { in alert()
2196 if (type == Mailbox.TYPE_OUTBOX) { in isMailboxSyncable()
2323 } else if (mailboxType == Mailbox.TYPE_OUTBOX) { in checkMailboxes()
2441 if (mailbox.mType == Mailbox.TYPE_OUTBOX) {
DEasOutboxService.java536 Mailbox mailbox = Mailbox.restoreMailboxOfType(context, accountId, Mailbox.TYPE_OUTBOX); in sendMessage()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java75 mProviderContext, Mailbox.TYPE_OUTBOX, box1); in testSetupParentKeyAndFlag()
546 "box2", mAccount.mId, true, mProviderContext, Mailbox.TYPE_OUTBOX, box1); in testNoServerId()
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java75 mProviderContext, Mailbox.TYPE_OUTBOX, box1); in testSetupParentKeyAndFlag()
546 "box2", mAccount.mId, true, mProviderContext, Mailbox.TYPE_OUTBOX, box1); in testNoServerId()
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DFolderSyncParser.java367 mailbox.mType = Mailbox.TYPE_OUTBOX; in addParser()
DEmailSyncAdapter.java1347 if (mMailbox.mType == Mailbox.TYPE_DRAFTS || mMailbox.mType == Mailbox.TYPE_OUTBOX) {
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DUtilityUnitTests.java332 mockContext, Mailbox.TYPE_OUTBOX); in testUpdateLastSeenMessageKey()
/packages/apps/Email/src/com/android/email/mail/store/
DPop3Store.java156 Mailbox.TYPE_OUTBOX,
/packages/apps/Email/src/com/android/email/provider/
DEmailProvider.java271 Mailbox.TYPE_SENT + "," + Mailbox.TYPE_SEARCH + "," + Mailbox.TYPE_OUTBOX + ")";
950 if (type != Mailbox.TYPE_INBOX && type != Mailbox.TYPE_OUTBOX && in insert()

12