Home
last modified time | relevance | path

Searched refs:box1 (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java72 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true, in testSetupParentKeyAndFlag() local
75 mProviderContext, Mailbox.TYPE_OUTBOX, box1); in testSetupParentKeyAndFlag()
77 mProviderContext, Mailbox.TYPE_ATTACHMENT, box1); in testSetupParentKeyAndFlag()
92 box1 = Mailbox.restoreMailboxWithId(mProviderContext, box1.mId); in testSetupParentKeyAndFlag()
100 Mailbox.FLAG_CHILDREN_VISIBLE, box1.mFlags); in testSetupParentKeyAndFlag()
101 assertEquals(-1, box1.mParentKey); in testSetupParentKeyAndFlag()
104 assertEquals(box1.mId, box2.mParentKey); in testSetupParentKeyAndFlag()
107 assertEquals(box1.mId, box3.mParentKey); in testSetupParentKeyAndFlag()
134 Mailbox box1 = EmailContentSetupUtils.setupMailbox( in testParentKeyAddFolder1() local
137 "box2", mAccount.mId, true, mProviderContext, Mailbox.TYPE_MAIL, box1); in testParentKeyAddFolder1()
[all …]
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java72 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true, in testSetupParentKeyAndFlag() local
75 mProviderContext, Mailbox.TYPE_OUTBOX, box1); in testSetupParentKeyAndFlag()
77 mProviderContext, Mailbox.TYPE_ATTACHMENT, box1); in testSetupParentKeyAndFlag()
92 box1 = Mailbox.restoreMailboxWithId(mProviderContext, box1.mId); in testSetupParentKeyAndFlag()
100 Mailbox.FLAG_CHILDREN_VISIBLE, box1.mFlags); in testSetupParentKeyAndFlag()
101 assertEquals(-1, box1.mParentKey); in testSetupParentKeyAndFlag()
104 assertEquals(box1.mId, box2.mParentKey); in testSetupParentKeyAndFlag()
107 assertEquals(box1.mId, box3.mParentKey); in testSetupParentKeyAndFlag()
134 Mailbox box1 = EmailContentSetupUtils.setupMailbox( in testParentKeyAddFolder1() local
137 "box2", mAccount.mId, true, mProviderContext, Mailbox.TYPE_MAIL, box1); in testParentKeyAddFolder1()
[all …]
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/
DExchangeServiceAccountTests.java51 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", acct1.mId, true, in testReleaseSyncHolds() local
63 errorMap.put(box1.mId, securityErrorAccount1); in testReleaseSyncHolds()
76 assertNotNull(errorMap.get(box1.mId)); in testReleaseSyncHolds()
106 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", acct1.mId, true, in testIsSyncable() local
116 assertFalse(ExchangeService.isSyncable(box1)); in testIsSyncable()
/packages/apps/Exchange/tests/src/com/android/exchange/
DExchangeServiceAccountTests.java51 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", acct1.mId, true, in testReleaseSyncHolds() local
63 errorMap.put(box1.mId, securityErrorAccount1); in testReleaseSyncHolds()
76 assertNotNull(errorMap.get(box1.mId)); in testReleaseSyncHolds()
106 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", acct1.mId, true, in testIsSyncable() local
116 assertFalse(ExchangeService.isSyncable(box1)); in testIsSyncable()
/packages/apps/Email/tests/src/com/android/email/
DControllerProviderOpsTests.java183 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, mProviderContext); in testMoveMessage() local
184 long box1Id = box1.mId; in testMoveMessage()
276 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, mProviderContext); in testDeleteMessageNoTrash() local
277 long box1Id = box1.mId; in testDeleteMessageNoTrash()
394 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, false, mProviderContext); in testWipeSyncedData() local
395 box1.mType = Mailbox.TYPE_INBOX; in testWipeSyncedData()
396 box1.mSyncKey = "box-1-sync-key"; in testWipeSyncedData()
397 box1.save(mProviderContext); in testWipeSyncedData()
398 long box1Id = box1.mId; in testWipeSyncedData()
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DEmailSyncAdapterTests.java107 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true, in testSendDeletedItems() local
109 mSyncAdapter.mMailbox = box1; in testSendDeletedItems()
112 Message msg1 = EmailContentSetupUtils.setupMessage("message1", mAccount.mId, box1.mId, in testSendDeletedItems()
115 Message msg2 = EmailContentSetupUtils.setupMessage("message2", mAccount.mId, box1.mId, in testSendDeletedItems()
118 Message msg3 = EmailContentSetupUtils.setupMessage("message3", mAccount.mId, box1.mId, in testSendDeletedItems()
145 Message msg4 = EmailContentSetupUtils.setupMessage("message4", mAccount.mId, box1.mId, in testSendDeletedItems()
DFolderSyncParserTests.java151 Mailbox box1 = setupBoxSync(Account.CHECK_INTERVAL_NEVER, SyncWindow.SYNC_WINDOW_UNKNOWN, in testSaveAndRestoreMailboxSyncOptions() local
182 box1.mServerId); in testSaveAndRestoreMailboxSyncOptions()
206 assertTrue(syncOptionsSame(box1, box1x)); in testSaveAndRestoreMailboxSyncOptions()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
DEmailSyncAdapterTests.java107 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true, in testSendDeletedItems() local
109 mSyncAdapter.mMailbox = box1; in testSendDeletedItems()
112 Message msg1 = EmailContentSetupUtils.setupMessage("message1", mAccount.mId, box1.mId, in testSendDeletedItems()
115 Message msg2 = EmailContentSetupUtils.setupMessage("message2", mAccount.mId, box1.mId, in testSendDeletedItems()
118 Message msg3 = EmailContentSetupUtils.setupMessage("message3", mAccount.mId, box1.mId, in testSendDeletedItems()
145 Message msg4 = EmailContentSetupUtils.setupMessage("message4", mAccount.mId, box1.mId, in testSendDeletedItems()
DFolderSyncParserTests.java151 Mailbox box1 = setupBoxSync(Account.CHECK_INTERVAL_NEVER, SyncWindow.SYNC_WINDOW_UNKNOWN, in testSaveAndRestoreMailboxSyncOptions() local
182 box1.mServerId); in testSaveAndRestoreMailboxSyncOptions()
206 assertTrue(syncOptionsSame(box1, box1x)); in testSaveAndRestoreMailboxSyncOptions()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java99 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, c); in testSave() local
100 long box1Id = box1.mId; in testSave()
104 ProviderTestUtils.assertMailboxEqual("testMailboxSave", box1, box2); in testSave()
115 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, c); in testDelete() local
116 long box1Id = box1.mId; in testDelete()