/packages/apps/Email/provider_src/com/android/email/service/ |
D | ImapService.java | 282 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 …]
|
D | EmailServiceStub.java | 100 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 …]
|
D | PopImapSyncAdapterService.java | 106 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()
|
D | Pop3Service.java | 231 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/ |
D | EmailConversationCursor.java | 70 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 …]
|
D | EmailProvider.java | 3373 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 …]
|
D | FolderPickerActivity.java | 197 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/ |
D | ImapStore.java | 339 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 …]
|
D | Pop3Store.java | 106 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()
|
D | ImapFolder.java | 1214 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/services/Telephony/src/org/apache/james/mime4j/field/ |
D | MailboxField.java | 32 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/UnifiedEmail/src/org/apache/james/mime4j/field/ |
D | MailboxField.java | 32 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/ |
D | Store.java | 203 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/ |
D | MailboxSettings.java | 331 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/ |
D | Mailbox.java | 521 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/services/Telephony/src/org/apache/james/mime4j/field/address/parser/ |
D | AddressListParser.jj | 183 void mailbox() : 184 {/*@bgen(jjtree) mailbox */ 190 {/*@bgen(jjtree) mailbox */ 265 [ mailbox() ] 268 [ mailbox() ]
|
D | AddressListParser.java | 192 final public void mailbox() throws ParseException { in mailbox() method in AddressListParser 281 mailbox(); in group_body() 302 mailbox(); in group_body()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
D | AddressListParser.jj | 183 void mailbox() : 184 {/*@bgen(jjtree) mailbox */ 190 {/*@bgen(jjtree) mailbox */ 265 [ mailbox() ] 268 [ mailbox() ]
|
D | AddressListParser.java | 192 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/email2/ui/ |
D | MailActivityEmail.java | 67 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/Email/src/com/android/email/ |
D | EmailNotificationController.java | 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()
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | ImapStoreUnitTests.java | 2309 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/UnifiedEmail/src/org/apache/james/mime4j/field/address/ |
D | MailboxList.java | 66 Mailbox mailbox = get(i); in print() local 67 System.out.println(mailbox.toString()); in print()
|
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/ |
D | MailboxList.java | 66 Mailbox mailbox = get(i); in print() local 67 System.out.println(mailbox.toString()); in print()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapContentObserver.java | 505 private static String getMmsFolderName(int mailbox) { in getMmsFolderName() argument 506 String name = FOLDER_MMS_MAP.get(mailbox); in getMmsFolderName()
|