Searched refs:mailbox (Results 1 – 25 of 27) sorted by relevance
12
282 final Mailbox mailbox, Folder remoteFolder, ArrayList<Message> unsyncedMessages, in downloadFlagAndEnvelope() argument325 message, account.mId, mailbox.mId); in downloadFlagAndEnvelope()363 final Account account, Store remoteStore, final Mailbox mailbox, final boolean loadMore, in synchronizeMailboxGeneric() argument367 LogUtils.d(Logging.LOG_TAG, "synchronizeMailboxGeneric " + account + " " + mailbox + " " in synchronizeMailboxGeneric()375 if (mailbox.mType == Mailbox.TYPE_DRAFTS || mailbox.mType == Mailbox.TYPE_OUTBOX) { in synchronizeMailboxGeneric()388 mailbox.mLastFullSyncTime; in synchronizeMailboxGeneric()408 new String[] {String.valueOf(account.mId), String.valueOf(mailbox.mId)}, in synchronizeMailboxGeneric()439 final Folder remoteFolder = remoteStore.getFolder(mailbox.mServerId); in synchronizeMailboxGeneric()446 if (mailbox.mType == Mailbox.TYPE_TRASH || mailbox.mType == Mailbox.TYPE_SENT) { in synchronizeMailboxGeneric()450 mailbox.mType); in synchronizeMailboxGeneric()[all …]
100 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mailboxId); in requestSync() local101 if (mailbox == null) return; in requestSync()102 final Account account = Account.restoreAccountWithId(mContext, mailbox.mAccountKey); in requestSync()158 Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, message.mMailboxKey); in loadAttachment() local159 if (mailbox == null) { in loadAttachment()163 if (mailbox.mType == Mailbox.TYPE_OUTBOX) { in loadAttachment()172 mailbox = Mailbox.restoreMailboxWithId(mContext, sourceMsg.mMailboxKey); in loadAttachment()176 } else if (mailbox.mType == Mailbox.TYPE_SEARCH && message.mMainMailboxKey != 0) { in loadAttachment()177 mailbox = Mailbox.restoreMailboxWithId(mContext, message.mMainMailboxKey); in loadAttachment()180 if (account == null || mailbox == null) { in loadAttachment()[all …]
106 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId); in sync() local107 if (mailbox == null) return; in sync()108 Account account = Account.restoreAccountWithId(context, mailbox.mAccountKey); in sync()112 if ((mailbox.mType != Mailbox.TYPE_OUTBOX) && in sync()113 !loadsFromServer(context, mailbox, protocol)) { in sync()117 new String[] {Long.toString(mailbox.mId)}); in sync()120 LogUtils.d(TAG, "About to sync mailbox: " + mailbox.mDisplayName); in sync()133 if (mailbox.mType == Mailbox.TYPE_OUTBOX) { in sync()143 mailbox, deltaMessageCount != 0, uiRefresh); in sync()146 mailbox, deltaMessageCount); in sync()
231 final Mailbox mailbox, final int deltaMessageCount) throws MessagingException { in synchronizePop3Mailbox() argument236 if (mailbox.mType != Mailbox.TYPE_INBOX) { in synchronizePop3Mailbox()251 String.valueOf(mailbox.mId) in synchronizePop3Mailbox()270 Pop3Folder remoteFolder = (Pop3Folder)remoteStore.getFolder(mailbox.mServerId); in synchronizePop3Mailbox()309 mailbox.updateMessageCount(context, remoteMessageCount); in synchronizePop3Mailbox()430 context, popMessage, account, mailbox, flag); in synchronizePop3Mailbox()474 loadUnsyncedMessages(context, account, remoteFolder, unsyncedMessages, mailbox); in synchronizePop3Mailbox()
70 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId); in EmailConversationCursor() local72 if (mailbox != null) { in EmailConversationCursor()73 mMailboxTypeId = mailbox.mType; in EmailConversationCursor()75 mExtras.putInt(UIProvider.CursorExtraKeys.EXTRA_TOTAL_COUNT, mailbox.mTotalCount); in EmailConversationCursor()76 if (mailbox.mUiSyncStatus == EmailContent.SYNC_STATUS_BACKGROUND in EmailConversationCursor()77 || mailbox.mUiSyncStatus == EmailContent.SYNC_STATUS_USER in EmailConversationCursor()78 || mailbox.mUiSyncStatus == EmailContent.SYNC_STATUS_LIVE in EmailConversationCursor()79 || mailbox.mUiSyncStatus == EmailContent.SYNC_STATUS_INITIAL_SYNC_NEEDED) { in EmailConversationCursor()82 } else if (mailbox.mUiSyncStatus == EmailContent.SYNC_STATUS_NONE) { in EmailConversationCursor()83 if (mailbox.mSyncInterval == 0 in EmailConversationCursor()[all …]
3373 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId); in genQueryMailbox() local3375 if (mailbox != null) { in genQueryMailbox()3376 String protocol = Account.getProtocol(context, mailbox.mAccountKey); in genQueryMailbox()3385 getFolderCapabilities(info, mailbox.mType, mailboxId)); in genQueryMailbox()3402 Base64.encodeToString(mailbox.mServerId.getBytes(), in genQueryMailbox()4844 Mailbox mailbox = Mailbox.restoreMailboxOfType(getContext(), accountId, mailboxType); in getMailboxByAccountIdAndType() local4845 if (mailbox == null) { in getMailboxByAccountIdAndType()4846 mailbox = createMailbox(accountId, mailboxType); in getMailboxByAccountIdAndType()4848 return mailbox; in getMailboxByAccountIdAndType()4862 private Uri uiSaveMessage(Message msg, Mailbox mailbox, Bundle extras) { in uiSaveMessage() argument[all …]
197 Mailbox mailbox = Mailbox.restoreMailboxWithId(this, id); in select() local198 if (mailbox != null) { in select()201 ContentUris.withAppendedId(Mailbox.CONTENT_URI, mailbox.mId), values, in select()
339 final Mailbox mailbox = folder.mMailbox; in createHierarchy() local340 int delimiterIdx = mailbox.mServerId.lastIndexOf(mailbox.mDelimiter); in createHierarchy()358 mailbox.mParentKey = parentKey; in createHierarchy()359 mailbox.mParentServerId = parentPath; in createHierarchy()375 char delimiter, boolean selectable, Mailbox mailbox) { in addMailbox() argument378 if (mailbox == null) { in addMailbox()380 mailbox = Mailbox.getMailboxForPath(context, accountId, mailboxPath); in addMailbox()382 mailboxType = mailbox.mType; in addMailbox()385 if (mailbox.isSaved()) { in addMailbox()388 folder.mHash = mailbox.getHashes(); in addMailbox()[all …]
106 Mailbox mailbox = Mailbox.restoreMailboxOfType(mContext, mAccount.mId, Mailbox.TYPE_INBOX); in updateFolders() local107 if (mailbox == null) { in updateFolders()108 mailbox = Mailbox.newSystemMailbox(mContext, mAccount.mId, Mailbox.TYPE_INBOX); in updateFolders()110 if (mailbox.isSaved()) { in updateFolders()111 mailbox.update(mContext, mailbox.toContentValues()); in updateFolders()113 mailbox.save(mContext); in updateFolders()115 return new Folder[] { getFolder(mailbox.mServerId) }; in updateFolders()
1214 final Mailbox mailbox = mMailbox; in save() local1215 if (!mailbox.isSaved()) { in save()1216 mailbox.save(context); in save()1217 mHash = mailbox.getHashes(); in save()1219 Object[] hash = mailbox.getHashes(); in save()1221 mailbox.update(context, mailbox.toContentValues()); in save()
32 private final Mailbox mailbox; field in MailboxField35 …ld(final String name, final String body, final String raw, final Mailbox mailbox, final ParseExcep… in MailboxField() argument37 this.mailbox = mailbox; in MailboxField()42 return mailbox; in getMailbox()53 Mailbox mailbox = null; in parse() local58 mailbox = mailboxList.get(0); in parse()67 return new MailboxField(name, body, raw, mailbox, parseException); in parse()
203 protected static void updateMailbox(Mailbox mailbox, long accountId, String mailboxPath, in updateMailbox() argument205 mailbox.mAccountKey = accountId; in updateMailbox()206 mailbox.mDelimiter = delimiter; in updateMailbox()212 mailbox.mDisplayName = displayPath; in updateMailbox()214 mailbox.mFlags = Mailbox.FLAG_HOLDS_MAIL | Mailbox.FLAG_ACCEPTS_MOVED_MAIL; in updateMailbox()216 mailbox.mFlagVisible = true; in updateMailbox()219 mailbox.mServerId = mailboxPath; in updateMailbox()225 mailbox.mType = type; in updateMailbox()
331 final Mailbox mailbox = Mailbox.restoreMailboxWithId(getContext(), mMailboxId); in loadInBackground() local332 result.put(RESULT_KEY_MAILBOX, mailbox); in loadInBackground()335 if (mailbox == null) { in loadInBackground()341 ContentUris.withAppendedId(Account.CONTENT_URI, mailbox.mAccountKey), in loadInBackground()372 final Mailbox mailbox = (Mailbox) in onLoadFinished() local374 if (mailbox == null) { in onLoadFinished()379 mMailbox = mailbox; in onLoadFinished()
521 Mailbox mailbox = null; in restoreMailboxForPath() local523 mailbox = getContent(context, c, Mailbox.class); in restoreMailboxForPath()530 return mailbox; in restoreMailboxForPath()541 Mailbox mailbox = restoreMailboxForPath(context, accountId, path); in getMailboxForPath() local542 if (mailbox == null) { in getMailboxForPath()543 mailbox = new Mailbox(); in getMailboxForPath()545 return mailbox; in getMailboxForPath()
67 final Mailbox mailbox = Mailbox.restoreMailboxWithId(this, mailboxId); in onCreate() local68 if (mailbox == null) { in onCreate()73 final Intent viewIntent = getViewIntent(mailbox.mAccountKey, mailboxId); in onCreate()
183 void mailbox() :184 {/*@bgen(jjtree) mailbox */190 {/*@bgen(jjtree) mailbox */265 [ mailbox() ]268 [ mailbox() ]
192 final public void mailbox() throws ParseException { in mailbox() method in AddressListParser281 mailbox(); in group_body()302 mailbox(); in group_body()
394 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, message.mMailboxKey); in showDownloadForwardFailedNotificationSynchronous()395 showNotification(mailbox.mAccountKey, in showDownloadForwardFailedNotificationSynchronous()419 final Mailbox mailbox = Mailbox.restoreMailboxOfType(mContext, accountId, in showLoginFailedNotificationSynchronous()421 if (mailbox == null) return; in showLoginFailedNotificationSynchronous()431 showNotification(mailbox.mAccountKey, in showLoginFailedNotificationSynchronous()
66 Mailbox mailbox = get(i); in print() local67 System.out.println(mailbox.toString()); in print()
2309 Mailbox mailbox = new Mailbox(); in createFolder() local2310 mailbox.mId = id; in createFolder()2311 mailbox.mDisplayName = displayName; in createFolder()2312 mailbox.mServerId = serverId; in createFolder()2313 mailbox.mDelimiter = delimiter; in createFolder()2314 mailbox.mFlags = 0xAAAAAAA8; in createFolder()2315 folder.mMailbox = mailbox; in createFolder()
533 private static String getMmsFolderName(int mailbox) { in getMmsFolderName() argument534 String name = FOLDER_MMS_MAP.get(mailbox); in getMmsFolderName()
1dictionary=main:en_us,locale=en_US,description=English (US),date ...