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

1 2

  /packages/apps/Email/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());
  /external/smack/src/org/xbill/DNS/
RPRecord.java 19 private Name mailbox; field in class:RPRecord
31 * @param mailbox The responsible person
35 RPRecord(Name name, int dclass, long ttl, Name mailbox, Name textDomain) {
38 this.mailbox = checkName("mailbox", mailbox);
44 mailbox = new Name(in);
50 mailbox = st.getName(origin);
58 sb.append(mailbox);
64 /** Gets the mailbox address of the RP Record *
    [all...]
  /packages/apps/Email/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/Exchange/exchange2/tests/src/com/android/exchange/adapter/
SyncAdapterTestCase.java 25 import com.android.emailcommon.provider.Mailbox;
40 public Mailbox mMailbox;
80 Mailbox mailbox = new Mailbox(); local
81 mailbox.mId = -1;
82 return getTestService(mAccount, mailbox);
85 EasSyncService getTestService(Account account, Mailbox mailbox) {
88 service.mMailbox = mailbox;
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/adapter/
SyncAdapterTestCase.java 25 import com.android.emailcommon.provider.Mailbox;
40 public Mailbox mMailbox;
80 Mailbox mailbox = new Mailbox(); local
81 mailbox.mId = -1;
82 return getTestService(mAccount, mailbox);
85 EasSyncService getTestService(Account account, Mailbox mailbox) {
88 service.mMailbox = mailbox;
    [all...]
  /packages/apps/Email/tests/src/com/android/emailcommon/utility/
UtilityMediumTests.java 26 import com.android.emailcommon.provider.Mailbox;
100 Mailbox mailbox = local
101 ProviderTestUtils.setupMailbox("mailbox", account.mId, true, mMockContext);
102 Message message = ProviderTestUtils.setupMessage("foo", account.mId, mailbox.mId, false,
UtilityUnitTests.java 27 import com.android.emailcommon.provider.Mailbox;
294 Mailbox mailbox = ProviderTestUtils.setupMailbox("box", account.mId, true, providerContext); local
297 Attachment att = ProviderTestUtils.setupAttachment(mailbox.mId, "name", 123, true,
312 return Utility.getFirstRowLong(mockContext, Mailbox.CONTENT_URI,
325 Mailbox mailbox1_1 = ProviderTestUtils.setupMailbox("mbox1_1", account1.mId, true,
326 mockContext, Mailbox.TYPE_INBOX);
327 Mailbox mailbox1_2 = ProviderTestUtils.setupMailbox("mbox1_2", account1.mId, true,
328 mockContext, Mailbox.TYPE_MAIL);
329 Mailbox mailbox1_3 = ProviderTestUtils.setupMailbox("mbox1_3", account1.mId, true
    [all...]
  /packages/apps/Email/src/com/android/email/widget/
EmailWidgetLoader.java 25 import com.android.emailcommon.provider.Mailbox;
85 * Gets the count to be shown on the widget header. If the currently viewed mailbox ID is
86 * not {@link Mailbox#QUERY_ALL_FAVORITES}, it is the unread count, which is different from
96 /** Gets the display name of the mailbox */
118 if (mMailboxId != Mailbox.QUERY_ALL_FAVORITES) {
145 Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mMailboxId); local
146 if (mailbox != null) {
147 mailboxName = mailbox.mDisplayName; // regular mailbo
    [all...]
EmailWidget.java 53 import com.android.emailcommon.provider.Mailbox;
119 /** The display name of this mailbox */
166 mailboxId = Mailbox.QUERY_ALL_INBOXES;
241 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId); local
242 return (mailbox == null) ? null : Welcome.createOpenMessageIntent(context,
243 mailbox.mAccountKey, mailboxId, messageId);
  /packages/apps/Email/src/com/android/email/mail/store/
Pop3Store.java 39 import com.android.emailcommon.provider.Mailbox;
60 /** The name of the only mailbox available to POP3 accounts */
156 Mailbox.TYPE_DRAFTS,
157 Mailbox.TYPE_OUTBOX,
158 Mailbox.TYPE_SENT,
159 Mailbox.TYPE_TRASH
164 Mailbox mailbox = Mailbox.getMailboxForPath(mContext, mAccount.mId, POP3_MAILBOX_NAME); local
165 updateMailbox(mailbox, mAccount.mId, POP3_MAILBOX_NAME, '\0', true, Mailbox.TYPE_INBOX)
    [all...]
ImapStore.java 45 import com.android.emailcommon.provider.Mailbox;
319 * Creates a mailbox hierarchy out of the flat data provided by the server.
326 final Mailbox mailbox = folder.mMailbox; local
327 int delimiterIdx = mailbox.mServerId.lastIndexOf(mailbox.mDelimiter);
328 long parentKey = Mailbox.NO_MAILBOX;
332 final Mailbox parentMailbox = (parentFolder == null) ? null : parentFolder.mMailbox;
336 |= (Mailbox.FLAG_HAS_CHILDREN | Mailbox.FLAG_CHILDREN_VISIBLE)
356 Mailbox mailbox = Mailbox.getMailboxForPath(context, accountId, mailboxPath); local
    [all...]
ImapFolder.java 49 import com.android.emailcommon.provider.Mailbox;
76 /** The local mailbox associated with this remote folder */
77 Mailbox mMailbox;
1063 final Mailbox mailbox = mMailbox; local
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
MailboxSettings.java 44 import com.android.emailcommon.provider.Mailbox;
50 * "Mailbox settings" activity.
52 * It's used to update per-mailbox sync settings. It normally updates Mailbox settings, unless
53 * the target mailbox is Inbox, in which case it updates Account settings instead.
62 private static final String BUNDLE_MAILBOX = "MailboxSettings.mailbox";
70 // Account and Mailbox -- directly loaded by LoadMailboxTask
72 private Mailbox mMailbox;
79 * Starts the activity for a mailbox.
91 final long mailboxId = getIntent().getLongExtra(EXTRA_MAILBOX_ID, Mailbox.NO_MAILBOX)
345 final Mailbox mailbox = mMailbox; local
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
MailboxFragmentAdapter.java 48 import com.android.emailcommon.provider.Mailbox;
55 * Mailbox cursor adapter for the mailbox list fragment.
57 * A mailbox cursor may contain one of several different types of data. Currently, this
59 * 1. The standard inbox, mailbox view
60 * 2. The combined mailbox view
73 /** Callback for setting background of mailbox list items during a drag */
92 // The following types are used when drilling into a mailbox
93 /** The current mailbox */
105 * Projection for a typical mailbox or account row
575 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mailboxId); local
    [all...]
