Home
last modified time | relevance | path

Searched refs:mSyncInterval (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DAbstractSyncParser.java116 int interval = mMailbox.mSyncInterval; in parse()
140 mMailbox.mSyncInterval = Mailbox.CHECK_INTERVAL_PUSH; in parse()
185 if (mMailbox.mSyncInterval == Mailbox.CHECK_INTERVAL_PUSH) { in parse()
186 mMailbox.mSyncInterval = Mailbox.CHECK_INTERVAL_PING; in parse()
204 if (mMailbox.mSyncInterval != interval) { in parse()
205 cv.put(MailboxColumns.SYNC_INTERVAL, mMailbox.mSyncInterval); in parse()
209 mAccount.mSyncInterval == Account.CHECK_INTERVAL_PUSH && in parse()
210 mMailbox.mSyncInterval > 0) { in parse()
DFolderSyncParser.java353 mailbox.mSyncInterval = Mailbox.CHECK_INTERVAL_NEVER; in addParser()
357 mailbox.mSyncInterval = mAccount.mSyncInterval; in addParser()
361 mailbox.mSyncInterval = mAccount.mSyncInterval; in addParser()
380 mailbox.mSyncInterval = mAccount.mSyncInterval; in addParser()
/packages/apps/Email/src/com/android/email/activity/setup/
DMailboxSettings.java259 syncInterval = mAccount.mSyncInterval; in getSyncInterval()
261 if (mMailbox.mSyncInterval == 0) { in getSyncInterval()
265 syncInterval = mMailbox.mSyncInterval; in getSyncInterval()
318 mAccount.mSyncInterval = syncInterval; in updateObjects()
321 mMailbox.mSyncInterval = syncInterval; in updateObjects()
355 cv.put(AccountColumns.SYNC_INTERVAL, account.mSyncInterval); in saveToDatabase()
359 cv.put(MailboxColumns.SYNC_INTERVAL, mailbox.mSyncInterval); in saveToDatabase()
DAccountSettingsUtils.java72 cv.put(AccountColumns.SYNC_INTERVAL, account.mSyncInterval); in getAccountContentValues()
/packages/apps/Email/tests/src/com/android/email/service/
DMailServiceTests.java243 easAccount.mSyncInterval = 30; in testSetupSyncReportsLocked()
248 imapAccount.mSyncInterval = 60; in testSetupSyncReportsLocked()
253 pop3Account.mSyncInterval = 90; in testSetupSyncReportsLocked()
302 account1.mSyncInterval = 30; in testSetupSyncReportsWithBadAccounts()
309 account2.mSyncInterval = 30; in testSetupSyncReportsWithBadAccounts()
315 account3.mSyncInterval = 30; in testSetupSyncReportsWithBadAccounts()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java52 public int mSyncInterval; field in Mailbox
258 box.mSyncInterval = Account.CHECK_INTERVAL_NEVER; in newSystemMailbox()
323 mSyncInterval = cursor.getInt(CONTENT_SYNC_INTERVAL_COLUMN); in restore()
350 values.put(MailboxColumns.SYNC_INTERVAL, mSyncInterval); in toContentValues()
567 = mSyncInterval; in getHashes()
615 dest.writeInt(mSyncInterval); in writeToParcel()
642 mSyncInterval = in.readInt(); in Mailbox()
DAccount.java117 public int mSyncInterval; field in Account
219 mSyncInterval = -1; in Account()
264 mSyncInterval = cursor.getInt(CONTENT_SYNC_INTERVAL_COLUMN); in restore()
343 return mSyncInterval; in getSyncInterval()
352 mSyncInterval = minutes; in setSyncInterval()
844 values.put(AccountColumns.SYNC_INTERVAL, mSyncInterval); in toContentValues()
897 dest.writeInt(mSyncInterval); in writeToParcel()
936 mSyncInterval = in.readInt(); in Account()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java57 account.mSyncInterval = Account.CHECK_INTERVAL_NEVER; in setupAccount()
142 box.mSyncInterval = Account.CHECK_INTERVAL_NEVER; in setupMailbox()
307 assertEquals(caller + " mSyncInterval", expect.mSyncInterval, actual.mSyncInterval); in assertAccountEqual()
373 assertEquals(caller + " mSyncInterval", expect.mSyncInterval, actual.mSyncInterval); in assertMailboxEqual()
DAccountBackupRestoreTests.java63 assertEquals(" mSyncInterval", expect.mSyncInterval, actual.mSyncInterval); in assertRestoredAccountEqual()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
DFolderSyncParserTests.java121 box.mSyncInterval = interval; in setupBoxSync()
133 if (a.mSyncInterval != b.mSyncInterval) return false; in syncOptionsSame()
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DFolderSyncParserTests.java121 box.mSyncInterval = interval; in setupBoxSync()
133 if (a.mSyncInterval != b.mSyncInterval) return false; in syncOptionsSame()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
DEmailContentSetupUtils.java72 box.mSyncInterval = Account.CHECK_INTERVAL_NEVER; in setupMailbox()
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DEmailContentSetupUtils.java72 box.mSyncInterval = Account.CHECK_INTERVAL_NEVER; in setupMailbox()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java487 int start = Mailbox.restoreMailboxWithId(c, b1.mId).mSyncInterval; in testUpdateCacheMailboxIdAddToField()
497 assertEquals(start + 1, Mailbox.restoreMailboxWithId(c, b1.mId).mSyncInterval); in testUpdateCacheMailboxIdAddToField()
518 testMailbox.mSyncInterval = 4; in buildTestMailbox()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DExchangeService.java794 if (account.mSyncInterval != updatedAccount.mSyncInterval in onAccountChanged()
799 cv.put(MailboxColumns.SYNC_INTERVAL, updatedAccount.mSyncInterval); in onAccountChanged()
816 account.mSyncInterval = updatedAccount.mSyncInterval; in onAccountChanged()
865 main.mSyncInterval = Mailbox.CHECK_INTERVAL_PUSH; in addAccountMailbox()
DEasAccountService.java301 if (mAccount.mSyncInterval == Account.CHECK_INTERVAL_PUSH) { in sync()
DEasSyncService.java1753 if (mMailbox.mSyncInterval == Mailbox.CHECK_INTERVAL_PUSH) { in sync()
/packages/apps/Email/src/com/android/email/service/
DMailService.java527 int syncInterval = account.mSyncInterval; in setupSyncReportsLocked()
/packages/apps/Email/src/com/android/email/
DController.java262 m.mSyncInterval = Mailbox.CHECK_INTERVAL_NEVER; in getAttachmentMailbox()
281 m.mSyncInterval = Mailbox.CHECK_INTERVAL_NEVER; in getSearchMailbox()