HomeSort by relevance Sort by last modified time
    Searched refs:mMailbox (Results 1 - 20 of 20) sorted by null

  /packages/apps/Exchange/src/com/android/exchange/eas/
EasSyncBase.java 36 private final Mailbox mMailbox;
44 mMailbox = mailbox;
53 if (mMailbox == null) {
56 if (mMailbox.mSyncKey == null) {
57 mMailbox.mSyncKey = "0";
59 return mMailbox.mSyncKey;
71 mCollectionTypeHandler = getCollectionTypeHandler(mMailbox.mType);
84 final String className = Eas.getFolderClass(mMailbox.mType);
87 mMailbox.mId, className, syncKey);
98 s.data(Tags.SYNC_COLLECTION_ID, mMailbox.mServerId)
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
MailboxSettings.java 78 private Mailbox mMailbox;
112 mMailbox = savedInstanceState.getParcelable(BUNDLE_MAILBOX);
138 outState.putParcelable(BUNDLE_MAILBOX, mMailbox);
157 * Loads {@link #mMailbox} and {@link #mMaxLookback} from DB.
170 mMailbox = Mailbox.restoreMailboxWithId(c, mMailboxId);
172 if (mMailbox != null) {
175 Account.CONTENT_URI, mMailbox.mAccountKey), POLICY_KEY_PROJECTION,
188 if (mMailbox == null) {
192 mSyncEnabledPref.setChecked(mMailbox.mSyncInterval != 0);
193 mSyncLookbackPref.setValue(String.valueOf(mMailbox.mSyncLookback))
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/adapter/
AbstractSyncParser.java 48 protected Mailbox mMailbox;
78 init(adapter.mContext, adapter.mContext.getContentResolver(), adapter.mMailbox,
86 mMailbox = mailbox;
155 mMailbox.mSyncKey = "0";
196 if (mMailbox.mSyncKey.equals("0")) {
200 userLog("Parsed key for ", mMailbox.mDisplayName, ": ", newKey);
201 if (!newKey.equals(mMailbox.mSyncKey)) {
202 mMailbox.mSyncKey = newKey;
222 mMailbox.update(mContext, cv);
AbstractSyncAdapter.java 55 public Mailbox mMailbox;
85 mMailbox = service.mMailbox;
103 if (mMailbox.mSyncKey == null) {
105 mMailbox.mSyncKey = "0";
107 return mMailbox.mSyncKey;
111 mMailbox.mSyncKey = syncKey;
SearchParser.java 29 private final Mailbox mMailbox;
41 mMailbox = mailbox;
85 mMailbox, mAccount);
129 msg.mMailboxKey = mMailbox.mId;
EmailSyncAdapter.java 139 Message.MAILBOX_KEY + "=" + mMailbox.mId, null);
141 Message.MAILBOX_KEY + "=" + mMailbox.mId, null);
143 Message.MAILBOX_KEY + "=" + mMailbox.mId, null);
147 AttachmentUtilities.deleteAllMailboxAttachmentFiles(mContext, mAccount.mId, mMailbox.mId);
151 int syncLookback = mMailbox.mSyncLookback;
153 || mMailbox.mType == Mailbox.TYPE_INBOX) {
199 new String[] {Long.toString(mMailbox.mId)}, null);
220 boolean isTrashMailbox = mMailbox.mType == Mailbox.TYPE_TRASH;
319 if (mMailbox.mType == Mailbox.TYPE_INBOX) {
324 mMailbox.mSyncLookback = lookback
    [all...]
EmailSyncParser.java 97 mMailboxIdAsString = Long.toString(mMailbox.mId);
109 mMailboxIdAsString = Long.toString(mMailbox.mId);
346 msg.mMailboxKey = mMailbox.mId;
751 LogUtils.i(TAG, "Wiping mailbox " + mMailbox);
753 Eas.EXCHANGE_ACCOUNT_MANAGER_TYPE), mMailbox.mId);
    [all...]
CalendarSyncParser.java     [all...]
ContactsSyncParser.java 514 userLog("Contacts SyncKey saved as: ", mMailbox.mSyncKey);
516 mAccountManagerAccount, mMailbox.mSyncKey.getBytes()));
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/adapter/
SyncAdapterTestCase.java 40 public Mailbox mMailbox;
88 service.mMailbox = mailbox;
EmailSyncAdapterTests.java 100 setupSyncParserAndAdapter(mAccount, mMailbox);
110 mSyncAdapter.mMailbox = box1;
180 mMailbox = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true,
185 mMailbox.mId, true, true, mProviderContext);
204 setupSyncParserAndAdapter(mAccount, mMailbox);
235 setupSyncParserAndAdapter(mAccount, mMailbox);
268 setupSyncParserAndAdapter(mAccount, mMailbox);
  /packages/apps/Email/tests/src/com/android/email/mail/store/
ImapStoreUnitTests.java     [all...]
  /packages/apps/Email/emailsync/src/com/android/emailsync/
AbstractSyncService.java 51 public Mailbox mMailbox;
113 mMailbox = _mailbox;
SyncManager.java     [all...]
  /packages/apps/Email/tests/src/com/android/email/service/
AttachmentDownloadServiceTests.java 47 private Mailbox mMailbox;
66 mMailbox = ProviderTestUtils.setupMailbox("mailbox", mAccountId, true, mMockContext);
67 mMailboxId = mMailbox.mId;
  /packages/apps/Exchange/src/com/android/exchange/
EasSyncService.java 245 // mMailbox.mSyncKey = syncKey;
    [all...]
EasAccountService.java 155 if ((mMailbox == null) || (mAccount == null)) {
250 ((System.currentTimeMillis() - mMailbox.mSyncTime) > DateUtils.DAY_IN_MILLIS)) {
283 mMailbox.update(mContext, cv);
    [all...]
EasOutboxService.java 517 new String[] {Long.toString(mMailbox.mId)}, null);
552 userLog(mMailbox.mDisplayName, ": sync finished");
  /packages/apps/Email/src/com/android/email/mail/store/
ImapStore.java 306 final Mailbox mailbox = folder.mMailbox;
313 final Mailbox parentMailbox = (parentFolder == null) ? null : parentFolder.mMailbox;
357 folder.mMailbox = mailbox;
ImapFolder.java 80 Mailbox mMailbox;
    [all...]

Completed in 282 milliseconds