MessagesAdapter.java 40 import com.android.emailcommon.provider.Mailbox;
109 /** 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. */
114 public final Mailbox mMailbox;
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; local
    [all...]
UIControllerBase.java 42 import com.android.emailcommon.provider.Mailbox;
546 openMailbox(accountId, Mailbox.QUERY_ALL_INBOXES);
548 long inboxId = Mailbox.findMailboxOfType(mActivity, accountId, Mailbox.TYPE_INBOX);
549 if (inboxId == Mailbox.NO_MAILBOX) {
568 * Returns the id of the parent mailbox used for the mailbox list fragment.
575 : Mailbox.NO_MAILBOX;
579 * Returns the id of the mailbox used for the message list fragment.
586 : Mailbox.NO_MAILBOX
709 Mailbox mailbox = getSearchableMailbox(); local
804 Mailbox mailbox = getMessageListFragment().getMailbox(); local
    [all...]
  /packages/apps/Email/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/Exchange/exchange2/src/com/android/exchange/
EasOutboxService.java 39 import com.android.emailcommon.provider.Mailbox;
83 protected EasOutboxService(Context _context, Mailbox _mailbox) {
293 // Then, we need the serverId of the mailbox
294 cols = Utility.getRowColumns(context, Mailbox.CONTENT_URI, boxId,
345 // The reference message and mailbox are called item and collection in EAS
536 Mailbox mailbox = Mailbox.restoreMailboxOfType(context, accountId, Mailbox.TYPE_OUTBOX); local
537 if (mailbox != null)
    [all...]
EasAccountService.java 40 import com.android.emailcommon.provider.Mailbox;
65 * AccountMailbox handles sync for the EAS "account mailbox"; this includes sync of the mailbox list
66 * as well as management of mailbox push (using the EAS "Ping" command
71 '=' + Mailbox.CHECK_INTERVAL_PING;
73 MailboxColumns.SYNC_INTERVAL + " IN (" + Mailbox.CHECK_INTERVAL_PING +
74 ',' + Mailbox.CHECK_INTERVAL_PUSH + ") AND " + MailboxColumns.TYPE + "!=\"" +
75 Mailbox.TYPE_EAS_ACCOUNT_MAILBOX + '\"';
78 '=' + Mailbox.CHECK_INTERVAL_PUSH_HOLD;
108 // The amount of time the account mailbox will sleep if there are no pingable mailboxe
481 Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mailboxId); local
    [all...]
EasSyncService.java 49 import com.android.emailcommon.provider.Mailbox;
178 protected EasSyncService(Context _context, Mailbox _mailbox) {
202 public static EasSyncService getServiceForMailbox(Context context, Mailbox m) {
204 case Mailbox.TYPE_EAS_ACCOUNT_MAILBOX:
206 case Mailbox.TYPE_OUTBOX:
1598 Mailbox mailbox = target.mMailbox; local
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Mailbox.java 34 public class Mailbox extends EmailContent implements SyncColumns, MailboxColumns, Parcelable {
35 public static final String TABLE_NAME = "Mailbox";
37 public static final Uri CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI + "/mailbox");
136 // Sentinel values for the mSyncInterval field of both Mailbox records
140 // Ping indicates that the EAS mailbox is synced based on a "ping" from the server
142 // Push-Hold indicates an EAS push or ping Mailbox shouldn't sync just yet
151 public static final Integer[] INVALID_DROP_TARGETS = new Integer[] {Mailbox.TYPE_DRAFTS,
152 Mailbox.TYPE_OUTBOX, Mailbox.TYPE_SENT};
155 MailboxColumns.TYPE + "<" + Mailbox.TYPE_NOT_EMAIL
283 Mailbox mailbox = null; local
303 Mailbox mailbox = restoreMailboxForPath(context, accountId, path); local
    [all...]
  /packages/apps/Email/src/com/android/email/
Controller.java 50 import com.android.emailcommon.provider.Mailbox;
95 MailboxColumns.TYPE + "=" + Mailbox.TYPE_ATTACHMENT;
112 Mailbox.TYPE_EAS_ACCOUNT_MAILBOX;
207 * Delete all Messages that live in the attachment mailbox
210 // Note: There should only be one attachment mailbox at present
214 c = resolver.query(Mailbox.CONTENT_URI, EmailContent.ID_PROJECTION,
232 * Get a mailbox based on a sqlite WHERE clause
234 private Mailbox getGlobalMailboxWhere(String where) {
235 Cursor c = mProviderContext.getContentResolver().query(Mailbox.CONTENT_URI,
236 Mailbox.CONTENT_PROJECTION, where, null, null)
296 Mailbox mailbox = getAttachmentMailbox(); local
790 Mailbox mailbox = Mailbox.getMailboxForMessageId(mProviderContext, messageId); local
    [all...]
MessagingController.java 56 import com.android.emailcommon.provider.Mailbox;
74 * 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
146 private Mailbox mLastSearchRemoteMailbox = null;
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
274 Mailbox.CONTENT_URI,
280 // Step 3: Remove any local mailbox not on the remote list
283 // Short circuit if we have a remote mailbox with the same nam
618 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, searchParams.mMailboxId); local
1125 Mailbox mailbox = new Mailbox(); local
1170 Mailbox mailbox = getRemoteMailboxForMessage(oldMessage); local
1235 Mailbox mailbox = null; local
1331 Mailbox mailbox = null; local
    [all...]
  /packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
FolderSyncParser.java 32 import com.android.emailcommon.provider.Mailbox;
74 // Chunk size for our mailbox commits
83 MailboxColumns.TYPE + "!=" + Mailbox.TYPE_EAS_ACCOUNT_MAILBOX;
120 UNINITIALIZED_PARENT_KEY.put(MailboxColumns.PARENT_KEY, Mailbox.PARENT_KEY_UNINITIALIZED);
141 // only the account mailbox
145 mContentResolver.delete(Mailbox.CONTENT_URI, ALL_BUT_ACCOUNT_MAILBOX,
174 // Save away any mailbox sync information that is NOT default
177 mContentResolver.delete(Mailbox.CONTENT_URI, ALL_BUT_ACCOUNT_MAILBOX,
217 return mContentResolver.query(Mailbox.CONTENT_URI, MAILBOX_ID_COLUMNS_PROJECTION,
226 // Find the mailbox in this account with the given serverI
351 Mailbox mailbox = new Mailbox(); local
558 Mailbox mailbox = addParser(); local
    [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/store/
ImapStoreUnitTests.java 57 import com.android.emailcommon.provider.Mailbox;
87 * {@link Mailbox#FLAG_ACCEPTS_MOVED_MAIL} and {@link Mailbox#FLAG_HOLDS_MAIL}.
538 * TODO: Test the process of opening and indexing a mailbox with one unread message in it.
2307 Mailbox mailbox = new Mailbox(); local
    [all...]

Completed in 2350 milliseconds

1 2