Searched refs:mailbox (Results 1 - 19 of 19) 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/Email/src/com/android/exchange/adapter/
H A DAccountSyncAdapter.java11 public AccountSyncAdapter(Mailbox mailbox, EasSyncService service) { argument
12 super(mailbox, service);
H A DAbstractSyncAdapter.java64 public AbstractSyncAdapter(Mailbox mailbox, EasSyncService service) { argument
65 mMailbox = mailbox;
H A DEmailSyncAdapter.java87 public EmailSyncAdapter(Mailbox mailbox, EasSyncService service) { argument
88 super(mailbox, service);
417 // Find the message in this mailbox with the given serverId
735 // Find our trash mailbox, since deletions will have been moved there...
H A DCalendarSyncAdapter.java166 public CalendarSyncAdapter(Mailbox mailbox, EasSyncService service) { argument
167 super(mailbox, service);
H A DContactsSyncAdapter.java128 public ContactsSyncAdapter(Mailbox mailbox, EasSyncService service) { argument
129 super(mailbox, service);
704 // Find the message in this mailbox with the given serverId
/packages/apps/Email/src/org/apache/james/mime4j/field/address/
H A DMailboxList.java61 * Dumps a representation of this mailbox list to
66 Mailbox mailbox = get(i);
67 System.out.println(mailbox.toString());
/packages/apps/Email/tests/src/com/android/exchange/adapter/
H A DSyncAdapterTestCase.java73 Mailbox mailbox = new Mailbox();
74 mailbox.mId = -1;
75 return getTestService(account, mailbox);
78 EasSyncService getTestService(Account account, Mailbox mailbox) { argument
81 service.mMailbox = mailbox;
H A DEmailSyncAdapterTests.java151 void setupSyncParserAndAdapter(Account account, Mailbox mailbox) throws IOException { argument
152 EasSyncService service = getTestService(account, mailbox);
153 mSyncAdapter = new EmailSyncAdapter(mailbox, service);
/packages/apps/Email/src/com/android/email/
H A DMessagingController.java64 * that require remote mailbox access. This class is used to serialize and
302 // Drop all attachment files related to this mailbox
305 // Delete the mailbox. Triggers will take care of
436 // Note: mailbox key and account key not needed - they are projected for the SELECT
454 * @param folder the mailbox to sync
930 * @param folder the mailbox it will be stored into
1084 // Demand load mailbox (note order-by to reduce thrashing here)
1085 Mailbox mailbox = null;
1095 if (mailbox == null || mailbox
1337 processUploadMessage(ContentResolver resolver, Store remoteStore, EmailContent.Account account, Mailbox mailbox, long messageId) argument
1378 processPendingFlagChange(Store remoteStore, Mailbox mailbox, boolean changeRead, boolean changeFlagged, EmailContent.Message newMessage) argument
[all...]
H A DController.java176 * Request a remote update of a mailbox. For use by the timed service.
208 * Request a remote update of a mailbox.
212 * downloading some/all of the messages in this mailbox, but that should be interruptable.
234 Mailbox mailbox =
236 if (account == null || mailbox == null) {
239 mLegacyController.synchronizeMailbox(account, mailbox, mLegacyListener);
285 * Saves the message to a mailbox of given type.
289 * @param mailboxType the mailbox type (e.g. Mailbox.TYPE_DRAFTS).
300 * @param mailboxType the mailbox type (e.g. EmailContent.Mailbox.TYPE_TRASH)
301 * @return the id of the mailbox
[all...]
/packages/apps/Email/src/com/android/exchange/
H A DEasOutboxService.java96 // The reference message and mailbox are called item and collection in EAS
111 // Then, we need the serverId of the mailbox
226 Mailbox mailbox = Mailbox.restoreMailboxOfType(context, accountId, Mailbox.TYPE_OUTBOX);
227 if (mailbox != null) {
228 msg.mMailboxKey = mailbox.mId;
H A DSyncManager.java117 // The SyncManager's mailbox "id"
190 // Keeps track of running services (by mailbox id)
193 // Keeps track of services whose last sync ended with an error (by mailbox id)
195 // Keeps track of which services require a wake lock (by mailbox id)
197 // Keeps track of PendingIntents for mailbox alarms (by mailbox id)
361 // If the mailbox is no longer around, remove the entry in the map
453 // Create an account mailbox for any account without one
584 // This is an addition; create our magic hidden mailbox...
737 Mailbox mailbox
[all...]
H A DEasSyncService.java133 // The amount of time the account mailbox will sleep if there are no pingable mailboxes
138 "Account mailbox sleeping for " + (ACCOUNT_MAILBOX_SLEEP_TIME / MINUTES) + "m";
1056 // Retrieve the message and mailbox; punt if either are null
1059 Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, msg.mMailboxKey);
1060 if (mailbox == null) return;
1064 s.data(Tags.MREQ_COLLECTION_ID, mailbox.mServerId);
1483 // Save the sync time of the account mailbox to current time
1492 // Change all pushable boxes to push when we start the account mailbox
1525 // Provisioning must only be attempted for the account mailbox - trying to
1526 // provision any other mailbox ma
[all...]
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
H A DAddressListParser.jj183 void mailbox() :
184 {/*@bgen(jjtree) mailbox */
190 {/*@bgen(jjtree) mailbox */
265 [ mailbox() ]
268 [ mailbox() ]
H A DAddressListParser.java192 final public void mailbox() throws ParseException { method in class:AddressListParser
193 /*@bgen(jjtree) mailbox */
281 mailbox();
302 mailbox();
/packages/apps/Email/src/com/android/email/activity/
H A DMessageList.java168 * Open a specific mailbox.
174 * @param id mailbox key
181 * Open a specific mailbox by account & type
185 * @param mailboxType the type of mailbox to open (e.g. @see EmailContent.Mailbox.TYPE_INBOX)
202 * Return an intent to open a specific mailbox by account & type.
206 * @param mailboxId the ID of the mailbox to open, or -1
207 * @param mailboxType the type of mailbox to open (e.g. @see Mailbox.TYPE_INBOX) or -1
267 // Show the appropriate account/mailbox specified by an {@link Intent}.
272 * Show the appropriate account/mailbox specified by an {@link Intent}.
277 // Specific mailbox I
[all...]
H A DUpgradeAccounts.java541 final EmailContent.Mailbox mailbox; field in class:UpgradeAccounts.FolderConversion
545 mailbox = _mailbox;
588 EmailContent.Mailbox mailbox =
590 mailbox.save(context);
596 FolderConversion conversion = new FolderConversion(folder, mailbox);
598 switch (mailbox.mType) {
657 * @param conversion a folder->mailbox conversion record
667 boolean makeDeleteSentinels = (conversion.mailbox.mType == Mailbox.TYPE_INBOX) &&
685 newMessage.mMailboxKey = conversion.mailbox.mId;
694 newAccount.mId, conversion.mailbox
[all...]
/packages/apps/Email/src/com/android/exchange/utility/
H A DCalendarUtilities.java1197 * @param mailbox the Exchange mailbox for the calendar
1200 static public long createCalendar(EasSyncService service, Account account, Mailbox mailbox) { argument
1224 mailbox.mSyncStatus = stringId;

Completed in 382 milliseconds