Searched defs:mailbox (Results 1 - 15 of 15) sorted by relevance

/packages/apps/Email/src/org/apache/james/mime4j/field/
H A DMailboxField.java32 private final Mailbox mailbox; field in class:MailboxField
35 protected MailboxField(final String name, final String body, final String raw, final Mailbox mailbox, final ParseException parseException) { argument
37 this.mailbox = mailbox;
42 return mailbox;
53 Mailbox mailbox = null;
58 mailbox = mailboxList.get(0);
67 return new MailboxField(name, body, raw, mailbox, parseException);
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
H A DSyncAdapterTestCase.java80 Mailbox mailbox = new Mailbox();
81 mailbox.mId = -1;
82 return getTestService(mAccount, mailbox);
85 EasSyncService getTestService(Account account, Mailbox mailbox) { argument
88 service.mMailbox = mailbox;
H A DEmailSyncAdapterTests.java168 void setupSyncParserAndAdapter(Account account, Mailbox mailbox) throws IOException { argument
169 EasSyncService service = getTestService(account, mailbox);
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
H A DSyncAdapterTestCase.java80 Mailbox mailbox = new Mailbox();
81 mailbox.mId = -1;
82 return getTestService(mAccount, mailbox);
85 EasSyncService getTestService(Account account, Mailbox mailbox) { argument
88 service.mMailbox = mailbox;
H A DEmailSyncAdapterTests.java168 void setupSyncParserAndAdapter(Account account, Mailbox mailbox) throws IOException { argument
169 EasSyncService service = getTestService(account, mailbox);
/packages/apps/Email/src/com/android/email/
H A DFolderProperties.java109 * Return the display name for a mailbox for UI. For normal mailboxes, it just returns
114 * @param mailboxId ID of a mailbox.
115 * @param originalDisplayName Display name of the mailbox stored in the database.
126 * Same as {@link #getDisplayName(int, long, String)}, but gets information form a mailbox
140 public String getDisplayName(Mailbox mailbox) { argument
141 return getDisplayName(mailbox.mType, mailbox.mId, mailbox.mDisplayName);
145 * Return the message count which should be shown with a mailbox name. Depending on
146 * the mailbox typ
[all...]
H A DMessagingController.java74 * that require remote mailbox access. This class is used to serialize and
141 * Simple cache for last search result mailbox by account and serverId, since the most common
142 * case will be repeated use of the same mailbox
256 // TODO For now, mailbox addition occurs in the server-dependent store implementation,
257 // but, mailbox removal occurs here. Instead, each store should be responsible for
280 // Step 3: Remove any local mailbox not on the remote list
283 // Short circuit if we have a remote mailbox with the same name
300 // Drop all attachment files related to this mailbox
303 // Delete the mailbox; database triggers take care of related
420 // Note: mailbox ke
528 downloadFlagAndEnvelope(final Account account, final Mailbox mailbox, Folder remoteFolder, ArrayList<Message> unsyncedMessages, HashMap<String, LocalMessageInfo> localMessageMap, final ArrayList<Long> unseenMessages) argument
729 synchronizeMailboxGeneric(final Account account, final Mailbox mailbox) argument
1416 processUploadMessage(ContentResolver resolver, Store remoteStore, Account account, Mailbox mailbox, long messageId) argument
1460 processPendingDataChange(Store remoteStore, Mailbox mailbox, boolean changeRead, boolean changeFlagged, boolean changeMailbox, boolean changeAnswered, EmailContent.Message oldMessage, final EmailContent.Message newMessage) argument
[all...]
/packages/apps/Email/src/com/android/email/mail/
H A DStore.java180 * Updates the fields within the given mailbox. Only the fields that are important to
183 protected static void updateMailbox(Mailbox mailbox, long accountId, String mailboxPath, argument
185 mailbox.mAccountKey = accountId;
186 mailbox.mDelimiter = delimiter;
192 mailbox.mDisplayName = displayPath;
194 mailbox.mFlags = Mailbox.FLAG_HOLDS_MAIL | Mailbox.FLAG_ACCEPTS_MOVED_MAIL;
196 mailbox.mFlagVisible = true;
197 //mailbox.mParentKey;
198 //mailbox.mParentServerId;
199 mailbox
[all...]
/packages/apps/Email/src/com/android/email/activity/
H A DMessageViewFragment.java78 /** Whether or not the message can be moved from the mailbox it's in. */
110 * Called right before the current message will be deleted or moved to another mailbox.
294 protected void onMessageShown(long messageId, Mailbox mailbox) { argument
295 super.onMessageShown(messageId, mailbox);
299 && mailbox.canHaveMessagesMoved();
309 enableReplyForwardButtons(Mailbox.isMailboxTypeReplyAndForwardable(mailbox.mType));
H A DMessagesAdapter.java109 /** Whether the mailbox is found. */
111 /** {@link Account} that owns the mailbox. Null for combined mailboxes. */
113 /** {@link Mailbox} for the loaded mailbox. Null for combined mailboxes. */
117 /** {@code true} if the loaded mailbox can be refreshed. */
123 boolean found, Account account, Mailbox mailbox, boolean isEasAccount,
128 mMailbox = mailbox;
316 Mailbox mailbox = null;
321 // Magic mailbox.
324 mailbox = Mailbox.restoreMailboxWithId(mContext, mMailboxId);
325 if (mailbox !
122 MessagesCursor(Cursor cursor, boolean found, Account account, Mailbox mailbox, boolean isEasAccount, boolean isRefreshable, int countTotalAccounts) argument
347 wrapCursor(Cursor cursor, boolean found, Account account, Mailbox mailbox, boolean isEasAccount, boolean isRefreshable, int countTotalAccounts) argument
358 SearchResultsCursor(Cursor cursor, boolean found, Account account, Mailbox mailbox, boolean isEasAccount, boolean isRefreshable, int countTotalAccounts, Mailbox searchedMailbox, int resultsCount) argument
422 wrapCursor(Cursor cursor, boolean found, Account account, Mailbox mailbox, boolean isEasAccount, boolean isRefreshable, int countTotalAccounts) argument
[all...]
H A DUIControllerBase.java568 * Returns the id of the parent mailbox used for the mailbox list fragment.
579 * Returns the id of the mailbox used for the message list fragment.
674 * Determines the mailbox to search, if a search was to be initiated now.
675 * This will return {@code null} if the UI is not focused on any particular mailbox to search
684 // If already in a search, future searches will search the original mailbox.
694 * initiates a search on the given mailbox.
696 private static boolean shouldDoGlobalSearch(Account account, Mailbox mailbox) { argument
698 && (mailbox.mType == Mailbox.TYPE_INBOX);
709 Mailbox mailbox
[all...]
H A DMessageViewFragmentBase.java1069 message = null; // mailbox removed??
1124 protected void onMessageShown(long messageId, Mailbox mailbox) { argument
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DFolderSyncParser.java74 // Chunk size for our mailbox commits
141 // only the account mailbox
174 // Save away any mailbox sync information that is NOT default
226 // Find the mailbox in this account with the given serverId
277 * For every mailbox in this account that has a non-default interval or lookback, save those
300 * For every set of saved mailbox sync options, try to find and restore those values
351 Mailbox mailbox = new Mailbox();
352 mailbox.mDisplayName = name;
353 mailbox.mServerId = serverId;
354 mailbox
422 isValidMailFolder(Mailbox mailbox, HashMap<String, Mailbox> mailboxMap) argument
[all...]
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
H A DAddressListParser.java192 final public void mailbox() throws ParseException { method in class:AddressListParser
193 /*@bgen(jjtree) mailbox */
281 mailbox();
302 mailbox();
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
H A DCalendarUtilities.java1383 * @param mailbox the Exchange mailbox for the calendar
1386 static public long createCalendar(EasSyncService service, Account account, Mailbox mailbox) { argument
1416 mailbox.mSyncStatus = stringId;

Completed in 161 milliseconds