HomeSort by relevance Sort by last modified time
    Searched refs:Mailbox (Results 26 - 50 of 99) sorted by null

12 3 4

  /packages/apps/Email/src/com/android/email/
MessageListContext.java 26 import com.android.emailcommon.provider.Mailbox;
34 * {@link Mailbox} ID, or {@link SearchParams}.
45 * The mailbox ID containing the messages. Must not be {@link Mailbox#NO_MAILBOX}.
51 * If non-null, {@link #mMailboxId} will always correspond to the search mailbox for the user.
71 long mailboxId = intent.getLongExtra(EmailActivity.EXTRA_MAILBOX_ID, Mailbox.NO_MAILBOX);
85 if (mailboxId == Mailbox.NO_MAILBOX) {
87 ? Mailbox.QUERY_ALL_INBOXES
88 : Mailbox.findMailboxOfType(context, accountId, Mailbox.TYPE_INBOX)
    [all...]
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/Email/src/org/apache/james/mime4j/field/address/
NamedMailbox.java 23 * A Mailbox that has a name/description.
27 public class NamedMailbox extends Mailbox {
31 * @see Mailbox#Mailbox(String, String)
39 * @see Mailbox#Mailbox(DomainList, String, String)
47 * Creates a named mailbox based on an unnamed mailbox.
49 public NamedMailbox(String name, Mailbox baseMailbox) {
55 * Returns the name of the mailbox.
    [all...]
  /packages/apps/Exchange/exchange2/tests/src/com/android/exchange/
EasOutboxServiceTests.java 21 import com.android.emailcommon.provider.Mailbox;
33 EasOutboxService svc = new EasOutboxService(mProviderContext, new Mailbox());
  /packages/apps/Exchange/tests/src/com/android/exchange/
EasOutboxServiceTests.java 21 import com.android.emailcommon.provider.Mailbox;
33 EasOutboxService svc = new EasOutboxService(mProviderContext, new Mailbox());
  /packages/apps/Exchange/exchange2/src/com/android/exchange/
ExchangeService.java 63 import com.android.emailcommon.provider.Mailbox;
111 // The ExchangeService's mailbox "id"
130 // Mailbox was marked push
148 Mailbox.TYPE_EAS_ACCOUNT_MAILBOX + " and " + MailboxColumns.SYNC_INTERVAL +
149 " IN (" + Mailbox.CHECK_INTERVAL_PING + ',' + Mailbox.CHECK_INTERVAL_PUSH + ')';
151 MailboxColumns.ACCOUNT_KEY + "=? and type in (" + Mailbox.TYPE_INBOX + ','
152 + Mailbox.TYPE_EAS_ACCOUNT_MAILBOX + ',' + Mailbox.TYPE_CONTACTS + ','
153 + Mailbox.TYPE_CALENDAR + ')'
1358 Mailbox mailbox = new Mailbox(); local
1648 Mailbox mailbox = service.mMailbox; local
    [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...]
EmailSyncAdapterService.java 22 import com.android.emailcommon.provider.Mailbox;
45 MailboxColumns.ACCOUNT_KEY + "=? AND " + MailboxColumns.TYPE + '=' + Mailbox.TYPE_INBOX;
104 Cursor mailboxCursor = cr.query(Mailbox.CONTENT_URI, ID_PROJECTION,
  /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/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/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...]
  /packages/apps/Email/tests/src/com/android/email/activity/
MessagesAdapterTests.java 26 import com.android.emailcommon.provider.Mailbox;
32 // Mailbox ID that's probably not in the database.
54 Mailbox box = ProviderTestUtils.setupMailbox("name", accountId, false, mProviderContext);
68 * Test for normal case. (account, mailbox found)
72 final long mailboxId = createMailbox(accountId, Mailbox.TYPE_MAIL);
87 final long mailboxId = createMailbox(accountId, Mailbox.TYPE_MAIL);
102 final long mailboxId = createMailbox(accountId, Mailbox.TYPE_DRAFTS);
113 * Mailbox not found.
129 final long mailboxId = createMailbox(NO_SUCH_ACCOUNT_ID, Mailbox.TYPE_MAIL);
140 * Magic mailbox. (always found
    [all...]
MailboxFinderTest.java 31 import com.android.emailcommon.provider.Mailbox;
106 * Create a mailbox and return the ID.
109 Mailbox box = new Mailbox();
110 box.mServerId = box.mDisplayName = "mailbox";
154 createAndStartFinder(accountId, Mailbox.TYPE_INBOX);
170 createAndStartFinder(123456, Mailbox.TYPE_INBOX); // No such account.
183 * Test: Mailbox found
187 final long mailboxId = createMailbox(accountId, Mailbox.TYPE_INBOX);
189 createAndStartFinder(accountId, Mailbox.TYPE_INBOX)
    [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/
StoreTests.java 29 import com.android.emailcommon.provider.Mailbox;
97 Mailbox testMailbox = new Mailbox();
99 Store.updateMailbox(testMailbox, 1L, "inbox", '/', true, Mailbox.TYPE_MAIL);
105 Store.updateMailbox(testMailbox, 2L, "inbox/a", '/', true, Mailbox.TYPE_MAIL);
111 Store.updateMailbox(testMailbox, 3L, "inbox/a/b/c/d", '/', true, Mailbox.TYPE_MAIL);
117 Store.updateMailbox(testMailbox, 4L, "inbox/a/b/c", '\0', true, Mailbox.TYPE_MAIL);
  /packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
AbstractSyncParser.java 26 import com.android.emailcommon.provider.Mailbox;
44 protected Mailbox mMailbox;
140 mMailbox.mSyncInterval = Mailbox.CHECK_INTERVAL_PUSH;
185 if (mMailbox.mSyncInterval == Mailbox.CHECK_INTERVAL_PUSH) {
186 mMailbox.mSyncInterval = Mailbox.CHECK_INTERVAL_PING;
211 userLog("Changes found to ping loop mailbox ", mMailbox.mDisplayName, ": will ping.");
212 cv.put(MailboxColumns.SYNC_INTERVAL, Mailbox.CHECK_INTERVAL_PING);
226 userLog("Aborting account syncs due to mailbox change to ping...");
Search.java 30 import com.android.emailcommon.provider.Mailbox;
72 Mailbox searchMailbox = Mailbox.restoreMailboxWithId(context, destMailboxId);
77 // Set the status of this mailbox to indicate query
78 statusValues.put(Mailbox.UI_SYNC_STATUS, UIProvider.SyncStatus.LIVE_QUERY);
85 s.data(Tags.SEARCH_NAME, "Mailbox");
90 Mailbox inbox = Mailbox.restoreMailboxOfType(context, accountId, Mailbox.TYPE_INBOX);
135 // Set the status of this mailbox to indicate query ove
    [all...]
  /packages/apps/Email/src/com/android/email/provider/
DBHelper.java 49 import com.android.emailcommon.provider.Mailbox;
61 "create trigger mailbox_delete before delete on " + Mailbox.TABLE_NAME +
73 " begin delete from " + Mailbox.TABLE_NAME +
95 // Version 13: Add messageCount to Mailbox table.
99 // Version 17: Add parentKey to Mailbox table
100 // Version 18: Copy Mailbox.displayName to Mailbox.serverId for all IMAP & POP3 mailboxes.
101 // Column Mailbox.serverId is used for the server-side pathname of a mailbox.
105 // Version 21: Add lastSeenMessageKey column to Mailbox tabl
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
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...]
MailboxFinder.java 25 import com.android.emailcommon.provider.Mailbox;
34 * A class that finds a mailbox ID by account ID and mailbox type.
36 * If an account doesn't have a mailbox of a specified type, it refreshes the mailbox list and
135 // Error while updating the mailbox list. Notify the UI...
142 // Mailbox list updated, look for mailbox again...
150 * Async task for finding a single mailbox by type. If a mailbox of a type is not found
    [all...]
ShortcutPicker.java 34 import com.android.emailcommon.provider.Mailbox;
93 (Mailbox.getMailboxType(this, mailboxId) != Mailbox.TYPE_INBOX)) {
94 shortcutName = Mailbox.getDisplayName(this, mailboxId);
104 // TODO what's the proper handling if the mailbox list is '0'? display toast?
  /packages/apps/Email/src/com/android/email/service/
PopImapSyncAdapterService.java 36 import com.android.emailcommon.provider.Mailbox;
97 long mailboxId = Mailbox.findMailboxOfType(context, accountId,
98 Mailbox.TYPE_INBOX);
  /packages/apps/Email/src/com/android/email/mail/
Store.java 33 import com.android.emailcommon.provider.Mailbox;
180 * 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,
185 mailbox.mAccountKey = accountId;
186 mailbox.mDelimiter = delimiter;
192 mailbox.mDisplayName = displayPath;
194 mailbox.mFlags = Mailbox.FLAG_HOLDS_MAIL | Mailbox.FLAG_ACCEPTS_MOVED_MAIL
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
SearchParams.java 22 import com.android.emailcommon.provider.Mailbox;
26 public static final long ALL_MAILBOXES = Mailbox.NO_MAILBOX;
31 // The id of the mailbox to be searched; if -1, all mailboxes MUST be searched
33 // If true, all subfolders of the specified mailbox MUST be searched
45 // The id of the "search" mailbox being used

Completed in 575 milliseconds

12 3 4