History log of /packages/apps/Exchange/src/com/android/exchange/adapter/PingParser.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/adapter/PingParser.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/adapter/PingParser.java
fcacd1e1e214f5f5b8aea0602e55ae6ca3bbf175 11-Oct-2013 Alon Albert <aalbert@google.com> Cleanup Logs

Bug: 11149133
Change-Id: I736cb022bfd7f136f6e88010b91837f2aa3171f2
/packages/apps/Exchange/src/com/android/exchange/adapter/PingParser.java
55f26fbb0146cd64a244510bfcb7dbb14569466e 02-Oct-2013 Martin Hibdon <mhibdon@google.com> Handle errors on ping

b/11030802
We now handle server errors > 100.

Change-Id: I7103035fb43e708b0dabd87266e8fb8ad92d069f
/packages/apps/Exchange/src/com/android/exchange/adapter/PingParser.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/adapter/PingParser.java
26b41fab64a805f3f938e135addbb9603f1637af 20-Aug-2013 Martin Hibdon <mhibdon@google.com> Update EasPing durations

b/10328857
Now when an exchange ping returns with an expiration,
we increase our duration. If it times out, we decrease.
Also, if we get a response that indicates our duration
is outside of acceptable limits, the duration is updated.

Change-Id: I6173e40ebf297f253fbeed3d56b00e7146a13220
/packages/apps/Exchange/src/com/android/exchange/adapter/PingParser.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/adapter/PingParser.java
8e183f03856253e2b8dfa217ad97184714db6726 02-Aug-2013 Yu Ping Hu <yph@google.com> Handle redirect errors in Ping.

Change-Id: I2fa5ebe04106f51d699c927ae41a265aaec1cedb
/packages/apps/Exchange/src/com/android/exchange/adapter/PingParser.java
ae6c69d73448bd4184724dfa351d17ca0cf378b2 28-Jun-2013 Yu Ping Hu <yph@google.com> Fix Exchange ping.

- Restart pings whenever the service restarts.
- Improve the PingParser to handle all possible responses.
- Do a better job of restarting after interrupt.
- Add a way to request a "ping only" sync.
- Tweak the POST timeout a bit.

Bug: 9596786
Change-Id: I0f1f5ec23c94f2e3851fa5decae404be76b540bb
/packages/apps/Exchange/src/com/android/exchange/adapter/PingParser.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/adapter/PingParser.java
1b5ae20491783b1761a5a2747427f4b99ae5e16e 13-Jul-2010 Marc Blank <mblank@google.com> Handle correction of rejected Ping heartbeat

* Handle status 5 for Ping command (heartbeat of out range)
* Write unit test for heartbeat reset

Bug: 2834195
Change-Id: Ic7952a4b296cf15c6ba895d6579fe7956b171e5b
/packages/apps/Exchange/src/com/android/exchange/adapter/PingParser.java
1b06024587a4499bcf3f9005337e8f7cae5ffa26 14-Aug-2009 Marc Blank <mblank@google.com> Implement adaptive ping timeout; release wake lock waiting for connectivity

* Remove unused/duplicated classes (e.g. Base64, WbxmlSerializer, etc.)
* Code cleanup in AbstractSyncService, EasSyncService
* Remove last references to HttpURLConnection (using HttpClient now)
/packages/apps/Exchange/src/com/android/exchange/adapter/PingParser.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/PingParser.java
77424af660458104b732bdcb718874b17d0cab3a 09-Aug-2009 Marc Blank <mblank@google.com> Clear error states on network reconnect; add temporary notifications; see details

* When we get a network connect broadcast, clear error states so sync can
restart for any boxes in an error state
* Add temporary notification code for the testers
* Add file-based debug logger
* Add Exchange logging to debug screen (adds additional exchange debugging)
* Add Exchange sd card logging to debug screen (logs to sd card)
* Change setLogging service API to send an int rather than a boolean
* Make sure push mailboxes are set up again when account changes to push
* Make sure push mailboxes are set up again when account mailbox starts
* (Fixed contacts sync bug found during debugging these changes)
/packages/apps/Exchange/src/com/android/exchange/adapter/PingParser.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/PingParser.java