History log of /packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3eef378426c7c88608f53f5a268baed40259ccf6 14-Oct-2013 Alon Albert <aalbert@google.com> Bring log change back in

Revert "Revert "Cleanup Logs""

This reverts commit a3f990ee76828d01e1e2812c4446221a1c523aa4.

Bug: 11149133
Change-Id: I3fabb4e508cf9063e056979c8ed807ebf372fa4a
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
a3f990ee76828d01e1e2812c4446221a1c523aa4 12-Oct-2013 Alon Albert <aalbert@google.com> Revert "Cleanup Logs"

This reverts commit fcacd1e1e214f5f5b8aea0602e55ae6ca3bbf175.

Will re-merge this on Monday so we can still have logs from weekend testers

Change-Id: I697eed2806a17a180a8733110391f44d3a80fc59
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
fcacd1e1e214f5f5b8aea0602e55ae6ca3bbf175 11-Oct-2013 Alon Albert <aalbert@google.com> Cleanup Logs

Bug: 11149133
Change-Id: I736cb022bfd7f136f6e88010b91837f2aa3171f2
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
f9aa72cd62067260d84a03eb894930b6cd3b2375 02-Oct-2013 Alon Albert <aalbert@google.com> Increase Window Size When More Available

Bug: 10994311
Change-Id: I4ad21cc451b601db3aeb53058590a6bcd6859309
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
9c7165d4c6b90101b781f90b17451efd42a17929 02-Oct-2013 Martin Hibdon <mhibdon@google.com> More logging improvements

Change-Id: I023c8270647a63d1528aa86120fd4b14712ce345
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
d5f7b6be039979db4460f8a148760e7a55b7bee2 01-Oct-2013 Martin Hibdon <mhibdon@google.com> Minor logging improvement

Change-Id: I127dd04334d8cf68e1c4edfcc98b96e21b49ba08
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
1df4a493b2efa34fce4bd8a70aca57203b4ed037 30-Sep-2013 Yu Ping Hu <yph@google.com> Handle provisioning errors in sync.

Bug: 10930585
Change-Id: Ieb6f0bdd22c6cfb2bb440a2109fb86b31a1ee24e
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
38ebc3d89a3c82589cf7bb413dc26c1a70b1a802 28-Sep-2013 Alon Albert <aalbert@google.com> Change WTF to E

Change-Id: Ib963f3db87a29e69eea4b4554798af602d0b20e2
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
2b398a4c98dd04cacfb44e9265fa13ae14947682 27-Sep-2013 Alon Albert <aalbert@google.com> Relay SyncResults Back To Sync Manager

Bug: 10930585
Change-Id: Ibc82eed543ff1d63af2e6ae2fde014a012964a80
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
110837ebff288a75f9bda067c38e2c46797d99b5 27-Sep-2013 Alon Albert <aalbert@google.com> Unify Log Tags

Use a single log tag

Change-Id: I6f08c1eb6e84971cc21497ca14bf60860f75bab4
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.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/service/EasSyncHandler.java
5a27a45fdce9c777269bba011cee55a1aa0bbb08 24-Sep-2013 Alon Albert <aalbert@google.com> Support Multiple Contact Folders

Bug: 10893901
Change-Id: Ibea2faea80299f9dd20cb35efca11ebe7dbd4463
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
ff7e02603bc8196f411c0c491d74a42e747b7dc5 08-Aug-2013 Yu Ping Hu <yph@google.com> Decouple operation management from EasServerConnection.

This restructuring touches a regrettable number of files,
but allows us to put common code in a common base class.
(Before, it was messy because it would be muddled with the
connection management code.) Specifically, we want common
error paths to be handled in one place, although this isn't
implemented yet.

The new class of interest is EasOperation. This CL changes
Ping to use this base class. Future changes will switch all
operations to work this way.

Change-Id: I1bd26336e8916cafe592352f8ee05616bce8181c
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
5586f9f5ab654ca93d797fa2a8cbc78a8d6970a4 02-Aug-2013 Yu Ping Hu <yph@google.com> Improve folder sync.

- On initial sync, make sure that all required folders exist.
- Enable sync for all syncable folder types.
- Do not try to sync local-only folders.

Some bugs exposed by this change:
- Drafts synced from server are non-editable.
- Deleting from trash is weird.

Bug: 9987081
Bug: 9842867

Change-Id: Iddf1b16ee3977e89545ead3165a5847fdf90cefc
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
e2a704dca25a36ff177f9908b047602af8ddffe3 30-Jul-2013 Yu Ping Hu <yph@google.com> Write sync status and time to provider.

