Home
last modified time | relevance | path

Searched refs:mailbox (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Email/provider_src/com/android/email/service/
DImapService.java282 final Mailbox mailbox, Folder remoteFolder, ArrayList<Message> unsyncedMessages, in downloadFlagAndEnvelope() argument
325 message, account.mId, mailbox.mId); in downloadFlagAndEnvelope()
363 final Account account, Store remoteStore, final Mailbox mailbox, final boolean loadMore, in synchronizeMailboxGeneric() argument
367 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 …]
DEmailServiceStub.java100 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mailboxId); in requestSync() local
101 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() local
159 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 …]
DPopImapSyncAdapterService.java106 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId); in sync() local
107 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()
DPop3Service.java231 final Mailbox mailbox, final int deltaMessageCount) throws MessagingException { in synchronizePop3Mailbox() argument
236 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()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailConversationCursor.java70 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId); in EmailConversationCursor() local
72 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 …]
DEmailProvider.java3373 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId); in genQueryMailbox() local
3375 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() local
4845 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 …]
DFolderPickerActivity.java197 Mailbox mailbox = Mailbox.restoreMailboxWithId(this, id); in select() local
198 if (mailbox != null) { in select()
201 ContentUris.withAppendedId(Mailbox.CONTENT_URI, mailbox.mId), values, in select()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapStore.java339 final Mailbox mailbox = folder.mMailbox; in createHierarchy() local
340 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() argument
378 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 …]
DPop3Store.java106 Mailbox mailbox = Mailbox.restoreMailboxOfType(mContext, mAccount.mId, Mailbox.TYPE_INBOX); in updateFolders() local
107 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()
DImapFolder.java1214 final Mailbox mailbox = mMailbox; in save() local
1215 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()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/
DMailboxField.java32 private final Mailbox mailbox; field in MailboxField
35 …ld(final String name, final String body, final String raw, final Mailbox mailbox, final ParseExcep… in MailboxField() argument
37 this.mailbox = mailbox; in MailboxField()
42 return mailbox; in getMailbox()
53 Mailbox mailbox = null; in parse() local
58 mailbox = mailboxList.get(0); in parse()
67 return new MailboxField(name, body, raw, mailbox, parseException); in parse()
/packages/apps/Email/provider_src/com/android/email/mail/
DStore.java203 protected static void updateMailbox(Mailbox mailbox, long accountId, String mailboxPath, in updateMailbox() argument
205 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()
/packages/apps/Email/src/com/android/email/activity/setup/
DMailboxSettings.java331 final Mailbox mailbox = Mailbox.restoreMailboxWithId(getContext(), mMailboxId); in loadInBackground() local
332 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() local
374 if (mailbox == null) { in onLoadFinished()
379 mMailbox = mailbox; in onLoadFinished()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java521 Mailbox mailbox = null; in restoreMailboxForPath() local
523 mailbox = getContent(context, c, Mailbox.class); in restoreMailboxForPath()
530 return mailbox; in restoreMailboxForPath()
541 Mailbox mailbox = restoreMailboxForPath(context, accountId, path); in getMailboxForPath() local
542 if (mailbox == null) { in getMailboxForPath()
543 mailbox = new Mailbox(); in getMailboxForPath()
545 return mailbox; in getMailboxForPath()
/packages/apps/Email/src/com/android/email2/ui/
DMailActivityEmail.java67 final Mailbox mailbox = Mailbox.restoreMailboxWithId(this, mailboxId); in onCreate() local
68 if (mailbox == null) { in onCreate()
73 final Intent viewIntent = getViewIntent(mailbox.mAccountKey, mailboxId); in onCreate()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DAddressListParser.jj183 void mailbox() :
184 {/*@bgen(jjtree) mailbox */
190 {/*@bgen(jjtree) mailbox */
265 [ mailbox() ]
268 [ mailbox() ]
DAddressListParser.java192 final public void mailbox() throws ParseException { in mailbox() method in AddressListParser
281 mailbox(); in group_body()
302 mailbox(); in group_body()
/packages/apps/Email/src/com/android/email/
DEmailNotificationController.java394 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()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
DMailboxList.java66 Mailbox mailbox = get(i); in print() local
67 System.out.println(mailbox.toString()); in print()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java2309 Mailbox mailbox = new Mailbox(); in createFolder() local
2310 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()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java533 private static String getMmsFolderName(int mailbox) { in getMmsFolderName() argument
534 String name = FOLDER_MMS_MAP.get(mailbox); in getMmsFolderName()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz
Dnl_wordlist.combined.gz

12