History log of /packages/apps/Exchange/src/com/android/exchange/eas/EasSyncBase.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6506c8ec2c09be76ee70bba69fcd70d64a11982f 10-Mar-2014 Yu Ping Hu <yph@google.com> Allow Junk to be synced.

It isn't enabled by default, but we should permit the user to
sync it if desired.

Change-Id: I8b058f6a510bcb77f0f9ab4113ad59e0200d08d2
/packages/apps/Exchange/src/com/android/exchange/eas/EasSyncBase.java
72eadc9d0a7cc2b4f5a12737ba2e2b32ff26accf 07-Mar-2014 Martin Hibdon <mhibdon@google.com> Fix the build

Change-Id: I9f8d60354c20f768bf6f20746cc5acf8edc26a8d
/packages/apps/Exchange/src/com/android/exchange/eas/EasSyncBase.java
8ee92f0cda3737b8a5ff2159a88d98b43194e98e 07-Mar-2014 Martin Hibdon <mhibdon@google.com> Add EasCalendarSync

Change-Id: I24ce12c72b9269dd98842db974e88cb44392eff0
/packages/apps/Exchange/src/com/android/exchange/eas/EasSyncBase.java
52c9dfbbed3860d9b7dfc60fae466f620464151c 07-Mar-2014 Yu Ping Hu <yph@google.com> Switch contacts sync to an EasSyncBase.

Also includes some changes to EasSyncBase and friends to
accomodate this conversion.

Change-Id: I6b58bbdd9c62120371a92d1a2deddbab302d1b13
/packages/apps/Exchange/src/com/android/exchange/eas/EasSyncBase.java
9a2230380dc95e4b6dd66b14a43d8007dc5f784e 06-Mar-2014 Yu Ping Hu <yph@google.com> Switch to using EasSyncBase for mail downsync.

Also terminate any sync upon encountering its first error --
if we see an io, auth, etc. error, there's no point in trying
further folders.

Change-Id: I08b9a3078b3f17774a6f76a49ff87d37686e694e
/packages/apps/Exchange/src/com/android/exchange/eas/EasSyncBase.java
d6ee5946d0c3c1f47f11259ac3941d9967a9a70d 06-Mar-2014 Martin Hibdon <mhibdon@google.com> Allow EasSyncCollectionTypeBase to use member variables

Change-Id: I5a59b8b1f21fb1dd9e13ddc15a4d9e3f25b45b47
/packages/apps/Exchange/src/com/android/exchange/eas/EasSyncBase.java
7e916f8c90f6d785a5b120d3f5a4d0a11097c024 04-Mar-2014 Yu Ping Hu <yph@google.com> Add EasSyncCollectionTypeBase and its mail sync subclass.

Each collection type (mail, contact, calendar, and eventually more)
has certain details in the request formation and response handling
that differ by type. Rather than subclass the operation, it seems
better to put these details in a different class.

Longer term, this decoupling should make it easier to eventually
send a single sync request for all collections, rather than one
per folder. That is not on tap for this release, however.

This change adds only one subclass, for mail sync. The code is
largely taken from the EasMailboxSyncHandler, which this replaces.
The contacts and calendar subclasses will follow, as will replacing
the old EasSyncHandler set of classes.

Change-Id: I29e20faa5ff332f7af89e48c11577937fcbc983d
/packages/apps/Exchange/src/com/android/exchange/eas/EasSyncBase.java
d1a58bafb5b5e2920bb3c5a88a9539883f7eb786 28-Feb-2014 Yu Ping Hu <yph@google.com> Fix regular sync, part 1.

- Add support for new IEmailService#sync.
- Don't pass SyncResult through EasOperations. This was
probably a bad idea to begin with. Instead, callers that
care should use performOperation()'s return value to set
the results appropriately.
- Fix upsync operations to signal request/network errors
ASAP (and mark any unperformed upsyncs as retries).
- In ESAS, bail early on first error.
- In ESAS, set up forwarding to EasService for pushModify.
- Converting mail downsync into an EasOperation. For now,
not merging it with the EasSync class that already exists.

Change-Id: I4719c5cafbd01a957f267b221cf3276010154176
/packages/apps/Exchange/src/com/android/exchange/eas/EasSyncBase.java