Home | History | Annotate | Download | only in exchange

Lines Matching refs:mailbox

49 import com.android.emailcommon.provider.Mailbox;
182 protected EasSyncService(Context _context, Mailbox _mailbox) {
206 public static EasSyncService getServiceForMailbox(Context context, Mailbox m) {
208 case Mailbox.TYPE_EAS_ACCOUNT_MAILBOX:
210 case Mailbox.TYPE_OUTBOX:
948 * TODO: make watchdog actually work (it doesn't understand our service w/Mailbox == 0)
1066 * @param req the request (message id and "to" mailbox id)
1070 // Retrieve the message and mailbox; punt if either are null
1076 Mailbox srcMailbox = null;
1079 srcMailbox = Mailbox.restoreMailboxWithId(mContext, c.getLong(0));
1084 Mailbox dstMailbox = Mailbox.restoreMailboxWithId(mContext, req.mMailboxId);
1103 // Restore the old mailbox id
1145 // Retrieve the message and mailbox; punt if either are null
1148 Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, msg.mMailboxKey);
1149 if (mailbox == null) return;
1153 s.data(Tags.MREQ_COLLECTION_ID, mailbox.mServerId);
1376 int type = c.getInt(Mailbox.CONTENT_TYPE_COLUMN);
1377 if (type == Mailbox.TYPE_CONTACTS) {
1379 } else if (type == Mailbox.TYPE_CALENDAR) {
1622 Mailbox mailbox = target.mMailbox;
1687 .data(Tags.SYNC_COLLECTION_ID, mailbox.mServerId);
1718 // no changes in the mailbox; handle that case here
1779 if (mMailbox.mSyncInterval == Mailbox.CHECK_INTERVAL_PUSH) {
1780 userLog("Changing mailbox from push to ping");
1782 cv.put(Mailbox.SYNC_INTERVAL, Mailbox.CHECK_INTERVAL_PING);
1784 ContentUris.withAppendedId(Mailbox.CONTENT_URI, mMailbox.mId),
1818 // Make sure account and mailbox are always the latest from the database
1821 mMailbox = Mailbox.restoreMailboxWithId(mContext, mMailbox.mId);
1874 // Make sure account and mailbox are still valid
1879 // Whether or not we're the account mailbox
1887 if (mMailbox.mType == Mailbox.TYPE_CONTACTS) {
1893 } else if (mMailbox.mType == Mailbox.TYPE_CALENDAR) {
1934 cv.put(Mailbox.SYNC_TIME, System.currentTimeMillis());
1936 cv.put(Mailbox.SYNC_STATUS, s);
1937 mContentResolver.update(ContentUris.withAppendedId(Mailbox.CONTENT_URI,
1945 // Ask for a new folder list. This should wake up the account mailbox; a
1946 // security error in account mailbox should start provisioning