Home
last modified time | relevance | path

Searched refs:TYPE_INBOX (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java150 Mailbox bi = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_INBOX); in testGetMailboxType()
153 assertEquals(Mailbox.TYPE_INBOX, Mailbox.getMailboxType(c, bi.mId)); in testGetMailboxType()
162 Mailbox bi = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_INBOX); in testGetDisplayName()
174 Mailbox bi = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_INBOX); in testIsRefreshable()
196 Mailbox bi = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_INBOX); in testCanMoveFrom()
255 ProviderTestUtils.setupMailbox("Inbox1", acct1.mId, true, context, Mailbox.TYPE_INBOX); in testFindMailboxOfType()
262 ProviderTestUtils.setupMailbox("Inbox2", acct2.mId, true, context, Mailbox.TYPE_INBOX); in testFindMailboxOfType()
270 Mailbox.findMailboxOfType(context, acct1.mId, Mailbox.TYPE_INBOX)); in testFindMailboxOfType()
272 Mailbox.findMailboxOfType(context, acct2.mId, Mailbox.TYPE_INBOX)); in testFindMailboxOfType()
292 Mailbox.findMailboxOfType(context, acct1.mId, Mailbox.TYPE_INBOX)); in testFindMailboxOfType()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java309 public static final int TYPE_INBOX = 0; field in Mailbox
354 SYNCABLE_TYPES.put(TYPE_INBOX, true); in SYNCABLE_TYPES.put() argument
379 { TYPE_INBOX, TYPE_DRAFTS, TYPE_OUTBOX, TYPE_SENT, TYPE_TRASH };
420 case Mailbox.TYPE_INBOX: in getSystemMailboxName()
473 case TYPE_INBOX: in newSystemMailbox()
739 case TYPE_INBOX: in canHaveMessagesMoved()
DMailboxUtilities.java65 parentType == Mailbox.TYPE_JUNK || parentType == Mailbox.TYPE_INBOX) { in setFlagsAndChildrensParentKey()
DAccount.java196 MailboxColumns.TYPE + " = " + Mailbox.TYPE_INBOX +
DEmailContent.java845 + " WHERE " + MailboxColumns.TYPE + " = " + Mailbox.TYPE_INBOX
/packages/apps/Email/tests/src/com/android/email/
DControllerProviderOpsTests.java74 assertEquals("Inbox", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_INBOX)); in testGetMailboxServerName()
83 assertEquals("Inbox", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_INBOX)); in testGetMailboxServerName()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java2775 + " WHEN " + Mailbox.TYPE_INBOX + " THEN " + UIProvider.FolderType.INBOX
2788 + " WHEN " + Mailbox.TYPE_INBOX + " THEN " + R.drawable.ic_drawer_inbox_24dp
2929 + " WHEN " + Mailbox.TYPE_INBOX + " THEN 0"
3214 if (virtualMailboxId == Mailbox.TYPE_INBOX) { in getVirtualMailboxMessagesCursor()
3221 case Mailbox.TYPE_INBOX: in getVirtualMailboxMessagesCursor()
3224 "=" + Mailbox.TYPE_INBOX + ")"); in getVirtualMailboxMessagesCursor()
3324 mailboxType == Mailbox.TYPE_JUNK || mailboxType == Mailbox.TYPE_INBOX) { in getFolderCapabilities()
3580 Mailbox.findMailboxOfType(context, accountId, Mailbox.TYPE_INBOX); in genQueryAccount()
3842 combinedUriString("uifolder", combinedMailboxId(Mailbox.TYPE_INBOX)); in addCombinedAccountRow()
3846 combinedUriString("uifolder", combinedMailboxId(Mailbox.TYPE_INBOX)); in addCombinedAccountRow()
[all …]
DWidgetProvider.java135 return EmailProvider.getVirtualMailboxId(accountId, Mailbox.TYPE_INBOX); in migrateLegacyWidgetMailboxId()
/packages/apps/Email/provider_src/com/android/email/service/
DPopImapSyncAdapterService.java96 return Mailbox.TYPE_INBOX == m.mType; in loadsFromServer()
246 Mailbox.TYPE_INBOX); in performSync()
DPop3Service.java84 long inboxId = Mailbox.findMailboxOfType(mContext, att.mAccountKey, Mailbox.TYPE_INBOX);
236 if (mailbox.mType != Mailbox.TYPE_INBOX) { in synchronizePop3Mailbox()
DEmailServiceStub.java309 if (type == Mailbox.TYPE_INBOX) { in updateFolderList()
341 case Mailbox.TYPE_INBOX: in updateFolderList()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DPop3Store.java106 Mailbox mailbox = Mailbox.restoreMailboxOfType(mContext, mAccount.mId, Mailbox.TYPE_INBOX); in updateFolders()
108 mailbox = Mailbox.newSystemMailbox(mContext, mAccount.mId, Mailbox.TYPE_INBOX); in updateFolders()
DImapStore.java139 case Mailbox.TYPE_INBOX: in canSyncFolderType()
460 Mailbox.restoreMailboxOfType(mContext, mAccount.mId, Mailbox.TYPE_INBOX); in updateFolders()
/packages/apps/Email/provider_src/com/android/email/mail/
DStore.java166 return (type == Mailbox.TYPE_INBOX); in canSyncFolderType()
/packages/apps/Email/tests/src/com/android/email/provider/
DAttachmentProviderTests.java176 "box1", a1.mId, true, mMockContext, Mailbox.TYPE_INBOX); in testInboxQuery()
180 "box3", a2.mId, true, mMockContext, Mailbox.TYPE_INBOX); in testInboxQuery()
DProviderTests.java2040 Mailbox b2i = ProviderTestUtils.setupMailbox("b2b", a2.mId, true, c, Mailbox.TYPE_INBOX); in testGetAccountGetInboxIdTest()
2101 Mailbox b1 = ProviderTestUtils.setupMailbox("box1", a1.mId, true, c, Mailbox.TYPE_INBOX); in testRecalculateMessageCounts()
2103 Mailbox b3 = ProviderTestUtils.setupMailbox("box3", a2.mId, true, c, Mailbox.TYPE_INBOX); in testRecalculateMessageCounts()
2256 Mailbox a1 = createTypeMailbox(mMockContext, -1, Mailbox.TYPE_INBOX); in testCleanupOrphans()
/packages/apps/Email/provider_src/com/android/email/
DLegacyConversions.java521 Mailbox.TYPE_INBOX); in inferMailboxTypeFromName()
/packages/apps/Email/src/com/android/email/
DEmailNotificationController.java420 Mailbox.TYPE_INBOX); in showLoginFailedNotificationSynchronous()