Home
last modified time | relevance | path

Searched refs:IwlanError (Results 1 – 11 of 11) sorted by relevance

/packages/services/Iwlan/test/com/google/android/iwlan/
DErrorPolicyManagerTest.java192 private static IwlanError buildIwlanIkeProtocolError(int errorCode, byte[] errorData) { in buildIwlanIkeProtocolError()
196 return new IwlanError(exception); in buildIwlanIkeProtocolError()
199 private static IwlanError buildIwlanIkeProtocolError(int errorCode) { in buildIwlanIkeProtocolError()
203 private static IwlanError buildIwlanIkeAuthFailedError() { in buildIwlanIkeAuthFailedError()
207 private static IwlanError buildIwlanIkeChildSaNotFoundError() { in buildIwlanIkeChildSaNotFoundError()
211 private static IwlanError buildIwlanIkeInternalAddressFailure() { in buildIwlanIkeInternalAddressFailure()
252 IwlanError iwlanError = buildIwlanIkeAuthFailedError(); in testValidCarrierConfig()
274 iwlanError = new IwlanError(IwlanError.EPDG_SELECTOR_SERVER_SELECTION_FAILED); in testValidCarrierConfig()
284 iwlanError = new IwlanError(IwlanError.IKE_INIT_TIMEOUT); in testValidCarrierConfig()
343 IwlanError authFailedIwlanError = buildIwlanIkeAuthFailedError(); in testShouldKeepRetryIndexForDifferentErrorCause()
[all …]
DIwlanDataServiceTest.java889 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testIwlanDeactivateDataCallWithCloseTunnel()
930 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testDeactivateDataCall_ImmediateReleaseAfterHandover()
983 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testDeactivateDataCall_DelayedReleaseAfterHandover()
1038 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testDeactivateDataCall_DelayedReleaseAfterHandover_NetworkReleaseBeforeDelay()
1087 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testHandoverFailureModeDefault()
1137 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testHandoverFailureModeHandover()
1196 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testSupportInitialAttachSuccessOnIms()
1252 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testSupportInitialAttachSuccessOnEmergency()
1308 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testSupportInitialAttachOnImsCall()
1364 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testSupportInitialAttachOnEmergencyCall()
[all …]
/packages/services/Iwlan/src/com/google/android/iwlan/
DErrorPolicyManager.java204 public synchronized long reportIwlanError(String apn, IwlanError iwlanError) { in reportIwlanError()
208 if (iwlanError.getErrorType() == IwlanError.NO_ERROR) { in reportIwlanError()
237 public synchronized long reportIwlanError(String apn, IwlanError iwlanError, long backoffTime) { in reportIwlanError()
239 if (iwlanError.getErrorType() == IwlanError.NO_ERROR) { in reportIwlanError()
285 private int getDataFailCause(IwlanError error) { in getDataFailCause()
289 case IwlanError.NO_ERROR -> ret = DataFailCause.NONE; in getDataFailCause()
290 case IwlanError.IKE_PROTOCOL_EXCEPTION -> in getDataFailCause()
292 case IwlanError.IKE_INTERNAL_IO_EXCEPTION -> in getDataFailCause()
294 case IwlanError.IKE_GENERIC_EXCEPTION -> ret = DataFailCause.ERROR_UNSPECIFIED; in getDataFailCause()
295 case IwlanError.EPDG_SELECTOR_SERVER_SELECTION_FAILED -> in getDataFailCause()
[all …]
DIwlanError.java29 public class IwlanError { class
95 public IwlanError(@IwlanErrorType int err) { in IwlanError() method in IwlanError
99 public IwlanError(@IwlanErrorType int err, @NonNull Exception exception) { in IwlanError() method in IwlanError
112 public IwlanError(@NonNull Exception exception) { in IwlanError() method in IwlanError
206 if (!(o instanceof IwlanError error)) { in equals()
DIwlanDataService.java496 public void onClosed(String apnName, IwlanError error) { in onClosed()
1408 IwlanError iwlanError = tunnelClosedData.mIwlanError; in handleMessage()
1419 if (iwlanError.getErrorType() != IwlanError.TUNNEL_NOT_FOUND) { in handleMessage()
1527 if (iwlanError.getErrorType() != IwlanError.NO_ERROR in handleMessage()
1529 != IwlanError.IKE_INTERNAL_IO_EXCEPTION) { in handleMessage()
1895 metricsAtom.setIwlanError(IwlanError.NO_ERROR); in handleMessage()
2112 final IwlanError mIwlanError;
2116 String apnName, IwlanError iwlanError, IwlanDataServiceProvider dsp) { in TunnelClosedData()
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgTunnelManagerTest.java82 import com.google.android.iwlan.IwlanError;
143 public void onClosed(String apnName, IwlanError error) {} in onClosed()
219 .thenReturn(new IwlanError(IwlanError.NO_ERROR)); in setUp()
403 epdgAddresses, new IwlanError(IwlanError.NO_ERROR), transactionId); in setupTunnelBringup()
796 .reportIwlanError(eq(testApnName), eq(new IwlanError(IwlanError.TUNNEL_NOT_FOUND))); in testCloseTunnelWithNoTunnelForApn()
808 .onClosed(eq(testApnName), eq(new IwlanError(IwlanError.TUNNEL_NOT_FOUND))); in testCloseTunnelWithNoTunnelForApn()
910 EXPECTED_EPDG_ADDRESSES, new IwlanError(IwlanError.NO_ERROR), 1); in testRekeyAndNattTimerFromCarrierConfig()
964 EXPECTED_EPDG_ADDRESSES, new IwlanError(IwlanError.NO_ERROR), 1); in testSetRetransmissionTimeoutsFromCarrierConfig()
1011 EXPECTED_EPDG_ADDRESSES, new IwlanError(IwlanError.NO_ERROR), 1); in testSetDpdDelayFromCarrierConfig()
1037 IwlanError error = new IwlanError(new IkeInternalException(new IOException())); in testGetValidEpdgAddress_DiffAddr()
[all …]
DEpdgSelectorTest.java66 import com.google.android.iwlan.IwlanError;
584 IwlanError ret = in getValidatedServerListWithIpPreference()
606 public void onError(int transactionId, IwlanError epdgSelectorError) { in getValidatedServerListWithIpPreference()
612 assertEquals(IwlanError.NO_ERROR, ret.getErrorType()); in getValidatedServerListWithIpPreference()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DIkeSessionState.java19 import com.google.android.iwlan.IwlanError;
26 return IwlanError.NO_ERROR; in getErrorType()
32 return IwlanError.IKE_INIT_TIMEOUT; in getErrorType()
38 return IwlanError.IKE_MOBILITY_TIMEOUT; in getErrorType()
44 return IwlanError.IKE_DPD_TIMEOUT; in getErrorType()
DEpdgTunnelManager.java83 import com.google.android.iwlan.IwlanError;
292 validIPList, new IwlanError(IwlanError.NO_ERROR), transactionId);
296 public void onError(int transactionId, IwlanError epdgSelectorError) {
318 IwlanError mError;
336 mError = new IwlanError(IwlanError.NO_ERROR); in TunnelConfig()
445 public IwlanError getError() { in getError()
449 public void setError(IwlanError error) { in setError()
758 void onClosed(@NonNull String apnName, @NonNull IwlanError error); in onClosed()
892 IwlanError iwlanError = new IwlanError(IwlanError.SIM_NOT_READY_EXCEPTION); in onBringUpTunnel()
901 IwlanError iwlanError = new IwlanError(IwlanError.TUNNEL_TRANSFORM_FAILED); in onBringUpTunnel()
[all …]
DEpdgSelector.java49 import com.google.android.iwlan.IwlanError;
156 void onError(int transactionId, IwlanError error); in onError()
1287 public IwlanError getValidatedServerList( in getValidatedServerList()
1387 new IwlanError( in getValidatedServerList()
1388 IwlanError.EPDG_SELECTOR_SERVER_SELECTION_FAILED)); in getValidatedServerList()
1396 return new IwlanError(IwlanError.NO_ERROR); in getValidatedServerList()
/packages/services/Iwlan/src/com/google/android/iwlan/proto/
DMetricsAtom.java23 import com.google.android.iwlan.IwlanError;
125 public void setIwlanErrorWrappedClassnameAndStack(IwlanError iwlanError) { in setIwlanErrorWrappedClassnameAndStack()