Home
last modified time | relevance | path

Searched refs:ExchangeService (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Exchange/exchange2/src/com/android/exchange/
DEasAccountService.java149 mDeviceId = ExchangeService.getDeviceId(mContext); in run()
167 ExchangeService.done(this); in run()
174 ExchangeService.reloadFolderList(mContext, mAccount.mId, true); in run()
185 ExchangeService.kick("sync finished"); in run()
223 ExchangeService.callback() in sync()
248 ExchangeService.kick("change ping boxes to push"); in sync()
305 ExchangeService.WHERE_IN_ACCOUNT_AND_PUSHABLE, in sync()
313 if (!ExchangeService.canAutoSync(mAccount)) return; in sync()
356 ExchangeService.callback() in sync()
406 ExchangeService.callback().syncMailboxListStatus(mAccount.mId, in sync()
[all …]
DMailboxAlarmReceiver.java32 long mailboxId = intent.getLongExtra("mailbox", ExchangeService.EXTRA_MAILBOX_ID); in onReceive()
34 if (mailboxId == ExchangeService.EXCHANGE_SERVICE_MAILBOX_ID) { in onReceive()
35 context.startService(new Intent(context, ExchangeService.class)); in onReceive()
37 ExchangeService.alert(context, mailboxId); in onReceive()
DExchangeService.java107 public class ExchangeService extends Service implements Runnable { class
219 protected static ExchangeService INSTANCE;
354 hostAuth, ExchangeService.this);
364 ExchangeService exchangeService = INSTANCE;
417 startManualSync(mailboxId, userRequest ? ExchangeService.SYNC_UI_REQUEST :
418 ExchangeService.SYNC_SERVICE_START_SYNC, null);
428 Attachment att = Attachment.restoreAttachmentWithId(ExchangeService.this, attachmentId);
435 reloadFolderList(ExchangeService.this, accountId, false);
440 ExchangeService exchangeService = INSTANCE;
507 ExchangeService exchangeService = INSTANCE;
[all …]
DEmailSyncAlarmReceiver.java69 String selector = ExchangeService.getEasAccountSelector(); in handleReceive()
108 ExchangeService.serviceRequest(mailboxId, ExchangeService.SYNC_UPSYNC); in handleReceive()
DEasSyncService.java392 svc.mDeviceId = ExchangeService.getDeviceId(context); in setupServiceForAccount()
443 mDeviceId = ExchangeService.getDeviceId(context); in validateAccount()
1233 return ExchangeService.getClientConnectionManager(mSsl, mPort); in getClientConnectionManager()
1281 ExchangeService.runAsleep(mMailboxId, alarmTime); in executePostWithTimeout()
1283 ExchangeService.setWatchdogAlarm(mMailboxId, alarmTime); in executePostWithTimeout()
1291 ExchangeService.runAwake(mMailboxId); in executePostWithTimeout()
1293 ExchangeService.clearWatchdogAlarm(mMailboxId); in executePostWithTimeout()
1391 ExchangeService.alwaysLog("!!! Remote wipe request received"); in tryProvision()
1395 ExchangeService.stopNonAccountMailboxSyncsForAccount(account.mId); in tryProvision()
1400 ExchangeService.alwaysLog("!!! Acknowledging remote wipe to server"); in tryProvision()
[all …]
DEmailSyncAdapterService.java110 ExchangeService.serviceRequest(mailboxCursor.getLong(0), in performSync()
111 ExchangeService.SYNC_KICK); in performSync()
DCalendarSyncAdapterService.java141 ExchangeService.serviceRequest(mailboxCursor.getLong( in performSync()
142 ID_SYNC_KEY_MAILBOX_ID), ExchangeService.SYNC_UPSYNC); in performSync()
DContactsSyncAdapterService.java143 ExchangeService.serviceRequest(mailboxCursor.getLong(0), in performSync()
144 ExchangeService.SYNC_UPSYNC); in performSync()
DEasOutboxService.java243 ExchangeService.callback().sendMessageStatus(msgId, subject, status, 0); in sendCallback()
484 mDeviceId = ExchangeService.getDeviceId(mContext); in run()
525 ExchangeService.done(this); in run()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/
DExchangeServiceAccountTests.java24 import com.android.exchange.ExchangeService.SyncError;
42 ExchangeService exchangeService = new ExchangeService(); in testReleaseSyncHolds()
116 assertFalse(ExchangeService.isSyncable(box1)); in testIsSyncable()
117 assertFalse(ExchangeService.isSyncable(box2)); in testIsSyncable()
118 assertFalse(ExchangeService.isSyncable(box3)); in testIsSyncable()
119 assertFalse(ExchangeService.isSyncable(box4)); in testIsSyncable()
120 assertTrue(ExchangeService.isSyncable(box5)); in testIsSyncable()
DExchangeServiceTest.java44 final String id = ExchangeService.getDeviceId(context); in testGetDeviceId()
53 final String cachedId = ExchangeService.getDeviceId(context); in testGetDeviceId()
/packages/apps/Exchange/tests/src/com/android/exchange/
DExchangeServiceAccountTests.java24 import com.android.exchange.ExchangeService.SyncError;
42 ExchangeService exchangeService = new ExchangeService(); in testReleaseSyncHolds()
116 assertFalse(ExchangeService.isSyncable(box1)); in testIsSyncable()
117 assertFalse(ExchangeService.isSyncable(box2)); in testIsSyncable()
118 assertFalse(ExchangeService.isSyncable(box3)); in testIsSyncable()
119 assertFalse(ExchangeService.isSyncable(box4)); in testIsSyncable()
120 assertTrue(ExchangeService.isSyncable(box5)); in testIsSyncable()
DExchangeServiceTest.java44 final String id = ExchangeService.getDeviceId(context); in testGetDeviceId()
53 final String cachedId = ExchangeService.getDeviceId(context); in testGetDeviceId()
/packages/apps/Exchange/exchange2/src/com/android/exchange/service/
DExchangeBroadcastProcessorService.java27 import com.android.exchange.ExchangeService;
74 ExchangeService.runAccountReconcilerSync(this); in onHandleIntent()
83 startService(new Intent(this, ExchangeService.class)); in onBootCompleted()
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DAbstractSyncParser.java30 import com.android.exchange.ExchangeService;
154 ExchangeService.reloadFolderList(mContext, mAccount.mId, true); in parse()
227 ExchangeService.stopAccountSyncs(mAccount.mId); in parse()
DAttachmentLoader.java32 import com.android.exchange.ExchangeService;
77 ExchangeService.callback().loadAttachmentStatus(mMessageId, mAttachmentId, status, 0); in doStatusCallback()
85 ExchangeService.callback().loadAttachmentStatus(mMessageId, mAttachmentId, in doProgressCallback()
DSearch.java37 import com.android.exchange.ExchangeService;
138 ExchangeService.callback().syncMailboxStatus(destMailboxId, in searchMessages()
DFolderSyncParser.java39 import com.android.exchange.ExchangeService;
173 ExchangeService.deleteAccountPIMData(mAccountId); in parse()
180 ExchangeService.stopNonAccountMailboxSyncsForAccount(mAccountId); in parse()
DCalendarSyncAdapter.java56 import com.android.exchange.ExchangeService;
222 ExchangeService.unregisterCalendarObservers(); in wipe()
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
DCalendarUtilities.java51 import com.android.exchange.ExchangeService;
374 ExchangeService.log(TAG, "TZI string for " + tz.getDisplayName() + in timeZoneToTziString()
750 ExchangeService.log(TAG, " Using cached TimeZone " + timeZone.getID()); in tziStringToTimeZone()
757 ExchangeService.alwaysLog("TimeZone not found using default: " + timeZoneString); in tziStringToTimeZone()
805 ExchangeService.log(TAG, "TimeZone without DST found to be default: " + in tziStringToTimeZoneImpl()
817 ExchangeService.log(TAG, "TimeZone without DST found by offset: " + in tziStringToTimeZoneImpl()
874 ExchangeService.log(TAG, in tziStringToTimeZoneImpl()
1189 ExchangeService.log(TAG, "RRULE: " + rrule); in recurrenceFromRrule()