Home
last modified time | relevance | path

Searched refs:restoreMailboxWithId (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java92 box1 = Mailbox.restoreMailboxWithId(mProviderContext, box1.mId); in testSetupParentKeyAndFlag()
93 box2 = Mailbox.restoreMailboxWithId(mProviderContext, box2.mId); in testSetupParentKeyAndFlag()
94 box3 = Mailbox.restoreMailboxWithId(mProviderContext, box3.mId); in testSetupParentKeyAndFlag()
95 box4 = Mailbox.restoreMailboxWithId(mProviderContext, box4.mId); in testSetupParentKeyAndFlag()
96 box5 = Mailbox.restoreMailboxWithId(mProviderContext, box5.mId); in testSetupParentKeyAndFlag()
144 box1 = Mailbox.restoreMailboxWithId(mProviderContext, box1.mId); in testParentKeyAddFolder1()
145 box2 = Mailbox.restoreMailboxWithId(mProviderContext, box2.mId); in testParentKeyAddFolder1()
162 box1 = Mailbox.restoreMailboxWithId(mProviderContext, box1.mId); in testParentKeyAddFolder1()
163 box2 = Mailbox.restoreMailboxWithId(mProviderContext, box2.mId); in testParentKeyAddFolder1()
164 box3 = Mailbox.restoreMailboxWithId(mProviderContext, box3.mId); in testParentKeyAddFolder1()
[all …]
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java92 box1 = Mailbox.restoreMailboxWithId(mProviderContext, box1.mId); in testSetupParentKeyAndFlag()
93 box2 = Mailbox.restoreMailboxWithId(mProviderContext, box2.mId); in testSetupParentKeyAndFlag()
94 box3 = Mailbox.restoreMailboxWithId(mProviderContext, box3.mId); in testSetupParentKeyAndFlag()
95 box4 = Mailbox.restoreMailboxWithId(mProviderContext, box4.mId); in testSetupParentKeyAndFlag()
96 box5 = Mailbox.restoreMailboxWithId(mProviderContext, box5.mId); in testSetupParentKeyAndFlag()
144 box1 = Mailbox.restoreMailboxWithId(mProviderContext, box1.mId); in testParentKeyAddFolder1()
145 box2 = Mailbox.restoreMailboxWithId(mProviderContext, box2.mId); in testParentKeyAddFolder1()
162 box1 = Mailbox.restoreMailboxWithId(mProviderContext, box1.mId); in testParentKeyAddFolder1()
163 box2 = Mailbox.restoreMailboxWithId(mProviderContext, box2.mId); in testParentKeyAddFolder1()
164 box3 = Mailbox.restoreMailboxWithId(mProviderContext, box3.mId); in testParentKeyAddFolder1()
[all …]
/packages/apps/Email/tests/src/com/android/email/
DControllerProviderOpsTests.java126 testMailbox = Mailbox.restoreMailboxWithId(mProviderContext, testMailboxId); in testCreateMailbox()
135 testMailbox = Mailbox.restoreMailboxWithId(mProviderContext, testMailboxId); in testCreateMailbox()
293 Mailbox mailbox2get = Mailbox.restoreMailboxWithId(mProviderContext, in testDeleteMessageNoTrash()
436 assertNull(Mailbox.restoreMailboxWithId(mProviderContext, box1Id)); in testWipeSyncedData()
437 assertNull(Mailbox.restoreMailboxWithId(mProviderContext, box2Id)); in testWipeSyncedData()
438 assertNotNull(Mailbox.restoreMailboxWithId(mProviderContext, eas.mId)); in testWipeSyncedData()
446 assertNotNull(Mailbox.restoreMailboxWithId(mProviderContext, box3Id)); in testWipeSyncedData()
447 assertNotNull(Mailbox.restoreMailboxWithId(mProviderContext, box4Id)); in testWipeSyncedData()
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DFolderSyncParserTests.java198 box1x = Mailbox.restoreMailboxWithId(mProviderContext, box1x.mId); in testSaveAndRestoreMailboxSyncOptions()
199 box2x = Mailbox.restoreMailboxWithId(mProviderContext, box2x.mId); in testSaveAndRestoreMailboxSyncOptions()
200 boxax = Mailbox.restoreMailboxWithId(mProviderContext, boxax.mId); in testSaveAndRestoreMailboxSyncOptions()
201 boxbx = Mailbox.restoreMailboxWithId(mProviderContext, boxbx.mId); in testSaveAndRestoreMailboxSyncOptions()
202 boxcx = Mailbox.restoreMailboxWithId(mProviderContext, boxcx.mId); in testSaveAndRestoreMailboxSyncOptions()
203 boxdx = Mailbox.restoreMailboxWithId(mProviderContext, boxdx.mId); in testSaveAndRestoreMailboxSyncOptions()
204 boxex = Mailbox.restoreMailboxWithId(mProviderContext, boxex.mId); in testSaveAndRestoreMailboxSyncOptions()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
DFolderSyncParserTests.java198 box1x = Mailbox.restoreMailboxWithId(mProviderContext, box1x.mId); in testSaveAndRestoreMailboxSyncOptions()
199 box2x = Mailbox.restoreMailboxWithId(mProviderContext, box2x.mId); in testSaveAndRestoreMailboxSyncOptions()
200 boxax = Mailbox.restoreMailboxWithId(mProviderContext, boxax.mId); in testSaveAndRestoreMailboxSyncOptions()
201 boxbx = Mailbox.restoreMailboxWithId(mProviderContext, boxbx.mId); in testSaveAndRestoreMailboxSyncOptions()
202 boxcx = Mailbox.restoreMailboxWithId(mProviderContext, boxcx.mId); in testSaveAndRestoreMailboxSyncOptions()
203 boxdx = Mailbox.restoreMailboxWithId(mProviderContext, boxdx.mId); in testSaveAndRestoreMailboxSyncOptions()
204 boxex = Mailbox.restoreMailboxWithId(mProviderContext, boxex.mId); in testSaveAndRestoreMailboxSyncOptions()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java102 Mailbox box2 = Mailbox.restoreMailboxWithId(c, box1Id); in testSave()
223 "x", testMailbox, Mailbox.restoreMailboxWithId(c, testMailbox.mId)); in testRestoreMailboxWithId()
226 "x", testMailbox, Mailbox.restoreMailboxWithId(c, testMailbox.mId)); in testRestoreMailboxWithId()
228 assertNull(Mailbox.restoreMailboxWithId(c, 8)); in testRestoreMailboxWithId()
229 assertNull(Mailbox.restoreMailboxWithId(c, -1)); in testRestoreMailboxWithId()
230 assertNull(Mailbox.restoreMailboxWithId(c, Long.MAX_VALUE)); in testRestoreMailboxWithId()
487 int start = Mailbox.restoreMailboxWithId(c, b1.mId).mSyncInterval; in testUpdateCacheMailboxIdAddToField()
497 assertEquals(start + 1, Mailbox.restoreMailboxWithId(c, b1.mId).mSyncInterval); in testUpdateCacheMailboxIdAddToField()
/packages/apps/Email/tests/src/com/android/email/activity/
DRecentMailboxManagerTest.java95 Mailbox untouchedMailbox = Mailbox.restoreMailboxWithId(mMockContext, mailbox.mId); in testTouch()
104 Mailbox touchedMailbox = Mailbox.restoreMailboxWithId(mMockContext, mailbox.mId); in testTouch()
113 Mailbox touchedMailbox = Mailbox.restoreMailboxWithId(mMockContext, mailbox.mId); in testTouch()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DExchangeService.java367 Mailbox m = Mailbox.restoreMailboxWithId(exchangeService, mailboxId);
447 Mailbox m = Mailbox.restoreMailboxWithId(exchangeService, mailboxId);
1133 Mailbox m = Mailbox.restoreMailboxWithId(this, mailboxId); in logSyncHolds()
1179 Mailbox m = Mailbox.restoreMailboxWithId(context, mailboxId); in releaseSyncHoldsImpl()
1309 Mailbox box = Mailbox.restoreMailboxWithId(this, mid); in stopAccountSyncs()
1458 Mailbox m = Mailbox.restoreMailboxWithId(INSTANCE, id); in alarmOwner()
1556 Mailbox m = Mailbox.restoreMailboxWithId(exchangeService, id); in alert()
1670 Mailbox m = Mailbox.restoreMailboxWithId(this, mailboxId); in stopPing()
2244 Mailbox m = Mailbox.restoreMailboxWithId(this, mailboxId); in checkMailboxes()
2401 Mailbox m = Mailbox.restoreMailboxWithId(exchangeService, mailboxId);
[all …]
DEasSyncService.java1055 srcMailbox = Mailbox.restoreMailboxWithId(mContext, c.getLong(0)); in messageMoveRequest()
1060 Mailbox dstMailbox = Mailbox.restoreMailboxWithId(mContext, req.mMailboxId); in messageMoveRequest()
1124 Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, msg.mMailboxKey); in sendMeetingResponse()
1797 mMailbox = Mailbox.restoreMailboxWithId(mContext, mMailbox.mId); in setupService()
DEasAccountService.java473 Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mailboxId); in pushFallback()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java240 public static Mailbox restoreMailboxWithId(Context context, long id) { in restoreMailboxWithId() method in Mailbox
407 return Mailbox.restoreMailboxWithId(context, mailboxId); in restoreMailboxOfType()
445 return Mailbox.restoreMailboxWithId(context, mailboxId); in getMailboxForMessageId()
/packages/apps/Email/src/com/android/email/
DMessagingController.java618 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, searchParams.mMailboxId); in searchMailboxImpl()
619 final Mailbox destMailbox = Mailbox.restoreMailboxWithId(mContext, destMailboxId); in searchMailboxImpl()
1138 return Mailbox.restoreMailboxWithId(mContext, message.mMailboxKey); in getRemoteMailboxForMessage()
1253 mailbox = Mailbox.restoreMailboxWithId(mContext, mailboxId); in processPendingUploadsSynchronous()
1282 mailbox = Mailbox.restoreMailboxWithId(mContext, mailboxId); in processPendingUploadsSynchronous()
1346 mailbox = Mailbox.restoreMailboxWithId(mContext, newMessage.mMailboxKey); in processPendingUpdatesSynchronous()
1866 Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, message.mMailboxKey); in loadMessageForView()
1933 Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mailboxId); in loadAttachment()
2147 Mailbox.restoreMailboxWithId(mContext, inboxId); in checkMail()
DController.java420 Mailbox.restoreMailboxWithId(mProviderContext, mailboxId); in updateMailbox()
686 Mailbox mailbox = Mailbox.restoreMailboxWithId(mProviderContext, mailboxId); in loadMoreMessages()
1012 Mailbox actualMailbox = Mailbox.restoreMailboxWithId(mContext, searchParams.mMailboxId);
1675 Mailbox mbx = Mailbox.restoreMailboxWithId(mProviderContext, mailboxId);
/packages/apps/Email/src/com/android/email/activity/
DMessagesAdapter.java324 mailbox = Mailbox.restoreMailboxWithId(mContext, mMailboxId); in loadExtras()
403 mSearchedMailbox = Mailbox.restoreMailboxWithId( in loadInBackground()
DMoveMessageToDialog.java299 if (!Mailbox.restoreMailboxWithId(c, mailboxId).canHaveMessagesMoved()) { in loadInBackground()
DMailboxFragmentAdapter.java575 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mailboxId); in loadInBackground()
DMailboxListFragment.java649 Mailbox parentMailbox = Mailbox.restoreMailboxWithId(mContext, mParentMailboxId); in doInBackground()
DMessageViewFragmentBase.java1067 mMailbox = Mailbox.restoreMailboxWithId(mContext, message.mMailboxKey); in doInBackground()
/packages/apps/Email/src/com/android/email/widget/
DEmailWidgetLoader.java145 Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mMailboxId); in loadInBackground()
DEmailWidget.java241 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId); in getOpenMessageIntent()
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DSearch.java72 Mailbox searchMailbox = Mailbox.restoreMailboxWithId(context, destMailboxId); in searchMessages()
DFolderSyncParser.java444 parent = Mailbox.restoreMailboxWithId(mContext, parentId); in isValidMailFolder()
/packages/apps/Email/src/com/android/email/activity/setup/
DMailboxSettings.java165 mMailbox = Mailbox.restoreMailboxWithId(c, mMailboxId); in doInBackground()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java918 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId);