History log of /packages/apps/Exchange/src/com/android/exchange/service/PingTask.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
61ebb38e67421fd122c81f046bf11778b61a2113 11-Jun-2014 Martin Hibdon <mhibdon@google.com> Update IEmailService

This is not yet finished, but it's needed to fix push syncs on
exchange, which are currently broken.
Now the actual work of syncing up and down is done in EasService.
EmailSyncAdapterService just gets the onPerformSync() call and
has the EasService do the work. This makes way for eventually
moving the sync adapter and the ping synchronizer out of exchange
and into email.

Change-Id: Ic5608887230393560612c9fa45992e4413317bfd
/packages/apps/Exchange/src/com/android/exchange/service/PingTask.java
92c06e3394732f9de61b5f6619800f9ea1a75760 05-Jun-2014 Martin Hibdon <mhibdon@google.com> Switch over to use EasService

Now EasSyncAdapterService is only used for syncing, IEmailService
functionality is covered by EasService. Duplicated code has been
removed from EasSyncAdapterService.

Change-Id: I1a6024f46523bec3b746bad8cdc5f92cee1c1edc
/packages/apps/Exchange/src/com/android/exchange/service/PingTask.java
c9e6e7587ac847c6b99d91097f8e1bc64e9e56da 03-Mar-2014 Anthony Lee <anthonylee@google.com> Fill out implemenation of PingSyncSynchronizer. This class is not
enabled yet as it is utilized by EasService.

Change-Id: Iba3faef51df89b7fd103f43a33d7a401466a344c
(cherry picked from commit 53d0286f850eaec90f7f16ce17d3cb2e8c87eb3f)
/packages/apps/Exchange/src/com/android/exchange/service/PingTask.java
468ff529b5c80605a62d6fc7ecf87a8db46ea366 21-Feb-2014 Yu Ping Hu <yph@google.com> EasService fixes & improvements.

- Make sure to call EmailContent.init.
- Add function to determine if an account needs to ping.
This is currently unused but will be necessary later.
- Track the last ping/not ping status in PingSyncSynchronizer.
This is used to know whether to restart a ping, rather than
expecting the EasService to pass this in.

Change-Id: Ibb0aa45cf5174ea5dd3ba6210104a25e9060dcf8
(cherry picked from commit 215cae569676dde52c864718515397e803eafa49)
/packages/apps/Exchange/src/com/android/exchange/service/PingTask.java
6c4254903d2f42836c5b74a934e54441ccee6dbe 04-Feb-2014 Yu Ping Hu <yph@google.com> Add EasService & PingSyncSynchronizer.

This is the first step to decoupling actual sync execution from
the mail sync adapter. This change does not yet move to using the
new service, it only adds the code and necessary changes to existing
operations to be compatible with it. This change should not affect
existing functionality.

Change-Id: I80663c2bc216fdee44756d83fd567bc2c447e993
(cherry picked from commit 6c715246946dc4a7b7ca535dd9ff7f3cfc227c6d)
/packages/apps/Exchange/src/com/android/exchange/service/PingTask.java
c4bcd0a810b1a8c28f48fa8ef9e43a7d7ad252fe 18-Oct-2013 Yu Ping Hu <yph@google.com> Handle all possible exits of the PingTask.

- If we get an exception, reschedule the ping instead of just dying.
- If the task was cancelled, also reschedule.

Bug: 11249423
Change-Id: I74a39e04de73659d58f1c53b238f8a40f15d6849
/packages/apps/Exchange/src/com/android/exchange/service/PingTask.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/service/PingTask.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/PingTask.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/PingTask.java
6285ee2ecc9136238accd4ce7927b59cd95792ae 03-Oct-2013 Yu Ping Hu <yph@google.com> Improve logic for when we start ping threads.

Also adds the ping kicker, and improves a log message.

Bug: 11081520

Change-Id: I9cc0088071a2a4e2beb03112a1f808146e576741
/packages/apps/Exchange/src/com/android/exchange/service/PingTask.java
edbddd0bb01510cd8dde432636be00b6a8ed1aa6 30-Sep-2013 Alon Albert <aalbert@google.com> Log Status After Ping Task End

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