Home
last modified time | relevance | path

Searched refs:IkeInternalException (Results 1 – 14 of 14) sorted by relevance

/packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/
DIkeInternalException.java30 public final class IkeInternalException extends IkeNonProtocolException { class
40 public IkeInternalException(@NonNull Throwable cause) { in IkeInternalException() method in IkeInternalException
54 public IkeInternalException(@NonNull String message) { in IkeInternalException() method in IkeInternalException
69 public IkeInternalException(@NonNull String message, @NonNull Throwable cause) { in IkeInternalException() method in IkeInternalException
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeExceptionTest.java29 import android.net.ipsec.ike.exceptions.IkeInternalException;
52 final IkeInternalException exception = new IkeInternalException(cause); in testIkeInternalException()
53 final IkeInternalException exceptionWithMsg = new IkeInternalException(ERROR_MSG, cause); in testIkeInternalException()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanError.java20 import android.net.ipsec.ike.exceptions.IkeInternalException;
118 } else if (exception instanceof IkeInternalException) { in IwlanError()
119 IwlanErrorIkeInternalException((IkeInternalException) exception); in IwlanError()
133 private void IwlanErrorIkeInternalException(@NonNull IkeInternalException exception) { in IwlanErrorIkeInternalException()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/shim/
DShimUtilsRAndSTest.java23 import android.net.ipsec.test.ike.exceptions.IkeInternalException;
37 assertTrue(ikeException instanceof IkeInternalException); in testGetWrappedIkeException()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/shim/
DShimUtilsRAndS.java23 import android.net.ipsec.ike.exceptions.IkeInternalException;
43 return new IkeInternalException(exception); in getWrappedIkeException()
DShimUtilsT.java25 import android.net.ipsec.ike.exceptions.IkeInternalException;
51 return new IkeInternalException(exception); in getWrappedIkeException()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionControllerTest.java78 import android.net.ipsec.test.ike.exceptions.IkeInternalException;
497 } catch (IkeIOException | IkeInternalException expected) { in verifyIpFamilySelection()
501 assertTrue(expected instanceof IkeInternalException); in verifyIpFamilySelection()
537 } catch (IkeIOException | IkeInternalException expected) { in testIpFamilySelectionAutoEncapNoneWithIpV4Remote()
541 assertTrue(expected instanceof IkeInternalException); in testIpFamilySelectionAutoEncapNoneWithIpV4Remote()
578 } catch (IkeIOException | IkeInternalException expected) { in testIpFamilySelectionAutoEncapUdpWithIpV6Remote()
582 assertTrue(expected instanceof IkeInternalException); in testIpFamilySelectionAutoEncapUdpWithIpV6Remote()
1255 verify(mMockConnectionCtrlCb).onError(any(IkeInternalException.class)); in testOnUnderlyingNetworkUpdatedFail()
1267 assertTrue(expected instanceof IkeInternalException); in testOnNetworkSetByExternalCallerWithNullLp()
1301 ArgumentCaptor<IkeInternalException> captor = in testCatchUnexpectedExceptionInNetworkUpdate()
[all …]
/packages/services/Iwlan/src/com/google/android/iwlan/proto/
DMetricsAtom.java20 import android.net.ipsec.ike.exceptions.IkeInternalException;
127 if (iwlanErrorWrapped instanceof IkeInternalException in setIwlanErrorWrappedClassnameAndStack()
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgTunnelManagerTest.java67 import android.net.ipsec.ike.exceptions.IkeInternalException;
1037 IwlanError error = new IwlanError(new IkeInternalException(new IOException())); in testGetValidEpdgAddress_DiffAddr()
1069 new IkeInternalException(new IOException("Retransmitting failure"))); in testGetValidEpdgAddress_DiffAddr()
1085 IwlanError error = new IwlanError(new IkeInternalException(new IOException())); in testGetValidEpdgAddress_NextAddr()
1118 new IkeInternalException(new IOException("Retransmitting failure"))); in testGetValidEpdgAddress_NextAddr()
1134 IwlanError error = new IwlanError(new IkeInternalException(new IOException())); in testGetValidEpdgAddress_WhenExcludeFailedIpEnabled()
1169 new IkeInternalException(new IOException("Retransmitting failure"))); in testGetValidEpdgAddress_WhenExcludeFailedIpEnabled()
1235 IwlanError error = new IwlanError(new IkeInternalException(new Exception())); in verifyBackOffTimer()
1300 ikeSessionCallback.onClosedWithException(new IkeInternalException(new Exception())); in verifyBackOffTimer()
1931 IkeInternalException ikeException = in testNeverReportIwlanErrorWhenCloseAnOpenedTunnel()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessageTest.java48 import android.net.ipsec.test.ike.exceptions.IkeInternalException;
434 ((IkeInternalException) ikeException).getCause() in testDecodeEncryptedMessageWithWrongChecksum()
456 ((IkeInternalException) ikeException).getCause() in testDecryptFail()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java142 import android.net.ipsec.test.ike.exceptions.IkeInternalException;
1619 argThat(e -> e instanceof IkeInternalException in verifyFireCallbackOnDnsFailure()
2797 : new IkeInternalException(exception); in verifyNotifyUserCloseSessionWithException()
4195 verify(mMockIkeSessionCallback).onClosedWithException(any(IkeInternalException.class)); in testRekeyIkeLocalCreateSaCreationFail()
5405 Exception exception = new IkeInternalException("IkeStateMachineTest"); in testOnFatalIkeSessionErrorFromChild()
5739 ArgumentCaptor<IkeInternalException> internalExceptionCaptor = in testHandleUnexpectedExceptionInEnterState()
5740 ArgumentCaptor.forClass(IkeInternalException.class); in testHandleUnexpectedExceptionInEnterState()
5742 IkeInternalException internalException = internalExceptionCaptor.getValue(); in testHandleUnexpectedExceptionInEnterState()
5761 verify(mMockIkeSessionCallback).onClosedWithException(any(IkeInternalException.class)); in testHandleUnexpectedExceptionInProcessStateMsg()
5858 verify(mMockIkeSessionCallback).onClosedWithException(any(IkeInternalException.class)); in disableTestTempFailureHandlerTimeout()
[all …]
DChildSessionStateMachineTest.java91 import android.net.ipsec.test.ike.exceptions.IkeInternalException;
817 IkeInternalException.class, in testCreateChildHandlesKeyCalculationFail()
1557 IkeInternalException.class, in disableTestRekeyLocalCreateChildHandlesKeyCalculationFail()
2177 IkeInternalException.class, in testHandleUnexpectedException()
/packages/modules/IPsec/api/
Dcurrent.txt407 …public final class IkeInternalException extends android.net.ipsec.ike.exceptions.IkeNonProtocolExc…
408 ctor public IkeInternalException(@NonNull Throwable);
409 ctor public IkeInternalException(@NonNull String, @NonNull Throwable);
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanDataServiceTest.java68 import android.net.ipsec.ike.exceptions.IkeInternalException;
1795 .onClosed(TEST_APN_NAME, new IwlanError(new IkeInternalException(mockException))); in testMetricsWhenTunnelClosedWithWrappedException()