Lines Matching refs:ExchangeService
448 svc.mDeviceId = ExchangeService.getDeviceId(context);
474 mDeviceId = ExchangeService.getDeviceId(context);
1242 return ExchangeService.getClientConnectionManager();
1293 ExchangeService.runAsleep(mMailboxId, alarmTime);
1295 ExchangeService.setWatchdogAlarm(mMailboxId, alarmTime);
1303 ExchangeService.runAwake(mMailboxId);
1305 ExchangeService.clearWatchdogAlarm(mMailboxId);
1403 ExchangeService.alwaysLog("!!! Remote wipe request received");
1407 ExchangeService.stopNonAccountMailboxSyncsForAccount(mAccount.mId);
1411 ExchangeService.alwaysLog("!!! Not device admin; can't wipe");
1418 ExchangeService.alwaysLog("!!! Acknowledging remote wipe to server");
1425 ExchangeService.alwaysLog("!!! Executing remote wipe");
1450 ExchangeService.releaseSecurityHold(mAccount);
1515 ExchangeService.log("PolicySet is NOT fully supportable");
1575 ExchangeService.log("Provision confirmation received for " +
1584 ExchangeService.log("Provision confirmation failed for" +
1641 ExchangeService.callback()
1666 ExchangeService.kick("change ping boxes to push");
1720 ExchangeService.WHERE_IN_ACCOUNT_AND_PUSHABLE,
1728 if (!ExchangeService.canAutoSync(mAccount)) return;
1767 ExchangeService.callback()
1816 ExchangeService.callback().syncMailboxListStatus(mAccount.mId,
1834 ExchangeService.callback()
1896 ExchangeService.kick("push fallback");
1950 // 1) ExchangeService tells us the mailbox is syncable (not running/not stopped)
1953 int pingStatus = ExchangeService.pingStatus(mailboxId);
1955 if (pingStatus == ExchangeService.PING_STATUS_OK) {
1978 } else if ((pingStatus == ExchangeService.PING_STATUS_RUNNING) ||
1979 (pingStatus == ExchangeService.PING_STATUS_WAITING)) {
1981 } else if (pingStatus == ExchangeService.PING_STATUS_UNABLE) {
2029 if (!ExchangeService.canAutoSync(mAccount)) {
2041 ExchangeService.removeFromSyncErrorMap(mMailboxId);
2081 // Nothing to do in this case; this is ExchangeService telling us to try
2097 // 2) ExchangeService abort, due to sync of mailbox. Again, we want to
2121 // TODO Change sleep to wait and use notify from ExchangeService when a sync ends
2149 ExchangeService.runAsleep(mMailboxId, ms+(5*SECONDS));
2157 ExchangeService.runAwake(mMailboxId);
2196 int type = ExchangeService.getStatusType(status);
2198 if (type == ExchangeService.SYNC_PING) {
2199 int changeCount = ExchangeService.getStatusChangeCount(status);
2222 ExchangeService.startManualSync(c.getLong(Mailbox.CONTENT_ID_COLUMN),
2223 ExchangeService.SYNC_PING, null);
2244 // If we have no connectivity, just exit cleanly. ExchangeService will start us up again
2452 ExchangeService.callback().syncMailboxStatus(mMailboxId,
2505 mDeviceId = ExchangeService.getDeviceId(mContext);
2532 if (mSyncReason >= ExchangeService.SYNC_CALLBACK_START ||
2535 ExchangeService.callback().syncMailboxStatus(mMailboxId,
2555 ExchangeService.done(this);
2578 ExchangeService.reloadFolderList(mContext, mAccount.mId, true);
2599 if (mSyncReason != ExchangeService.SYNC_UI_REQUEST &&
2603 ExchangeService.callback().syncMailboxStatus(mMailboxId, status, 0);
2608 // Make sure ExchangeService knows about this
2609 ExchangeService.kick("sync finished");