Home
last modified time | relevance | path

Searched refs:IkeException (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/
DIkeException.java23 public abstract class IkeException extends Exception { class
25 protected IkeException() { in IkeException() method in IkeException
30 protected IkeException(String message) { in IkeException() method in IkeException
35 protected IkeException(Throwable cause) { in IkeException() method in IkeException
40 protected IkeException(String message, Throwable cause) { in IkeException() method in IkeException
49 public static IkeException wrapAsIkeException(Exception exception) { in wrapAsIkeException()
DIkeNonProtocolException.java22 public abstract class IkeNonProtocolException extends IkeException {
DIkeProtocolException.java37 public abstract class IkeProtocolException extends IkeException {
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionCallbackTest.java21 import android.net.ipsec.test.ike.exceptions.IkeException;
46 mOldCallback.onError((IkeException) mIkeException); in testOnErrorIkeExceptionNotOverridden()
52 mUpdatedCallback.onError((IkeException) mIkeException); in testOnErrorIkeExceptionOverridden()
64 public void onClosedExceptionally(IkeException exception) {} in onClosedExceptionally()
80 List<IkeException> mOnErrorIkeExceptions = new ArrayList<>();
88 public void onError(IkeException exception) { in onError()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/shim/
DShimUtilsT.java20 import static android.net.ipsec.ike.exceptions.IkeException.wrapAsIkeException;
23 import android.net.ipsec.ike.exceptions.IkeException;
42 public IkeException getWrappedIkeException(Exception exception) { in getWrappedIkeException()
43 if (exception instanceof IkeException) { in getWrappedIkeException()
44 return (IkeException) exception; in getWrappedIkeException()
DShimUtilsRAndS.java22 import android.net.ipsec.ike.exceptions.IkeException;
38 public IkeException getWrappedIkeException(Exception exception) { in getWrappedIkeException()
39 if (exception instanceof IkeException) { in getWrappedIkeException()
40 return (IkeException) exception; in getWrappedIkeException()
DShimUtils.java22 import android.net.ipsec.ike.exceptions.IkeException;
63 public abstract IkeException getWrappedIkeException(Exception exception); in getWrappedIkeException()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionCallback.java24 import android.net.ipsec.ike.exceptions.IkeException;
156 default void onClosedExceptionally(@NonNull IkeException exception) {} in onClosedExceptionally()
164 default void onClosedWithException(@NonNull IkeException exception) { in onClosedWithException()
191 default void onError(@NonNull IkeException exception) { in onError()
DChildSessionCallback.java25 import android.net.ipsec.ike.exceptions.IkeException;
83 default void onClosedExceptionally(@NonNull IkeException exception) {} in onClosedExceptionally()
93 default void onClosedWithException(@NonNull IkeException exception) { in onClosedWithException()
DIkeSession.java34 import android.net.ipsec.ike.exceptions.IkeException;
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeSessionTestBase.java42 import android.net.ipsec.ike.exceptions.IkeException;
327 private ArrayTrackRecord<IkeException> mOnErrorExceptionsTrackRecord =
330 protected CompletableFuture<IkeException> mFutureOnClosedException =
347 public void onError(@NonNull IkeException exception) { in onError()
369 public IkeException awaitOnClosedException() throws Exception { in awaitOnClosedException()
373 public IkeException awaitNextOnErrorException() { in awaitNextOnErrorException()
403 public void onClosedWithException(@NonNull IkeException exception) {
411 public void onClosedExceptionally(@NonNull IkeException exception) {
424 protected CompletableFuture<IkeException> mFutureOnClosedException =
477 public IkeException awaitOnClosedException() throws Exception {
[all …]
DIkeSessionMobikeTest.java43 import android.net.ipsec.ike.exceptions.IkeException;
334 final IkeException exception = mIkeSessionCallback.awaitNextOnErrorException(); in testNetworkDied()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionController.java33 import static android.net.ipsec.ike.exceptions.IkeException.wrapAsIkeException;
53 import android.net.ipsec.ike.exceptions.IkeException;
292 void onError(IkeException exception); in onError()
440 private IkeSocket getIkeSocket(boolean isIpv4, boolean useEncapPort) throws IkeException { in getIkeSocket()
479 private void getAndSwitchToIkeSocket(boolean isIpv4, boolean useEncapPort) throws IkeException { in getAndSwitchToIkeSocket()
498 public void setUp() throws IkeException { in setUp()
648 throws IkeException { in onNetworkSetByUser()
709 throws IkeException { in onUnderpinnedNetworkSetByUser()
714 private void restartKeepaliveIfRunning() throws IkeException { in restartKeepaliveIfRunning()
852 throws IkeException { in handleNatDetectionResultInIkeInit()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/shim/
DShimUtilsRAndSTest.java22 import android.net.ipsec.test.ike.exceptions.IkeException;
35 final IkeException ikeException = mShim.getWrappedIkeException(ioException); in testGetWrappedIkeException()
DShimUtilsTTest.java22 import android.net.ipsec.test.ike.exceptions.IkeException;
37 final IkeException ikeException = mShim.getWrappedIkeException(ioException); in testGetWrappedIkeException()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessage.java20 import static android.net.ipsec.ike.exceptions.IkeException.wrapAsIkeException;
27 import android.net.ipsec.ike.exceptions.IkeException;
761 } catch (IkeException e) { in decode()
851 throws IkeException { in decryptAndAuthenticate()
1070 public final IkeException ikeException;
1072 protected DecodeResultError(int status, IkeException ikeException) { in DecodeResultError()
1084 public DecodeResultProtectedError(IkeException ikeException, byte[] firstPacket) { in DecodeResultProtectedError()
1091 public DecodeResultUnprotectedError(IkeException ikeException) { in DecodeResultUnprotectedError()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DAbstractSessionStateMachine.java21 import android.net.ipsec.ike.exceptions.IkeException;
245 protected void recordMetricsEvent_sessionTerminated(IkeException exception) { in recordMetricsEvent_sessionTerminated()
278 IkeException exception) { in recordMetricsEvent_SaNegotiation()
DIkeSessionStateMachine.java33 import static android.net.ipsec.ike.exceptions.IkeException.wrapAsIkeException;
116 import android.net.ipsec.ike.exceptions.IkeException;
1271 IkeException ikeException = wrapAsIkeException(error); in handleIkeFatalError()
1382 } catch (IkeException e) { in enterState()
1524 } catch (IkeException e) { in processStateMessage()
1533 } catch (IkeException e) { in processStateMessage()
1931 } catch (IkeException e) { in processStateMessage()
1939 } catch (IkeException e) { in processStateMessage()
2070 IkeException ikeException = ((DecodeResultError) decodeResult).ikeException; in handleReceivedIkePacket()
2185 IkeException ikeException = resultError.ikeException; in handleReceivedIkePacket()
[all …]
DChildSessionStateMachine.java20 import static android.net.ipsec.ike.exceptions.IkeException.wrapAsIkeException;
63 import android.net.ipsec.ike.exceptions.IkeException;
788 IkeException ikeException = wrapAsIkeException(error); in handleChildFatalError()
992 private void handleCreationFailAndQuit(int registeredSpi, IkeException exception) { in handleCreationFailAndQuit()
1971 IkeException error = createChildResult.exception; in handleCreateChildRequest()
2782 public final IkeException exception;
2791 IkeException exception) { in CreateChildResult()
2819 CreateChildResult(@CreateStatus int status, IkeException exception) { in CreateChildResult()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessageTest.java47 import android.net.ipsec.test.ike.exceptions.IkeException;
297 private IkeException verifyDecodeResultErrorAndGetIkeException( in verifyDecodeResultErrorAndGetIkeException()
409 IkeException ikeException = in testDecodeEncryptedMessageWithWrongId()
429 IkeException ikeException = in testDecodeEncryptedMessageWithWrongChecksum()
452 IkeException ikeException = in testDecryptFail()
478 IkeException ikeException = in testParsingErrorInEncryptedMessage()
739 IkeException ikeException = in testRcvFirstArrivedFragWithUnprotectedError()
/packages/modules/IPsec/api/
Dsystem-current.txt24 … public default void onClosedExceptionally(@NonNull android.net.ipsec.ike.exceptions.IkeException);
56 … public default void onClosedExceptionally(@NonNull android.net.ipsec.ike.exceptions.IkeException);
120 public abstract class IkeProtocolException extends android.net.ipsec.ike.exceptions.IkeException {
Dcurrent.txt103 … public default void onClosedWithException(@NonNull android.net.ipsec.ike.exceptions.IkeException);
188 … public default void onClosedWithException(@NonNull android.net.ipsec.ike.exceptions.IkeException);
189 method public default void onError(@NonNull android.net.ipsec.ike.exceptions.IkeException);
399 public abstract class IkeException extends java.lang.Exception {
417 …blic abstract class IkeNonProtocolException extends android.net.ipsec.ike.exceptions.IkeException {
420 public abstract class IkeProtocolException extends android.net.ipsec.ike.exceptions.IkeException {
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java56 import android.net.ipsec.ike.exceptions.IkeException;
522 public void onClosedWithException(IkeException exception) { in onClosedWithException()
643 public void onClosedWithException(IkeException exception) { in onClosedWithException()
1812 IkeException exception, String apnName, int token, int sessionType) { in onSessionClosedWithException()
1838 IkeException ikeException, IkeSessionState ikeSessionState) { in getErrorFromIkeException()
2724 final IkeException mIkeException;
2726 private SessionClosedData(String apnName, int token, IkeException ikeException) { in SessionClosedData()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java90 import android.net.ipsec.test.ike.exceptions.IkeException;
706 private <T extends IkeException> void verifyHandleFatalErrorAndQuit( in verifyHandleFatalErrorAndQuit()
895 Class<? extends IkeException> exceptionClass, in verifyNotifyUsersDeleteSession()
1360 private <T extends IkeException> void verifyIkeSessionFatalErrorAndSendOutboundIkeDeletePayload( in verifyIkeSessionFatalErrorAndSendOutboundIkeDeletePayload()
1419 IkeException.class, in testMobikeRekeyLocalCreateAndHandlesMissingPayloadInResp()
DIkeSessionStateMachineTest.java140 import android.net.ipsec.test.ike.exceptions.IkeException;
601 IkeSaRecord ikeSaRecord, boolean isResp, int eType, IkeException exception) { in makeDummyReceivedIkePacketWithUnprotectedError()
657 IkeException exception) { in makeDummyReceivedLastIkeFragmentPacketError()
2794 IkeException ikeException = in verifyNotifyUserCloseSessionWithException()
2795 exception instanceof IkeException in verifyNotifyUserCloseSessionWithException()
2796 ? (IkeException) exception in verifyNotifyUserCloseSessionWithException()
5979 mock(IkeException.class)); in testIdleHandlesDecryptPacketFailed()
6597 verify(mMockIkeSessionCallback).onClosedWithException(any(IkeException.class)); in verifyHandleNetworkChange()
6600 verify(mMockIkeSessionCallback).onError(any(IkeException.class)); in verifyHandleNetworkChange()
6638 ArgumentCaptor<IkeException> exceptionCaptor = ArgumentCaptor.forClass(IkeException.class); in testMobikeEnabledNetworkDies()

12