Home
last modified time | relevance | path

Searched refs:getMailboxType (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java153 assertEquals(Mailbox.TYPE_INBOX, Mailbox.getMailboxType(c, bi.mId)); in testGetMailboxType()
154 assertEquals(Mailbox.TYPE_MAIL, Mailbox.getMailboxType(c, bm.mId)); in testGetMailboxType()
155 assertEquals(-1, Mailbox.getMailboxType(c, 999999)); // mailbox not found in testGetMailboxType()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java701 public static int getMailboxType(Context context, long mailboxId) { in getMailboxType() method in Mailbox
725 switch (getMailboxType(context, mailboxId)) { in isRefreshable()
DEmailContent.java1276 if (Mailbox.getMailboxType(context, mailboxId) != Mailbox.TYPE_OUTBOX) { in buildMessageListSelection()