Also delete some uses of old callback mechanism since
those are currently unused.

Bug: 9842867
Bug: 8548657
Change-Id: I851205204c9d700998acee8575f096202b9f1140
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
e2788afb86984dae29255fd9c7e24c78d90dbdad 30-Jul-2013 Yu Ping Hu <yph@google.com> Delete most of IEmailServiceCallback.

The old callback mechanism is being deprecated, and the only
remaining user of this is attachment loading.

In places where the callback was referenced in deprecated
code (e.g. ExchangeService), the code was deleted with no
attempt made to patch it up since the class is unused.

Bug: 9842867

Change-Id: Ia92aa973fe8289759d1b88916d31d86e60a67faa
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
c35d2fa94faa0f9abeded869a01108bac2bcedcc 26-Jun-2013 Yu Ping Hu <yph@google.com> Fix Exchange attachment loading.

Also, minor refactor with EasServerConnection ctor.

Note: this implementation has (at least) 2 flaws:
- It can run concurrently with sync, which is probably bad.
- It doesn't do any status updates to the UI.

There are bugs filed for these.

Change-Id: I6c41842afbed45af7747a460010e49fa3010e2a5
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
7d35f61afc910b8f21d3225762c251df10dc76ea 03-Jun-2013 Yu Ping Hu <yph@google.com> Fix upsync for email.

Calendar & Contact upsync are still stubs.

Change-Id: I62c168ce7e7aef449d6ff5a89919aed1fd6ce5c8
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.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/service/EasSyncHandler.java
d738c447d8597062f2f20ecb94b96e8bee12a531 30-May-2013 Yu Ping Hu <yph@google.com> Code refactoring, prep for contacts/calendar.

- Move the mProtocolVersionDouble to base class, and
clean up how it's cached.
- Decouple outbox sync code from folder sync code.

Change-Id: Ia160111ec644295773feb72533a01f8af3032a41
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
40350a7cea38385bc47eec399ae0d08aeeb01620 23-May-2013 Yu Ping Hu <yph@google.com> Merge account validator and sync.

Change-Id: Ib2d52e594d0c30fd319f8941ed42086a390646b0
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
0a62e7f88662942c434f629af6495d64dfae7902 21-May-2013 Yu Ping Hu <yph@google.com> Code refactor: add mAccount to EasServerConnection.

Change-Id: I19aa2d11735bff97c5577d6fc2e038d7c411c140
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
25b95fe9881e51399ea906af6758447d726fb8a5 21-May-2013 Yu Ping Hu <yph@google.com> Some code cleanup/refactor.

- In places where we passed the connection manager around,
don't bother now that we have caching.
- Move mHostAuth to EasServerConnection (since all
connections need one).

Change-Id: Id501482510e39b85235e812da5cda2d12d900d89
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
bc96ce2b61336a99ce044dcb77d0c69ec9ddb718 17-May-2013 Yu Ping Hu <yph@google.com> Implement folder sync correctly.

Change-Id: I9f9fde6bf2f991873a04360be43ee669a97cc1dd
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
bc278f1e81ef1d44c28093e830ebe84faa960843 17-May-2013 Yu Ping Hu <yph@google.com> Implement Exchange account validation.

Change-Id: I447846010e62354a53dff8c6626757bea5197a7c
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
b6503ab0ba4f4e323fb09e6522cd7c898ea3431e 17-May-2013 Yu Ping Hu <yph@google.com> Refactor code that talks to EAS server to new base class.

Two reasons for this:
1) It lets us decouple Ping from the SyncHandler family.
2) Account validation also needs these functions but
shouldn't be a SyncHandler.

Change-Id: I0c56ead551d3c3cdc34c2c78e3bad62fad8be25b
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.java
5f6b6438ebb60e3eb00731ab13083d393a302ed9 14-May-2013 Yu Ping Hu <yph@google.com> Migrate push to new architecture.

The most interesting part of this change is the new code
in EmailSyncAdapterService to handle sync issues between
pings and syncs. Most of the EasPingHandler is adapted from
EasAccountService.

The other big piece is the migration of the IEmailService
to the EmailSyncAdapterService.

After this change, there is still cleanup for error paths
and cauterizing the old ExchangeService to be done.

Change-Id: I3a5cca8bdc51dad80cb2e83e09562fec8d05d235
/packages/apps/Exchange/src/com/android/exchange/service/EasSyncHandler.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/service/EasSyncHandler.java