History log of /packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bb0141b49e7eff978fa445249dc888461ea581e3 03-Jun-2014 Martin Hibdon <mhibdon@google.com> Delete obsolete code

ExchangeService was only being used for GalSearch. That
code has been moved EasService.
Other services, EasAccountService, EasOutboxService, and
EasSyncService are no longer used and have been removed,
along with a bunch of other unused helper classes.

Change-Id: I25c7e53896125818cfd6d3e3bf630ff671f142d1
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
add575db94f86397c9246d89ed85d29968b5aeaa 26-Sep-2013 Alon Albert <aalbert@google.com> Increase Sync Windows

Bug: 10935007

Change-Id: Ibf97b9369398a394f4cda60624386559c842a031
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
df177fdec2013e94eb77405ff1c4d0cb95707add 02-Aug-2013 Scott Kennedy <skennedy@google.com> Remove some warnings

Change-Id: Ia4064f86a8d97229e006e6537a9e8ed23e2e802f
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
6e66ab513197793c34f5dcda159043da39224ff9 29-May-2013 Yu Ping Hu <yph@google.com> Initial fix for Contacts and Calendar.

This comes in a few parts:
- We can't use the same SyncAdapter service for all
sync types, so for now this forwards syncs to the
Contacts and Calendar services to the Email service.
This should get cleaned up later.
- Refactor EasSyncHandler to cover all the common code for
syncing Exchange collections and adjust
EasMailboxSyncHandler to match this change.
- Implement EasSyncHandler subclasses for Contacts and
Calendar.

This is only a first pass -- for example, upsync is
still not yet implemented.

Change-Id: I722b540830b292bac4c79bf8426d8eec62112d9d
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
c9e47f85203da0ea3b6e9a49aa2007d1fc6f0814 08-May-2013 Yu Ping Hu <yph@google.com> Cleave sync adapter from ExchangeService.

All manual syncs now go through the system sync manager,
with no involvement of the SyncManager or the
ExchangeService (hopefully).

Push is not yet properly implemented in the new way.

Change-Id: I62477ff963016f878e244144d5ebbebce7fe2521
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
e6c2456aa6c00ef78c6d1d1621511d7ef8507f83 28-Jun-2012 Marc Blank <mblank@google.com> DO NOT MERGE: Move exchange2 files up a level

* Goodbye, exchange1

Change-Id: Id2fc093cd43a55815047ab091b6a49c3d1138888
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
151bc93f5ff1da031ff0500ab460c2aac79f7416 09-Nov-2011 Marc Blank <mblank@google.com> Handle binder transaction failures in CalendarSyncAdapter

* Created a facility for handling the newly implemented
TransactionTooLargeException that the framework can throw if
we send a too-large batch of data to a content provider.
* For now, we're just using this with CalendarSyncAdapter,
which is where we've seen problems in the past, and in
the referenced bug.
* The test account hits the exception, and then appars to
successfully finish syncing the calendar

Bug: 5516422
Change-Id: I3c7ce3ada940464d1ee1f69bd6192640ebbd8fa3
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
7372782488977df778a33d990401ce9e397f646b 14-Jun-2011 Marc Blank <mblank@google.com> Support move of Account to its own top-level class

Change-Id: Ibf427ddcfb0566354ea169997c56a67de1897c0b
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
4d8774462ace9a45154b2df418b9f2fe7a9c685d 14-May-2011 Ben Komalo <benkomalo@google.com> Move Mailbox to top level class.

No other changes made.
Depends on E-mail change.

Change-Id: I549fb2cb7e942f1885ec40a6619dc491f63c0de2
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
77186bb1a174432ef272584374942d8b9228e39c 20-Apr-2011 Marc Blank <mblank@google.com> EAS 14.1 implementation

* Includes ABQ implementation
* Handle various quarantine (and other service denial errors) both
in validation and during a sync

Change-Id: I8b166c2364fd858847de66cbe974f04a9382fca4
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
c8e4352ea6cfa67f15140512e84af8ccede222d2 15-Feb-2011 Marc Blank <mblank@google.com> Separate Exchange application

* Clean up AndroidManifest, Android.mk, and proguard.flags
* Refactor to use emailcommon
* Remove Email app code/resources (note: this CL starts from the
single Email application)
* Update Exchange unit tests to use EmailProvider "live" and
clean up after itself
* All unit tests pass

Bug: 3442973
Change-Id: Iced00ae546dd4ddb9a66e297d3ac2dc2977e20eb
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
d62e26b2ce5a09de6a43c1d2d4f4692eb5aac81a 17-Jan-2011 Marc Blank <mblank@google.com> Delete message when Sync/Fetch fails with "object not found"

