/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
D | MailboxTests.java | 150 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/ |
D | Mailbox.java | 309 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()
|
D | MailboxUtilities.java | 65 parentType == Mailbox.TYPE_JUNK || parentType == Mailbox.TYPE_INBOX) { in setFlagsAndChildrensParentKey()
|
D | Account.java | 196 MailboxColumns.TYPE + " = " + Mailbox.TYPE_INBOX +
|
D | EmailContent.java | 845 + " WHERE " + MailboxColumns.TYPE + " = " + Mailbox.TYPE_INBOX
|
/packages/apps/Email/tests/src/com/android/email/ |
D | ControllerProviderOpsTests.java | 74 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/ |
D | EmailProvider.java | 2775 + " 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 …]
|
D | WidgetProvider.java | 135 return EmailProvider.getVirtualMailboxId(accountId, Mailbox.TYPE_INBOX); in migrateLegacyWidgetMailboxId()
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | PopImapSyncAdapterService.java | 96 return Mailbox.TYPE_INBOX == m.mType; in loadsFromServer() 246 Mailbox.TYPE_INBOX); in performSync()
|
D | Pop3Service.java | 84 long inboxId = Mailbox.findMailboxOfType(mContext, att.mAccountKey, Mailbox.TYPE_INBOX); 236 if (mailbox.mType != Mailbox.TYPE_INBOX) { in synchronizePop3Mailbox()
|
D | EmailServiceStub.java | 309 if (type == Mailbox.TYPE_INBOX) { in updateFolderList() 341 case Mailbox.TYPE_INBOX: in updateFolderList()
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | Pop3Store.java | 106 Mailbox mailbox = Mailbox.restoreMailboxOfType(mContext, mAccount.mId, Mailbox.TYPE_INBOX); in updateFolders() 108 mailbox = Mailbox.newSystemMailbox(mContext, mAccount.mId, Mailbox.TYPE_INBOX); in updateFolders()
|
D | ImapStore.java | 139 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/ |
D | Store.java | 166 return (type == Mailbox.TYPE_INBOX); in canSyncFolderType()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | AttachmentProviderTests.java | 176 "box1", a1.mId, true, mMockContext, Mailbox.TYPE_INBOX); in testInboxQuery() 180 "box3", a2.mId, true, mMockContext, Mailbox.TYPE_INBOX); in testInboxQuery()
|
D | ProviderTests.java | 2040 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/ |
D | LegacyConversions.java | 521 Mailbox.TYPE_INBOX); in inferMailboxTypeFromName()
|
/packages/apps/Email/src/com/android/email/ |
D | EmailNotificationController.java | 420 Mailbox.TYPE_INBOX); in showLoginFailedNotificationSynchronous()
|