Home
last modified time | relevance | path

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

/packages/services/Iwlan/test/com/google/android/iwlan/
DErrorPolicyManagerTest.java150 IwlanError iwlanError = buildIwlanIkeAuthFailedError(); in testValidCarrierConfig() local
151 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testValidCarrierConfig()
153 time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testValidCarrierConfig()
155 time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testValidCarrierConfig()
157 time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testValidCarrierConfig()
161 iwlanError = buildIwlanIkeProtocolError(9030, new byte[] {0x00, 0x01}); in testValidCarrierConfig()
162 time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testValidCarrierConfig()
164 time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testValidCarrierConfig()
166 time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testValidCarrierConfig()
168 time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testValidCarrierConfig()
[all …]
/packages/services/Iwlan/src/com/google/android/iwlan/
DErrorPolicyManager.java202 public synchronized long reportIwlanError(String apn, IwlanError iwlanError) { in reportIwlanError() argument
206 if (iwlanError.getErrorType() == IwlanError.NO_ERROR) { in reportIwlanError()
211 mErrorStats.update(apn, iwlanError); in reportIwlanError()
215 && mLastErrorForApn.get(apn).getError().equals(iwlanError) in reportIwlanError()
220 || !mLastErrorForApn.get(apn).getError().equals(iwlanError)) { in reportIwlanError()
221 Log.d(LOG_TAG, "Doesn't match to the previous error" + iwlanError.toString()); in reportIwlanError()
222 ErrorPolicy policy = findErrorPolicy(apn, iwlanError); in reportIwlanError()
223 ErrorInfo errorInfo = new ErrorInfo(iwlanError, policy); in reportIwlanError()
239 public synchronized long reportIwlanError(String apn, IwlanError iwlanError, long backOffTime) { in reportIwlanError() argument
243 if (iwlanError.getErrorType() == IwlanError.NO_ERROR) { in reportIwlanError()
[all …]
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java1287 IwlanError iwlanError = tunnelConfig.getError(); in handleMessage() local
1298 reportIwlanError(apnName, iwlanError, tunnelConfig.getBackoffTime()); in handleMessage()
1299 tunnelConfig.getTunnelCallback().onClosed(apnName, iwlanError); in handleMessage()
1301 failAllPendingRequests(iwlanError); in handleMessage()
1304 Log.d(TAG, "Tunnel Closed: " + iwlanError); in handleMessage()
1306 reportIwlanError(apnName, iwlanError, tunnelConfig.getBackoffTime()); in handleMessage()
1308 reportIwlanError(apnName, iwlanError); in handleMessage()
1310 tunnelConfig.getTunnelCallback().onClosed(apnName, iwlanError); in handleMessage()