HomeSort by relevance Sort by last modified time
    Searched defs:mailbox (Results 1 - 23 of 23) sorted by null

  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
MailboxList.java 25 * An immutable, random-access list of Mailbox objects.
34 * @param mailboxes An ArrayList that contains only Mailbox objects.
54 public Mailbox get(int index) {
57 return (Mailbox)mailboxes.get(index);
61 * Dumps a representation of this mailbox list to
66 Mailbox mailbox = get(i); local
67 System.out.println(mailbox.toString());
  /packages/services/Telephony/src/org/apache/james/mime4j/field/address/
MailboxList.java 25 * An immutable, random-access list of Mailbox objects.
34 * @param mailboxes An ArrayList that contains only Mailbox objects.
54 public Mailbox get(int index) {
57 return (Mailbox)mailboxes.get(index);
61 * Dumps a representation of this mailbox list to
66 Mailbox mailbox = get(i); local
67 System.out.println(mailbox.toString());
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/
MailboxField.java 27 import org.apache.james.mime4j.field.address.Mailbox;
32 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) {
37 this.mailbox = mailbox;
41 public Mailbox getMailbox() {
42 return mailbox;
53 Mailbox mailbox = null local
    [all...]
  /packages/services/Telephony/src/org/apache/james/mime4j/field/
MailboxField.java 27 import org.apache.james.mime4j.field.address.Mailbox;
32 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) {
37 this.mailbox = mailbox;
41 public Mailbox getMailbox() {
42 return mailbox;
53 Mailbox mailbox = null local
    [all...]
  /packages/apps/Email/src/com/android/email2/ui/
MailActivityEmail.java 35 import com.android.emailcommon.provider.Mailbox;
54 EmailProvider.LEGACY_AUTHORITY, "view/mailbox", MATCH_LEGACY_SHORTCUT_INTENT);
67 final Mailbox mailbox = Mailbox.restoreMailboxWithId(this, mailboxId); local
68 if (mailbox == null) {
69 LogUtils.e(LOG_TAG, "unable to restore mailbox");
73 final Intent viewIntent = getViewIntent(mailbox.mAccountKey, mailboxId);
126 LogUtils.e(LOG_TAG, "Null folder cursor for account %d, mailbox %d",
136 LogUtils.e(LOG_TAG, "Empty folder cursor for account %d, mailbox %d"
    [all...]
  /external/curl/lib/
imap.h 58 char *mailbox; /* Mailbox to select */ member in struct:IMAP
81 char *mailbox; /* The last selected mailbox */ member in struct:imap_conn
imap.c 649 char *mailbox; local
656 /* Make sure the mailbox is in the correct atom format */
657 mailbox = imap_atom(imap->mailbox ? imap->mailbox : "");
658 if(!mailbox)
662 result = imap_sendf(conn, "LIST \"%s\" *", mailbox);
664 free(mailbox);
677 * Sends a SELECT command to ask the server to change the selected mailbox.
685 char *mailbox; local
757 char *mailbox; local
    [all...]
  /packages/apps/Email/provider_src/com/android/email/provider/
EmailConversationCursor.java 34 import com.android.emailcommon.provider.Mailbox;
47 * any pending notifications for the corresponding mailbox should be canceled). We also handle
48 * getExtras() to provide a snapshot of the mailbox's status
70 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId); local
72 if (mailbox != null) {
73 mMailboxTypeId = mailbox.mType;
75 mExtras.putInt(UIProvider.CursorExtraKeys.EXTRA_TOTAL_COUNT, mailbox.mTotalCount);
76 if (mailbox.mUiSyncStatus == EmailContent.SYNC_STATUS_BACKGROUN
130 Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mMailboxId); local
    [all...]
FolderPickerActivity.java 34 import com.android.emailcommon.provider.Mailbox;
75 mMailboxType = i.getIntExtra(MAILBOX_TYPE_EXTRA, Mailbox.TYPE_TRASH);
76 long trashMailboxId = Mailbox.findMailboxOfType(this, mAccountId, Mailbox.TYPE_TRASH);
77 // If we already have a trash mailbox, we're done (if in setup; a race?)
78 if (trashMailboxId != Mailbox.NO_MAILBOX && mInSetup) {
187 // If we already have a mailbox of this type, change it back to generic mail type
188 Mailbox ofType = Mailbox.restoreMailboxOfType(this, mAccountId, mMailboxType);
190 values.put(MailboxColumns.TYPE, Mailbox.TYPE_MAIL)
197 Mailbox mailbox = Mailbox.restoreMailboxWithId(this, id); local
    [all...]
EmailProvider.java 96 import com.android.emailcommon.provider.Mailbox;
214 private static final int MAILBOX = MAILBOX_BASE;
296 array.put(MAILBOX_BASE >> BASE_SHIFT, Mailbox.TABLE_NAME);
438 * When we sync folders, we do two passes: First to create the mailbox rows, and second
447 // Update the parentKey for each mailbox row to match the _id of the row whose
454 // update mailbox set parentKey = (select _id from mailbox as b where
455 // mailbox.parentServerId=b.serverId and mailbox.parentServerId not null and
456 // mailbox.accountKey=b.accountKey
3373 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId); local
4844 Mailbox mailbox = Mailbox.restoreMailboxOfType(getContext(), accountId, mailboxType); local
5033 final Mailbox mailbox = local
5615 Mailbox mailbox = Mailbox.restoreMailboxWithId(getContext(), id); local
    [all...]
  /packages/apps/Email/provider_src/com/android/email/service/
PopImapSyncAdapterService.java 41 import com.android.emailcommon.provider.Mailbox;
82 * @return whether or not this mailbox retrieves its data from the server (as opposed to just
83 * a local mailbox that is never synced).
85 private static boolean loadsFromServer(Context context, Mailbox m, String protocol) {
91 return m.mType != Mailbox.TYPE_DRAFTS
92 && m.mType != Mailbox.TYPE_OUTBOX
93 && m.mType != Mailbox.TYPE_SEARCH;
96 return Mailbox.TYPE_INBOX == m.mType;
106 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId) local
    [all...]
ImapService.java 59 import com.android.emailcommon.provider.Mailbox;
92 * Simple cache for last search result mailbox by account and serverId, since the most common
93 * case will be repeated use of the same mailbox
97 private static Mailbox mLastSearchRemoteMailbox = null;
165 final Account account, final Mailbox folder, final boolean loadMore,
235 // Note: mailbox key and account key not needed - they are projected for the SELECT
251 * @param toMailbox the destination mailbox we're syncing
255 Folder remoteFolder, ArrayList<Message> messages, final Mailbox toMailbox)
282 final Mailbox mailbox, Folder remoteFolder, ArrayList<Message> unsyncedMessages
796 Mailbox mailbox = new Mailbox(); local
834 Mailbox mailbox = getRemoteMailboxForMessage(context, oldMessage); local
891 Mailbox mailbox = null; local
956 Mailbox mailbox = null; local
1459 final Mailbox mailbox = Mailbox.restoreMailboxWithId(context, searchParams.mMailboxId); local
    [all...]
Pop3Service.java 51 import com.android.emailcommon.provider.Mailbox;
84 long inboxId = Mailbox.findMailboxOfType(mContext, att.mAccountKey, Mailbox.TYPE_INBOX);
85 if (inboxId == Mailbox.NO_MAILBOX) return;
109 final Mailbox folder, final int deltaMessageCount) throws MessagingException {
155 // Note: mailbox key and account key not needed - they are projected
166 * @param toMailbox the destination mailbox we're syncing
171 final Mailbox toMailbox) throws MessagingException {
226 * @param mailbox the mailbox to syn
    [all...]
EmailServiceStub.java 54 import com.android.emailcommon.provider.Mailbox;
100 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mailboxId); local
101 if (mailbox == null) return;
102 final Account account = Account.restoreAccountWithId(mContext, mailbox.mAccountKey);
108 final Bundle extras = Mailbox.createSyncBundle(mailboxId);
115 extras.putInt(Mailbox.SYNC_EXTRA_DELTA_MESSAGE_COUNT, deltaMessageCount);
158 Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, message.mMailboxKey) local
301 final Mailbox mailbox = Mailbox.newSystemMailbox(mContext, accountId, type); local
    [all...]
  /packages/apps/Email/provider_src/com/android/email/mail/store/
Pop3Store.java 36 import com.android.emailcommon.provider.Mailbox;
59 /** The name of the only mailbox available to POP3 accounts */
106 Mailbox mailbox = Mailbox.restoreMailboxOfType(mContext, mAccount.mId, Mailbox.TYPE_INBOX); local
107 if (mailbox == null) {
108 mailbox = Mailbox.newSystemMailbox(mContext, mAccount.mId, Mailbox.TYPE_INBOX)
    [all...]
ImapFolder.java 47 import com.android.emailcommon.provider.Mailbox;
84 /** The local mailbox associated with this remote folder */
85 Mailbox mMailbox;
1214 final Mailbox mailbox = mMailbox; local
    [all...]
ImapStore.java 45 import com.android.emailcommon.provider.Mailbox;
139 case Mailbox.TYPE_INBOX:
140 case Mailbox.TYPE_MAIL:
141 case Mailbox.TYPE_SENT:
142 case Mailbox.TYPE_TRASH:
143 case Mailbox.TYPE_JUNK:
145 case Mailbox.TYPE_NONE:
146 case Mailbox.TYPE_PARENT:
147 case Mailbox.TYPE_DRAFTS:
148 case Mailbox.TYPE_OUTBOX
339 final Mailbox mailbox = folder.mMailbox; local
    [all...]
  /platform_testing/libraries/gmail-app-helper/src/android/platform/test/helpers/
GmailHelperImpl.java 236 throw new IllegalStateException("Must be in a mailbox to open an email by index");
270 throw new IllegalStateException("Must be in a mailbox to open an email by index");
476 throw new IllegalStateException("Not in mailbox");
517 UiObject2 mailbox = null; local
519 mailbox = mDevice.findObject(By.res(UI_PACKAGE_NAME, UI_NAME_ID).text(
521 if (mailbox != null) {
527 if (mailbox == null) {
529 String.format("Could not find mailbox '%s'", mailboxName));
531 mailbox.click();
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
AddressListParser.java 192 final public void mailbox() throws ParseException { method in class:AddressListParser
193 /*@bgen(jjtree) mailbox */
281 mailbox(); method
302 mailbox(); method
  /packages/services/Telephony/src/org/apache/james/mime4j/field/address/parser/
AddressListParser.java 192 final public void mailbox() throws ParseException { method in class:AddressListParser
193 /*@bgen(jjtree) mailbox */
281 mailbox(); method
302 mailbox(); method
  /packages/apps/Email/src/com/android/email/activity/setup/
MailboxSettings.java 46 import com.android.emailcommon.provider.Mailbox;
63 * "Mailbox settings" activity.
65 * It's used to update per-mailbox sync settings. It normally updates Mailbox settings, unless
66 * the target mailbox is Inbox, in which case it updates Account settings instead.
229 private static final String BUNDLE_MAILBOX = "MailboxSettings.mailbox";
237 private Mailbox mMailbox;
238 /** The maximum lookback allowed for this mailbox, or 0 if no max. */
255 final long mailboxId = getArguments().getLong(EXTRA_MAILBOX_ID, Mailbox.NO_MAILBOX);
256 if (mailboxId == Mailbox.NO_MAILBOX)
331 final Mailbox mailbox = Mailbox.restoreMailboxWithId(getContext(), mMailboxId); local
372 final Mailbox mailbox = (Mailbox) local
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Mailbox.java 44 public class Mailbox extends EmailContent implements EmailContent.MailboxColumns, Parcelable {
52 * which mailbox to sync. Is intentionally private, we have helper functions
66 * Sync extras key to specify that only a specific mailbox type should be synced.
70 * Sync extras key when syncing a mailbox to specify how many additional messages to sync.
76 public static final String TABLE_NAME = "Mailbox";
83 CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI + "/mailbox");
244 * Projection to use when reading {@link MailboxColumns#ACCOUNT_KEY} for a mailbox.
264 // Sentinel values for the mSyncInterval field of both Mailbox records
270 // Ping indicates that the EAS mailbox is synced based on a "ping" from the server
273 // Push-Hold indicates an EAS push or ping Mailbox shouldn't sync just ye
521 Mailbox mailbox = null; local
541 Mailbox mailbox = restoreMailboxForPath(context, accountId, path); local
    [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/store/
ImapStoreUnitTests.java 57 import com.android.emailcommon.provider.Mailbox;
88 * {@link Mailbox#FLAG_ACCEPTS_MOVED_MAIL} and {@link Mailbox#FLAG_HOLDS_MAIL}.
540 * TODO: Test the process of opening and indexing a mailbox with one unread message in it.
2309 Mailbox mailbox = new Mailbox(); local
    [all...]

Completed in 2098 milliseconds