/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
D | MailboxTests.java | 99 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, c); in testSave() 115 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, c); in testDelete() 117 Mailbox box2 = ProviderTestUtils.setupMailbox("box2", account1Id, true, c); in testDelete() 148 Mailbox bi = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_INBOX); in testGetMailboxType() 149 Mailbox bm = ProviderTestUtils.setupMailbox("b2", a.mId, true, c, Mailbox.TYPE_MAIL); in testGetMailboxType() 160 Mailbox bi = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_INBOX); in testGetDisplayName() 161 Mailbox bm = ProviderTestUtils.setupMailbox("b2", a.mId, true, c, Mailbox.TYPE_MAIL); in testGetDisplayName() 172 Mailbox bi = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_INBOX); in testIsRefreshable() 173 Mailbox bm = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_MAIL); in testIsRefreshable() 174 Mailbox bd = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_DRAFTS); in testIsRefreshable() [all …]
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/ |
D | ExchangeServiceAccountTests.java | 51 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", acct1.mId, true, in testReleaseSyncHolds() 53 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true, in testReleaseSyncHolds() 56 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", acct2.mId, true, in testReleaseSyncHolds() 58 Mailbox box4 = EmailContentSetupUtils.setupMailbox("box4", acct2.mId, true, in testReleaseSyncHolds() 106 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", acct1.mId, true, in testIsSyncable() 108 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true, in testIsSyncable() 110 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true, in testIsSyncable() 112 Mailbox box4 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true, in testIsSyncable() 114 Mailbox box5 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true, in testIsSyncable()
|
/packages/apps/Exchange/tests/src/com/android/exchange/ |
D | ExchangeServiceAccountTests.java | 51 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", acct1.mId, true, in testReleaseSyncHolds() 53 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true, in testReleaseSyncHolds() 56 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", acct2.mId, true, in testReleaseSyncHolds() 58 Mailbox box4 = EmailContentSetupUtils.setupMailbox("box4", acct2.mId, true, in testReleaseSyncHolds() 106 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", acct1.mId, true, in testIsSyncable() 108 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true, in testIsSyncable() 110 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true, in testIsSyncable() 112 Mailbox box4 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true, in testIsSyncable() 114 Mailbox box5 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true, in testIsSyncable()
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/ |
D | MailboxUtilitiesTests.java | 72 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true, in testSetupParentKeyAndFlag() 74 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", mAccount.mId, true, in testSetupParentKeyAndFlag() 76 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", mAccount.mId, true, in testSetupParentKeyAndFlag() 78 Mailbox box4 = EmailContentSetupUtils.setupMailbox("box4", mAccount.mId, true, in testSetupParentKeyAndFlag() 80 Mailbox box5 = EmailContentSetupUtils.setupMailbox("box5", mAccount.mId, true, in testSetupParentKeyAndFlag() 134 Mailbox box1 = EmailContentSetupUtils.setupMailbox( in testParentKeyAddFolder1() 136 Mailbox box2 = EmailContentSetupUtils.setupMailbox( in testParentKeyAddFolder1() 156 Mailbox box3 = EmailContentSetupUtils.setupMailbox( in testParentKeyAddFolder1() 185 Mailbox box1 = EmailContentSetupUtils.setupMailbox( in testParentKeyAddFolder2() 187 Mailbox box2 = EmailContentSetupUtils.setupMailbox( in testParentKeyAddFolder2() [all …]
|
D | EmailContentSetupUtils.java | 54 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, in setupMailbox() method in EmailContentSetupUtils 56 return setupMailbox(name, accountId, saveIt, context, Mailbox.TYPE_MAIL, null); in setupMailbox() 59 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, in setupMailbox() method in EmailContentSetupUtils 61 return setupMailbox(name, accountId, saveIt, context, type, null); in setupMailbox() 64 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, in setupMailbox() method in EmailContentSetupUtils
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
D | MailboxUtilitiesTests.java | 72 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true, in testSetupParentKeyAndFlag() 74 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", mAccount.mId, true, in testSetupParentKeyAndFlag() 76 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", mAccount.mId, true, in testSetupParentKeyAndFlag() 78 Mailbox box4 = EmailContentSetupUtils.setupMailbox("box4", mAccount.mId, true, in testSetupParentKeyAndFlag() 80 Mailbox box5 = EmailContentSetupUtils.setupMailbox("box5", mAccount.mId, true, in testSetupParentKeyAndFlag() 134 Mailbox box1 = EmailContentSetupUtils.setupMailbox( in testParentKeyAddFolder1() 136 Mailbox box2 = EmailContentSetupUtils.setupMailbox( in testParentKeyAddFolder1() 156 Mailbox box3 = EmailContentSetupUtils.setupMailbox( in testParentKeyAddFolder1() 185 Mailbox box1 = EmailContentSetupUtils.setupMailbox( in testParentKeyAddFolder2() 187 Mailbox box2 = EmailContentSetupUtils.setupMailbox( in testParentKeyAddFolder2() [all …]
|
D | EmailContentSetupUtils.java | 54 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, in setupMailbox() method in EmailContentSetupUtils 56 return setupMailbox(name, accountId, saveIt, context, Mailbox.TYPE_MAIL, null); in setupMailbox() 59 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, in setupMailbox() method in EmailContentSetupUtils 61 return setupMailbox(name, accountId, saveIt, context, type, null); in setupMailbox() 64 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, in setupMailbox() method in EmailContentSetupUtils
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
D | MailboxFragmentAdapterTest.java | 54 Mailbox b1i = ProviderTestUtils.setupMailbox("box1i", a1.mId, true, c, Mailbox.TYPE_INBOX); in testBuildCombinedMailboxes() 55 Mailbox b2i = ProviderTestUtils.setupMailbox("box2i", a2.mId, true, c, Mailbox.TYPE_INBOX); in testBuildCombinedMailboxes() 56 Mailbox b3i = ProviderTestUtils.setupMailbox("box3i", a3.mId, true, c, Mailbox.TYPE_INBOX); in testBuildCombinedMailboxes() 57 Mailbox b1o = ProviderTestUtils.setupMailbox("box1i", a1.mId, true, c, Mailbox.TYPE_OUTBOX); in testBuildCombinedMailboxes() 58 Mailbox b2o = ProviderTestUtils.setupMailbox("box2i", a2.mId, true, c, Mailbox.TYPE_OUTBOX); in testBuildCombinedMailboxes() 59 Mailbox b1d = ProviderTestUtils.setupMailbox("box1d", a1.mId, true, c, Mailbox.TYPE_DRAFTS); in testBuildCombinedMailboxes() 60 Mailbox b2d = ProviderTestUtils.setupMailbox("box2d", a2.mId, true, c, Mailbox.TYPE_DRAFTS); in testBuildCombinedMailboxes() 61 Mailbox b1t = ProviderTestUtils.setupMailbox("box1t", a1.mId, true, c, Mailbox.TYPE_TRASH); in testBuildCombinedMailboxes() 62 Mailbox b2t = ProviderTestUtils.setupMailbox("box2t", a2.mId, true, c, Mailbox.TYPE_TRASH); in testBuildCombinedMailboxes()
|
D | RecentMailboxManagerTest.java | 63 ProviderTestUtils.setupMailbox("inbox", 1L, true, mMockContext, Mailbox.TYPE_INBOX), in setUp() 64 ProviderTestUtils.setupMailbox("drafts", 1L, true, mMockContext, Mailbox.TYPE_DRAFTS), in setUp() 65 ProviderTestUtils.setupMailbox("outbox", 1L, true, mMockContext, Mailbox.TYPE_OUTBOX), in setUp() 66 ProviderTestUtils.setupMailbox("sent", 1L, true, mMockContext, Mailbox.TYPE_SENT), in setUp() 67 ProviderTestUtils.setupMailbox("trash", 1L, true, mMockContext, Mailbox.TYPE_TRASH), in setUp() 68 ProviderTestUtils.setupMailbox("junk", 1L, true, mMockContext, Mailbox.TYPE_JUNK), in setUp() 69 ProviderTestUtils.setupMailbox("abbott", 1L, true, mMockContext, Mailbox.TYPE_MAIL), in setUp() 70 ProviderTestUtils.setupMailbox("costello", 1L, true, mMockContext, Mailbox.TYPE_MAIL), in setUp() 71 ProviderTestUtils.setupMailbox("bud_lou", 1L, true, mMockContext, Mailbox.TYPE_MAIL), in setUp() 72 ProviderTestUtils.setupMailbox("laurel", 1L, true, mMockContext, Mailbox.TYPE_MAIL), in setUp() [all …]
|
D | AccountSelectorAdapterTest.java | 89 final Mailbox m1 = ProviderTestUtils.setupMailbox("Inbox", a1.mId, true, context, in testCursorWithExtras_setAccountMailboxInfo() 91 final Mailbox m2 = ProviderTestUtils.setupMailbox("box2", a2.mId, true, context, in testCursorWithExtras_setAccountMailboxInfo()
|
D | FindParentMailboxTaskTest.java | 82 Mailbox m = ProviderTestUtils.setupMailbox(name, account.mId, false, mProviderContext, in createMailboxAndGetId()
|
D | MessagesAdapterTests.java | 54 Mailbox box = ProviderTestUtils.setupMailbox("name", accountId, false, mProviderContext); in createMailbox()
|
/packages/apps/Email/tests/src/com/android/email/ |
D | ControllerProviderOpsTests.java | 152 Mailbox box = ProviderTestUtils.setupMailbox("box", accountId, false, mProviderContext); in testFindOrCreateMailboxOfType() 183 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, mProviderContext); in testMoveMessage() 185 Mailbox box2 = ProviderTestUtils.setupMailbox("box2", account1Id, true, mProviderContext); in testMoveMessage() 187 Mailbox boxDest = ProviderTestUtils.setupMailbox("d", account1Id, true, mProviderContext); in testMoveMessage() 215 Mailbox box = ProviderTestUtils.setupMailbox("box1", account1Id, true, mProviderContext); in testDeleteMessage() 218 Mailbox trashBox = ProviderTestUtils.setupMailbox("box2", account1Id, false, in testDeleteMessage() 224 Mailbox draftBox = ProviderTestUtils.setupMailbox("box3", account1Id, false, in testDeleteMessage() 276 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, mProviderContext); in testDeleteMessageNoTrash() 394 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, false, mProviderContext); in testWipeSyncedData() 399 Mailbox box2 = ProviderTestUtils.setupMailbox("box2", account1Id, true, mProviderContext); in testWipeSyncedData() [all …]
|
D | NotificationControllerTest.java | 213 Mailbox b1 = ProviderTestUtils.setupMailbox("inbox", a1.mId, true, c, Mailbox.TYPE_INBOX); in testCreateNewMessageNotification() 244 Mailbox b1 = ProviderTestUtils.setupMailbox("inbox", a1.mId, true, c, Mailbox.TYPE_INBOX); in testCreateNewMessageNotificationWithEmptyFrom()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | AttachmentProviderTests.java | 186 Mailbox b1 = ProviderTestUtils.setupMailbox( in testInboxQuery() 188 Mailbox b2 = ProviderTestUtils.setupMailbox( in testInboxQuery() 190 Mailbox b3 = ProviderTestUtils.setupMailbox( in testInboxQuery() 192 Mailbox b4 = ProviderTestUtils.setupMailbox( in testInboxQuery() 194 Mailbox bt = ProviderTestUtils.setupMailbox( in testInboxQuery() 575 Mailbox mailbox1 = ProviderTestUtils.setupMailbox("mbox1", account1Id, true, mMockContext); in testDeleteMailbox() 577 Mailbox mailbox2 = ProviderTestUtils.setupMailbox("mbox2", account1Id, true, mMockContext); in testDeleteMailbox() 608 Mailbox mailbox1 = ProviderTestUtils.setupMailbox("mbox1", account1Id, true, mMockContext); in testDeleteAccount() 610 Mailbox mailbox2 = ProviderTestUtils.setupMailbox("mbox2", account1Id, true, mMockContext); in testDeleteAccount() 618 Mailbox mailbox3 = ProviderTestUtils.setupMailbox("mbox3", account2Id, true, mMockContext); in testDeleteAccount() [all …]
|
D | ProviderTestUtils.java | 116 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, in setupMailbox() method in ProviderTestUtils 118 return setupMailbox(name, accountId, saveIt, context, Mailbox.TYPE_MAIL); in setupMailbox() 120 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, in setupMailbox() method in ProviderTestUtils 122 return setupMailbox(name, accountId, saveIt, context, type, '/'); in setupMailbox() 124 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt, in setupMailbox() method in ProviderTestUtils
|
D | ContentCacheTests.java | 138 ProviderTestUtils.setupMailbox("box1", acct.mId, true, context); in testCachedCursors() 139 Mailbox box = ProviderTestUtils.setupMailbox("box2", acct.mId, true, context); in testCachedCursors()
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
D | UtilityUnitTests.java | 294 Mailbox mailbox = ProviderTestUtils.setupMailbox("box", account.mId, true, providerContext); in testGetContentFileName() 325 Mailbox mailbox1_1 = ProviderTestUtils.setupMailbox("mbox1_1", account1.mId, true, in testUpdateLastSeenMessageKey() 327 Mailbox mailbox1_2 = ProviderTestUtils.setupMailbox("mbox1_2", account1.mId, true, in testUpdateLastSeenMessageKey() 329 Mailbox mailbox1_3 = ProviderTestUtils.setupMailbox("mbox1_3", account1.mId, true, in testUpdateLastSeenMessageKey() 331 Mailbox mailbox1_4 = ProviderTestUtils.setupMailbox("mbox1_4", account1.mId, true, in testUpdateLastSeenMessageKey() 333 Mailbox mailbox1_5 = ProviderTestUtils.setupMailbox("mbox1_5", account1.mId, true, in testUpdateLastSeenMessageKey() 335 Mailbox mailbox2_1 = ProviderTestUtils.setupMailbox("mbox2_1", account2.mId, true, in testUpdateLastSeenMessageKey() 337 Mailbox mailbox3_1 = ProviderTestUtils.setupMailbox("mbox3_1", account3.mId, true, in testUpdateLastSeenMessageKey() 339 Mailbox mailbox3_2 = ProviderTestUtils.setupMailbox("mbox3_2", account3.mId, true, in testUpdateLastSeenMessageKey() 341 Mailbox mailbox4_1 = ProviderTestUtils.setupMailbox("mbox4_1", account4.mId, true, in testUpdateLastSeenMessageKey()
|
D | UtilityMediumTests.java | 101 ProviderTestUtils.setupMailbox("mailbox", account.mId, true, mMockContext); in testAttachmentExists()
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/ |
D | FolderSyncParserTests.java | 63 Mailbox boxMailType = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, false, in testIsValidMailFolder() 69 Mailbox boxCalendarType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, false, in testIsValidMailFolder() 71 Mailbox boxContactsType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, false, in testIsValidMailFolder() 73 Mailbox boxTasksType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, false, in testIsValidMailFolder() 81 Mailbox boxUnknownType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, false, in testIsValidMailFolder() 100 Mailbox boxParentUnknownType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, in testIsValidMailFolder() 119 Mailbox box = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, false, in setupBoxSync()
|
D | EmailSyncAdapterTests.java | 107 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true, in testSendDeletedItems() 179 mMailbox = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true, in setupAccountMailboxAndMessages()
|
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
D | FolderSyncParserTests.java | 63 Mailbox boxMailType = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, false, in testIsValidMailFolder() 69 Mailbox boxCalendarType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, false, in testIsValidMailFolder() 71 Mailbox boxContactsType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, false, in testIsValidMailFolder() 73 Mailbox boxTasksType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, false, in testIsValidMailFolder() 81 Mailbox boxUnknownType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, false, in testIsValidMailFolder() 100 Mailbox boxParentUnknownType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, in testIsValidMailFolder() 119 Mailbox box = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, false, in setupBoxSync()
|
D | EmailSyncAdapterTests.java | 107 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true, in testSendDeletedItems() 179 mMailbox = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true, in setupAccountMailboxAndMessages()
|
/packages/apps/Email/tests/src/com/android/email/service/ |
D | AttachmentDownloadServiceTests.java | 66 mMailbox = ProviderTestUtils.setupMailbox("mailbox", mAccountId, true, mMockContext); in setUp()
|