History log of /packages/apps/Exchange/src/com/android/exchange/eas/EasOperation.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
303474a0b45875174763b180b1a4397d284c5a14 18-Oct-2013 Yu Ping Hu <yph@google.com> Do not reuse old connections.

- Only keep connections in the cache for a limited time
(currently 10 minutes).
- Always get connection manager from the cache, don't keep
a reference in the EasServerConnection.

Also add some logging.

Bug: 11249423
Change-Id: I7c7da95745770fd2cb3ba58d63fc1fcdcc8eb232
/packages/apps/Exchange/src/com/android/exchange/eas/EasOperation.java
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/eas/EasOperation.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/eas/EasOperation.java
fcacd1e1e214f5f5b8aea0602e55ae6ca3bbf175 11-Oct-2013 Alon Albert <aalbert@google.com> Cleanup Logs

Bug: 11149133
Change-Id: I736cb022bfd7f136f6e88010b91837f2aa3171f2
/packages/apps/Exchange/src/com/android/exchange/eas/EasOperation.java
4427badd747b7c172934014b9f95a1be1256f35a 09-Oct-2013 Martin Hibdon <mhibdon@google.com> Allow multiple mailboxes to sync at one time

b/11103878

Change-Id: I6a3944c9171948d3f80bbb51294841a84cf409aa
/packages/apps/Exchange/src/com/android/exchange/eas/EasOperation.java
2b11758e54bcefb9fb25aef2fd2024cab574c16c 08-Oct-2013 Paul Sliwowski <psliwowski@google.com> Merge "Add better logging to find auth errors." into jb-ub-mail-ur10
39f4a323bc9dd497850e57971aabff97fb035111 08-Oct-2013 Paul Sliwowski <psliwowski@google.com> Add better logging to find auth errors.

Bug: 11094722
Change-Id: I11e85f7c82e416bbf2671469ffc5de87141149f6
/packages/apps/Exchange/src/com/android/exchange/eas/EasOperation.java
0c899a81b9b6000a4dc2766415d6ead33641f679 07-Oct-2013 Yu Ping Hu <yph@google.com> Add logging.

Bug: 9661767
Change-Id: I7abf47536d923b36f81ccb99acce409d8fdf4bbd
/packages/apps/Exchange/src/com/android/exchange/eas/EasOperation.java
2629e0f0eac5bb6c4d5982bdf65a989b03d46d3d 03-Oct-2013 Alon Albert <aalbert@google.com> Handle IoException Properly

Report IoException to Sync Manager as an Io Exception instead of a Parse Exception
so that it get's retried after a backoff.

I was able to reproduce the symptoms int he attached bug by faking a throw in the
Folder Sync operation.

The sync would never complete unless started manually.

I then tested the fix the same way and verified that the failure resulted in a new
sync scheduled with an exponential backoff.

Bug: 11047819
Change-Id: I18daf235bfce208ace1d5a44b6a2a420fe3969bf
/packages/apps/Exchange/src/com/android/exchange/eas/EasOperation.java
2e47c34cba847b47992420f8634ae51dddc90cd5 02-Oct-2013 Martin Hibdon <mhibdon@google.com> Put device phone number in the settings and provision

b/11032223

Add phone number, imei, device language and
mobile operator to the exchange settings and
provision.

Change-Id: I0b6ac327f8121b80479220c0e2c2b4784bbe0f45
/packages/apps/Exchange/src/com/android/exchange/eas/EasOperation.java
78bf85ce2038968c628b3baa257d97019ad91d66 02-Oct-2013 Alon Albert <aalbert@google.com> Add Startus Code For Generic Error

I'm seeing random "Generic error" in logs. This will at least
give us a statuc code.

Change-Id: I52c6f9bd945b3bd07533ceb0418975cf18829e48
/packages/apps/Exchange/src/com/android/exchange/eas/EasOperation.java
9c7165d4c6b90101b781f90b17451efd42a17929 02-Oct-2013 Martin Hibdon <mhibdon@google.com> More logging improvements

Change-Id: I023c8270647a63d1528aa86120fd4b14712ce345
/packages/apps/Exchange/src/com/android/exchange/eas/EasOperation.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/eas/EasOperation.java
0f9116d3dfc7bc4210f551858006d4bd956d0cd3 27-Sep-2013 Martin Hibdon <mhibdon@google.com> Register client cert in EasOperation

b/9661767
Without this, we fail to sync if we have an account
with a client cert.

Change-Id: I5a023c236beaeed0b8b070aaa927a828a6d3bcaf
/packages/apps/Exchange/src/com/android/exchange/eas/EasOperation.java
6f0cf29be849d3a95a9168cb6fa09de12635e818 23-Aug-2013 Yu Ping Hu <yph@google.com> Add MoveItems operation.

Change-Id: I39d7aeb2de4a01ec9237f574b752b57662829eb4
/packages/apps/Exchange/src/com/android/exchange/eas/EasOperation.java
be22ff8b8b3aa6057de165b76da433cabad4dcfd 21-Aug-2013 Yu Ping Hu <yph@google.com> Add operation for Settings.

This is needed for Provisioning for some versions of EAS.
Since all the code from EasAccountValidator is now converted
to some EasOperation or another, delete that old class.

Also, there were some goofs in provisioning and version
fetching which are now corrected.

Change-Id: I9cd4725ffa2698b1faee9ca497cb508341a4dda3
/packages/apps/Exchange/src/com/android/exchange/eas/EasOperation.java
b6ef78e8c4112d47d965b5b274d52fe8885f58fa 20-Aug-2013 Yu Ping Hu <yph@google.com> Make validation an operation.

This entails also making an operation for getting the
protocol version.

Change-Id: I8b2855cca338e3dbd8b6826b2c428b9e418a675e
/packages/apps/Exchange/src/com/android/exchange/eas/EasOperation.java
328ca0d959f7e729e96f19538c8f3af8fe782a09 14-Aug-2013 Yu Ping Hu <yph@google.com> Change Provision & FolderSync to be an EasOperation.

Provisioning should happen for any operation, so it needed
to get moved to the new infrastructure. FolderSync got moved
as the easiest way to test it.

The current provisioning flow kinda sucks but it's the same
as it was before and it works. Further cleanup can wait.

Change-Id: I52ee9eff36777919f517854514ee9f838dc9d433
/packages/apps/Exchange/src/com/android/exchange/eas/EasOperation.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/eas/EasOperation.java