Home
last modified time | relevance | path

Searched refs:setupMailbox (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java101 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, c); in testSave()
117 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, c); in testDelete()
119 Mailbox box2 = ProviderTestUtils.setupMailbox("box2", account1Id, true, c); in testDelete()
150 Mailbox bi = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_INBOX); in testGetMailboxType()
151 Mailbox bm = ProviderTestUtils.setupMailbox("b2", a.mId, true, c, Mailbox.TYPE_MAIL); in testGetMailboxType()
162 Mailbox bi = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_INBOX); in testGetDisplayName()
163 Mailbox bm = ProviderTestUtils.setupMailbox("b2", a.mId, true, c, Mailbox.TYPE_MAIL); in testGetDisplayName()
174 Mailbox bi = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_INBOX); in testIsRefreshable()
175 Mailbox bm = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_MAIL); in testIsRefreshable()
176 Mailbox bd = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_DRAFTS); in testIsRefreshable()
[all …]
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java410 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, mMockContext); in testMessageSave()
454 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, mMockContext); in testMessageWithAttachment()
504 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, mMockContext); in testMessageSaveWithJustAttachments()
565 Mailbox box = ProviderTestUtils.setupMailbox("box1", account.mId, true, mMockContext); in testMessageSaveAddsSnippet()
651 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, mMockContext); in testLookupBodyIdWithMessageId()
692 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, mMockContext); in testUpdateBodyWithMessageId()
768 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, mMockContext); in testDeleteBody()
816 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, mMockContext); in testDeleteOrphanBodies()
818 Mailbox box2 = ProviderTestUtils.setupMailbox("box2", account1Id, true, mMockContext); in testDeleteOrphanBodies()
872 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", acct.mId, true, context); in testMessageQueryWithLimit()
[all …]
DAttachmentProviderTests.java175 Mailbox b1 = ProviderTestUtils.setupMailbox( in testInboxQuery()
177 Mailbox b2 = ProviderTestUtils.setupMailbox( in testInboxQuery()
179 Mailbox b3 = ProviderTestUtils.setupMailbox( in testInboxQuery()
181 Mailbox b4 = ProviderTestUtils.setupMailbox( in testInboxQuery()
183 Mailbox bt = ProviderTestUtils.setupMailbox( in testInboxQuery()
558 Mailbox mailbox1 = ProviderTestUtils.setupMailbox("mbox1", account1Id, true, mMockContext); in testDeleteMailbox()
560 Mailbox mailbox2 = ProviderTestUtils.setupMailbox("mbox2", account1Id, true, mMockContext); in testDeleteMailbox()
590 Mailbox mailbox1 = ProviderTestUtils.setupMailbox("mbox1", account1Id, true, mMockContext); in testDeleteAccount()
592 Mailbox mailbox2 = ProviderTestUtils.setupMailbox("mbox2", account1Id, true, mMockContext); in testDeleteAccount()
599 Mailbox mailbox3 = ProviderTestUtils.setupMailbox("mbox3", account2Id, true, mMockContext); in testDeleteAccount()
[all …]
DProviderTestUtils.java112 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, in setupMailbox() method in ProviderTestUtils
114 return setupMailbox(name, accountId, saveIt, context, Mailbox.TYPE_MAIL); in setupMailbox()
116 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, in setupMailbox() method in ProviderTestUtils
118 return setupMailbox(name, accountId, saveIt, context, type, '/'); in setupMailbox()
120 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, in setupMailbox() method in ProviderTestUtils
DContentCacheTests.java141 ProviderTestUtils.setupMailbox("box1", acct.mId, true, context); in testCachedCursors()
142 Mailbox box = ProviderTestUtils.setupMailbox("box2", acct.mId, true, context); in testCachedCursors()
DPolicyTests.java128 Mailbox box = ProviderTestUtils.setupMailbox("box1", acct.mId, true, mMockContext); in testSetAttachmentFlagsForNewPolicy()
/packages/apps/Email/tests/src/com/android/email/
DSecurityPolicyTests.java398 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, mMockContext); in testWipeExpiringAccounts()
402 Mailbox box2 = ProviderTestUtils.setupMailbox("box2", account2Id, true, mMockContext); in testWipeExpiringAccounts()
423 Mailbox box3 = ProviderTestUtils.setupMailbox("box3", account3Id, true, mMockContext); in testWipeExpiringAccounts()