Home
last modified time | relevance | path

Searched refs:mServerId (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
DFolderSyncParserTests.java65 boxMailType.mServerId = "__1:1"; in testIsValidMailFolder()
84 boxUnknownType.mParentServerId = boxMailType.mServerId; in testIsValidMailFolder()
88 mailboxMap.put(boxMailType.mServerId, boxMailType); in testIsValidMailFolder()
104 boxParentUnknownType.mServerId = "__1:2"; in testIsValidMailFolder()
105 boxParentUnknownType.mParentServerId = boxMailType.mServerId; in testIsValidMailFolder()
107 boxUnknownType.mParentServerId = boxParentUnknownType.mServerId; in testIsValidMailFolder()
111 mailboxMap.put(boxParentUnknownType.mServerId, boxParentUnknownType); in testIsValidMailFolder()
124 box.mServerId = serverId; in setupBoxSync()
126 box.mServerId = "serverId-" + mCreationTime + '-' + mServerIdCount++; in setupBoxSync()
169 assertNotNull(parser.mSyncOptionsMap.get(boxa.mServerId)); in testSaveAndRestoreMailboxSyncOptions()
[all …]
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DFolderSyncParserTests.java65 boxMailType.mServerId = "__1:1"; in testIsValidMailFolder()
84 boxUnknownType.mParentServerId = boxMailType.mServerId; in testIsValidMailFolder()
88 mailboxMap.put(boxMailType.mServerId, boxMailType); in testIsValidMailFolder()
104 boxParentUnknownType.mServerId = "__1:2"; in testIsValidMailFolder()
105 boxParentUnknownType.mParentServerId = boxMailType.mServerId; in testIsValidMailFolder()
107 boxUnknownType.mParentServerId = boxParentUnknownType.mServerId; in testIsValidMailFolder()
111 mailboxMap.put(boxParentUnknownType.mServerId, boxParentUnknownType); in testIsValidMailFolder()
124 box.mServerId = serverId; in setupBoxSync()
126 box.mServerId = "serverId-" + mCreationTime + '-' + mServerIdCount++; in setupBoxSync()
169 assertNotNull(parser.mSyncOptionsMap.get(boxa.mServerId)); in testSaveAndRestoreMailboxSyncOptions()
[all …]
/packages/apps/Email/src/com/android/email/
DMessagingController.java410 final String mServerId; field in MessagingController.LocalMessageInfo
418 mServerId = c.getString(COLUMN_SERVER_ID); in LocalMessageInfo()
630 Folder remoteFolder = remoteStore.getFolder(mailbox.mServerId); in searchMailboxImpl()
696 localMessage.mProtocolSearchInfo = mailbox.mServerId; in searchMailboxImpl()
765 localMessageMap.put(info.mServerId, info); in synchronizeMailboxGeneric()
778 Folder remoteFolder = remoteStore.getFolder(mailbox.mServerId); in synchronizeMailboxGeneric()
1471 if (newMessage.mServerId == null || newMessage.mServerId.equals("") in processPendingDataChange()
1472 || newMessage.mServerId.startsWith(LOCAL_SERVERID_PREFIX) || (mailbox == null)) { in processPendingDataChange()
1482 Folder remoteFolder = remoteStore.getFolder(mailbox.mServerId); in processPendingDataChange()
1492 Message remoteMessage = remoteFolder.getMessage(newMessage.mServerId); in processPendingDataChange()
[all …]
DLegacyConversions.java116 localMessage.mServerId = message.getUid(); in updateMessageFields()
339 message.setUid(localMessage.mServerId); in makeMessage()
DController.java259 m.mServerId = ATTACHMENT_MAILBOX_SERVER_ID; in getAttachmentMailbox()
278 m.mServerId = SEARCH_MAILBOX_SERVER_ID; in getSearchMailbox()
/packages/apps/Email/tests/src/com/android/email/mail/
DStoreTests.java102 assertEquals("inbox", testMailbox.mServerId); in testUpdateMailbox()
108 assertEquals("inbox/a", testMailbox.mServerId); in testUpdateMailbox()
114 assertEquals("inbox/a/b/c/d", testMailbox.mServerId); in testUpdateMailbox()
120 assertEquals("inbox/a/b/c", testMailbox.mServerId); in testUpdateMailbox()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
DEmailContentSetupUtils.java74 box.mServerId = "serverid-" + name; in setupMailbox()
75 box.mParentServerId = parentBox != null ? parentBox.mServerId : "parent-serverid-" + name; in setupMailbox()
105 message.mServerId = "serverid " + name; in setupMessage()
DMailboxUtilitiesTests.java120 String serverId = mailbox.mServerId; in simulateFolderSyncChangeHandling()
461 values.put(Mailbox.PARENT_SERVER_ID, box2.mServerId); in testChangeFromNoParentToParent()
543 box1.mServerId = null; in testNoServerId()
604 values.put(Mailbox.PARENT_SERVER_ID, box2.mServerId); in testChangeParent()
643 box1.mServerId = "1:1"; in testChangeParentTwoAccounts()
647 box2.mServerId = "1:2"; in testChangeParentTwoAccounts()
651 box3.mServerId = "1:3"; in testChangeParentTwoAccounts()
659 box4.mServerId = "1:1"; in testChangeParentTwoAccounts()
663 box5.mServerId = "1:2"; in testChangeParentTwoAccounts()
667 box6.mServerId = "1:3"; in testChangeParentTwoAccounts()
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DEmailContentSetupUtils.java74 box.mServerId = "serverid-" + name; in setupMailbox()
75 box.mParentServerId = parentBox != null ? parentBox.mServerId : "parent-serverid-" + name; in setupMailbox()
105 message.mServerId = "serverid " + name; in setupMessage()
DMailboxUtilitiesTests.java120 String serverId = mailbox.mServerId; in simulateFolderSyncChangeHandling()
461 values.put(Mailbox.PARENT_SERVER_ID, box2.mServerId); in testChangeFromNoParentToParent()
543 box1.mServerId = null; in testNoServerId()
604 values.put(Mailbox.PARENT_SERVER_ID, box2.mServerId); in testChangeParent()
643 box1.mServerId = "1:1"; in testChangeParentTwoAccounts()
647 box2.mServerId = "1:2"; in testChangeParentTwoAccounts()
651 box3.mServerId = "1:3"; in testChangeParentTwoAccounts()
659 box4.mServerId = "1:1"; in testChangeParentTwoAccounts()
663 box5.mServerId = "1:2"; in testChangeParentTwoAccounts()
667 box6.mServerId = "1:3"; in testChangeParentTwoAccounts()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java44 public String mServerId; field in Mailbox
260 box.mServerId = box.mDisplayName = name; in newSystemMailbox()
315 mServerId = cursor.getString(CONTENT_SERVER_ID_COLUMN); in restore()
342 values.put(MailboxColumns.SERVER_ID, mServerId); in toContentValues()
553 = mServerId; in getHashes()
607 dest.writeString(mServerId); in writeToParcel()
634 mServerId = in.readString(); in Mailbox()
DEmailContent.java702 public String mServerId; field in EmailContent.Message
814 values.put(SyncColumns.SERVER_ID, mServerId); in toContentValues()
855 mServerId = cursor.getString(CONTENT_SERVER_ID_COLUMN); in restore()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java134 box.mServerId = name; in setupMailbox()
179 message.mServerId = "serverid " + name; in setupMessage()
365 assertEquals(caller + " mServerId", expect.mServerId, actual.mServerId); in assertMailboxEqual()
401 assertEquals(caller + " mServerId", expect.mServerId, actual.mServerId); in assertMessageEqual()
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DEmailSyncAdapter.java435 s.data(Tags.GIE_COLLECTION_ID, mMailbox.mServerId); in getEstimate()
442 s.data(Tags.GIE_COLLECTION_ID, mMailbox.mServerId); in getEstimate()
447 s.data(Tags.GIE_COLLECTION_ID, mMailbox.mServerId); in getEstimate()
561 userLog("Partially loaded: ", msg.mServerId);
731 msg.mServerId = getValue();
745 throw new CommandStatusException(status, msg.mServerId);
1120 Cursor c = getServerIdCursor(msg.mServerId, EmailContent.ID_PROJECTION);
DFolderSyncParser.java348 mailbox.mServerId = serverId; in addParser()
578 mailboxMap.put(mailbox.mServerId, mailbox); in changesParser()
DSearch.java93 s.data(Tags.SYNC_COLLECTION_ID, inbox.mServerId); in searchMessages()
/packages/apps/Email/src/com/android/email/mail/
DStore.java199 mailbox.mServerId = mailboxPath; in updateMailbox()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DEasSyncService.java1064 s.data(Tags.MOVE_SRCMSGID, msg.mServerId); in messageMoveRequest()
1065 s.data(Tags.MOVE_SRCFLDID, srcMailbox.mServerId); in messageMoveRequest()
1066 s.data(Tags.MOVE_DSTFLDID, dstMailbox.mServerId); in messageMoveRequest()
1080 cv.put(MessageColumns.MAILBOX_KEY, srcMailbox.mServerId); in messageMoveRequest()
1129 s.data(Tags.MREQ_COLLECTION_ID, mailbox.mServerId); in sendMeetingResponse()
1130 s.data(Tags.MREQ_REQ_ID, msg.mServerId); in sendMeetingResponse()
1663 .data(Tags.SYNC_COLLECTION_ID, mailbox.mServerId); in sync()
DAbstractSyncService.java113 mMailboxName = _mailbox.mServerId; in AbstractSyncService()
DExchangeService.java862 main.mServerId = Eas.ACCOUNT_MAILBOX_PREFIX + System.nanoTime(); in addAccountMailbox()
1656 if (mailbox.mServerId != null && mailbox.mType != Mailbox.TYPE_EAS_ACCOUNT_MAILBOX) { in startServiceThread()
1672 String serverId = m.mServerId; in stopPing()
/packages/apps/Email/tests/src/com/android/email/activity/
DMailboxFinderTest.java110 box.mServerId = box.mDisplayName = "mailbox"; in createMailbox()
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTests.java502 assertEquals(tag, expect.getUid(), actual.mServerId); in checkProviderMessage()
518 assertEquals(tag, expect.mServerId, actual.getUid()); in checkLegacyMessage()
DControllerProviderOpsTests.java471 assertTrue(loadedMsg.mServerId.startsWith(Controller.ATTACHMENT_MESSAGE_UID_PREFIX)); in testLoadMessageFromUri()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java508 testMailbox.mServerId = serverId; in buildTestMailbox()
548 testMailbox.mServerId = null; in testGetHashes()
/packages/apps/Email/src/com/android/email/mail/store/
DImapStore.java327 int delimiterIdx = mailbox.mServerId.lastIndexOf(mailbox.mDelimiter); in createHierarchy()

12