Home
last modified time | relevance | path

Searched refs:pingStatus (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Exchange/src/com/android/exchange/adapter/
DPingParser.java118 public static boolean shouldPingAgain(final int pingStatus) { in shouldPingAgain() argument
126 return pingStatus == STATUS_EXPIRED in shouldPingAgain()
127 || pingStatus == STATUS_REQUEST_INCOMPLETE in shouldPingAgain()
128 || pingStatus == STATUS_REQUEST_MALFORMED in shouldPingAgain()
129 || pingStatus == STATUS_REQUEST_HEARTBEAT_OUT_OF_BOUNDS in shouldPingAgain()
130 || pingStatus == STATUS_SERVER_ERROR; in shouldPingAgain()
/packages/apps/Exchange/src/com/android/exchange/service/
DPingTask.java65 int pingStatus; in doInBackground() local
68 pingStatus = mOperation.doPing(); in doInBackground()
69 } while (PingParser.shouldPingAgain(pingStatus)); in doInBackground()
75 pingStatus = EasOperation.RESULT_NETWORK_PROBLEM; in doInBackground()
77 LogUtils.i(TAG, "Ping task ending with status: %d", pingStatus); in doInBackground()
/packages/apps/Exchange/src/com/android/exchange/eas/
DEasPing.java191 final int pingStatus = pp.getPingStatus(); in handleResponse() local
197 switch (pingStatus) { in handleResponse()
246 LogUtils.e(TAG, "Unexpected error %d on ping", pingStatus); in handleResponse()
265 LogUtils.e(TAG, "Unexpected error %d on ping", pingStatus); in handleResponse()
272 return pingStatus; in handleResponse()