Searched refs:getMailboxType (Results 1 – 3 of 3) sorted by relevance
153 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()
701 public static int getMailboxType(Context context, long mailboxId) { in getMailboxType() method in Mailbox725 switch (getMailboxType(context, mailboxId)) { in isRefreshable()
1276 if (Mailbox.getMailboxType(context, mailboxId) != Mailbox.TYPE_OUTBOX) { in buildMessageListSelection()