Home | History | Annotate | Download | only in email

Lines Matching refs:accountId

102      * Does not test duplication, bad accountID, or any other bad input.
106 long accountId = account.mId;
108 long oldBoxId = Mailbox.findMailboxOfType(mProviderContext, accountId, Mailbox.TYPE_DRAFTS);
112 ct.createMailbox(accountId, Mailbox.TYPE_DRAFTS);
113 long boxId = Mailbox.findMailboxOfType(mProviderContext, accountId, Mailbox.TYPE_DRAFTS);
125 * - when accountId or mailboxType are -1, returns NO_MAILBOX
129 long accountId = account.mId;
130 Mailbox box = ProviderTestUtils.setupMailbox("box", accountId, false, mProviderContext);
137 long testBoxId = ct.findOrCreateMailboxOfType(accountId, boxType);
142 long boxId2 = ct.findOrCreateMailboxOfType(accountId, Mailbox.TYPE_DRAFTS);
147 long boxId3 = ct.findOrCreateMailboxOfType(accountId, Mailbox.TYPE_DRAFTS);
152 assertEquals(Mailbox.NO_MAILBOX, ct.findOrCreateMailboxOfType(accountId, -1));
183 // Now repeat test with accountId "unknown"