Home
last modified time | relevance | path

Searched refs:box3 (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java76 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", mAccount.mId, true, in testSetupParentKeyAndFlag() local
79 mProviderContext, Mailbox.TYPE_NOT_SYNCABLE + 64, box3); in testSetupParentKeyAndFlag()
81 mProviderContext, Mailbox.TYPE_MAIL, box3); in testSetupParentKeyAndFlag()
94 box3 = Mailbox.restoreMailboxWithId(mProviderContext, box3.mId); in testSetupParentKeyAndFlag()
106 assertEquals(Mailbox.FLAG_HAS_CHILDREN | Mailbox.FLAG_CHILDREN_VISIBLE, box3.mFlags); in testSetupParentKeyAndFlag()
107 assertEquals(box1.mId, box3.mParentKey); in testSetupParentKeyAndFlag()
110 assertEquals(box3.mId, box4.mParentKey); in testSetupParentKeyAndFlag()
113 assertEquals(box3.mId, box5.mParentKey); in testSetupParentKeyAndFlag()
156 Mailbox box3 = EmailContentSetupUtils.setupMailbox( in testParentKeyAddFolder1() local
158 box3.mParentKey = Mailbox.PARENT_KEY_UNINITIALIZED; in testParentKeyAddFolder1()
[all …]
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java76 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", mAccount.mId, true, in testSetupParentKeyAndFlag() local
79 mProviderContext, Mailbox.TYPE_NOT_SYNCABLE + 64, box3); in testSetupParentKeyAndFlag()
81 mProviderContext, Mailbox.TYPE_MAIL, box3); in testSetupParentKeyAndFlag()
94 box3 = Mailbox.restoreMailboxWithId(mProviderContext, box3.mId); in testSetupParentKeyAndFlag()
106 assertEquals(Mailbox.FLAG_HAS_CHILDREN | Mailbox.FLAG_CHILDREN_VISIBLE, box3.mFlags); in testSetupParentKeyAndFlag()
107 assertEquals(box1.mId, box3.mParentKey); in testSetupParentKeyAndFlag()
110 assertEquals(box3.mId, box4.mParentKey); in testSetupParentKeyAndFlag()
113 assertEquals(box3.mId, box5.mParentKey); in testSetupParentKeyAndFlag()
156 Mailbox box3 = EmailContentSetupUtils.setupMailbox( in testParentKeyAddFolder1() local
158 box3.mParentKey = Mailbox.PARENT_KEY_UNINITIALIZED; in testParentKeyAddFolder1()
[all …]
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/
DExchangeServiceAccountTests.java56 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", acct2.mId, true, in testReleaseSyncHolds() local
65 errorMap.put(box3.mId, securityErrorAccount2); in testReleaseSyncHolds()
79 errorMap.put(box3.mId, securityErrorAccount2); in testReleaseSyncHolds()
110 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true, in testIsSyncable() local
118 assertFalse(ExchangeService.isSyncable(box3)); in testIsSyncable()
/packages/apps/Exchange/tests/src/com/android/exchange/
DExchangeServiceAccountTests.java56 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", acct2.mId, true, in testReleaseSyncHolds() local
65 errorMap.put(box3.mId, securityErrorAccount2); in testReleaseSyncHolds()
79 errorMap.put(box3.mId, securityErrorAccount2); in testReleaseSyncHolds()
110 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true, in testIsSyncable() local
118 assertFalse(ExchangeService.isSyncable(box3)); in testIsSyncable()
/packages/apps/Email/tests/src/com/android/email/
DControllerProviderOpsTests.java410 Mailbox box3 = ProviderTestUtils.setupMailbox("box3", account2Id, false, mProviderContext); in testWipeSyncedData() local
411 box3.mSyncKey = "box-3-sync-key"; in testWipeSyncedData()
412 box3.mType = Mailbox.TYPE_INBOX; in testWipeSyncedData()
413 box3.save(mProviderContext); in testWipeSyncedData()
414 long box3Id = box3.mId; in testWipeSyncedData()