Bug: 3361222
Change-Id: I885b18612e8b5b4e7b7f50bc73f2b6a76c2242ad
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
6f898deac953e5838fa28f47a16e0fb92bbc81eb 16-Nov-2010 Marc Blank <mblank@google.com> Implement password expiration for EAS

* Hoist wipe() method from AbstractSyncParser to AbstractSyncAdapter
* Add deleteAccountPIMData(accountId) to the EmailService API
* Implement deleteAccountPIMData for EAS

Change-Id: I1037cde25fc2b24419f399446cfa0906dc0174d1
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
be92bde6f73161c211c8053b5ed3ef3e809ff6d7 21-Sep-2010 Marc Blank <mblank@google.com> Restore sync window to PIM syncs

* The code to enforce a sync window (limit to the number of items
synced per request) was inadvertently removed in an earlier
CL; restore it here

Bug: 3018568
Change-Id: Ib2377b36999b92d0bcef1b159416f46016137100
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
4f15001bdfd11c79524b4e44d60041967779e763 13-Sep-2010 Marc Blank <mblank@google.com> HTML support for EAS 2.5 email

* Load MIME data for these messages and parse, looking for a body either
in HTML or plain text or both
* If the MIME data had been trunctated and we can't find text, mark the
message as partially loaded and load the body text as we did before
(i.e. get the plain text body); this should be a rare case

TODO: Consider what is testable in the new EmailSyncAdapter code

Change-Id: I00a3066a373a0596431335593de356a4dda7f036
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
8efd25be4e1db3c0c79aae2ca1b4664b21bb410b 19-May-2010 Marc Blank <mblank@google.com> Allow limited looping requests in sync

* Microsoft has documented cases in which the server can continue to
send MoreAvailable=true even when no new data is received. This
can cause looping behavior, which we stop when we recognize it.
* This workaround, however, can prevent the situation from resolving
itself, and lead to delayed sync (up to a few hours has been noticed)
* In this limited CL, we allow the sync to loop up to a maximum number
of times before stopping it forcibly.

Bug: 2685984
Change-Id: I85981b85b71c4e7d53e69da2520543e8ef04c889
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
aa288fe7ccbd28abcf990ce8337f2da677a1d370 01-Mar-2010 Marc Blank <mblank@google.com> Stop calendar/contacts sync in progress when sync setting is turned off

* Syncs in progress weren't checking the getSyncAutomatically setting in
the account; therefore, a long sync would continue running even though the
user unchecked the "Sync Calendar/Contacts" box in the settings
* Make the adapters check the flag each time through its sync loop (which
is currently 5 items); this should cause in-progress syncs to stop within
a few seconds

Bug: 2185319
Change-Id: Ie181f6de4219ecf27fff58ed59a277ae285622c5
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
48af7392c82262d17700e3fbdccf3a582809d449 24-Aug-2009 Marc Blank <mblank@google.com> Add initial support for uploading new Contacts to Exchange server

* Refactor the sync adapters to separate out parsing from commit
* Use ContactsProvider to save the SyncKey for contacts
* Fixes #2072664 and #2072456

Change-Id: I1e85c498496e83d9523489636a75f366f7fbd106
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
36e08ce9f808425ed573e182812f3a82ef4d5d45 17-Aug-2009 Marc Blank <mblank@google.com> Add support for syncing the favorite flag to server (EAS 12.0 and up)

* Add test for date formatting
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
0a4d05f0d8753c67364f7167e62cea82aef9a81e 13-Aug-2009 Marc Blank <mblank@google.com> Cleanup; delete unused files, change log statements

* Two files were unused and therefore deleted
* userLog was changed to avoid using string concatentation until the logging
decision is made
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
8047ef058e41c164c2c8ab230ae8d123f042c167 08-Aug-2009 Marc Blank <mblank@google.com> Switch from HttpURLConnection to HttpClient
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java
7c582a7fb883b3be728f270fbe5277676fe37cf9 31-Jul-2009 Marc Blank <mblank@google.com> Massive reworking of EAS serialization; much smaller and faster now

* Remove all use of Strings in favor of the parser's static final int's
* Strings remain in Tags for debugging output only
* Renamed lots of classes to be more consistent
* Centralized logging behavior in Eas class
* Found and fixed some bugs in the process:
- Account deletion wasn't removing HostAuth's correctly in the trigger
- Adding a second EAS account was trashing the first one
- Fixed looping sync behavior caused by Exchange 2003 bug
/packages/apps/Exchange/src/com/android/exchange/adapter/AbstractSyncAdapter.java