Home
last modified time | relevance | path

Searched refs:ikeException (Results 1 – 5 of 5) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessageTest.java300 assertNotNull(resultError.ikeException); in verifyDecodeResultErrorAndGetIkeException()
302 return resultError.ikeException; in verifyDecodeResultErrorAndGetIkeException()
407 IkeException ikeException = in testDecodeEncryptedMessageWithWrongId() local
411 assertTrue(ikeException instanceof InvalidMessageIdException); in testDecodeEncryptedMessageWithWrongId()
427 IkeException ikeException = in testDecodeEncryptedMessageWithWrongChecksum() local
432 ((IkeInternalException) ikeException).getCause() in testDecodeEncryptedMessageWithWrongChecksum()
450 IkeException ikeException = in testDecryptFail() local
454 ((IkeInternalException) ikeException).getCause() in testDecryptFail()
476 IkeException ikeException = in testParsingErrorInEncryptedMessage() local
480 assertTrue(ikeException instanceof InvalidSyntaxException); in testParsingErrorInEncryptedMessage()
[all …]
DIkeTestUtils.java59 assertNotNull(resultError.ikeException); in decodeAndVerifyUnprotectedErrorMsg()
60 assertTrue(expectedException.isInstance(resultError.ikeException)); in decodeAndVerifyUnprotectedErrorMsg()
62 return (T) resultError.ikeException; in decodeAndVerifyUnprotectedErrorMsg()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessage.java927 public final IkeException ikeException; field in IkeMessage.DecodeResultError
929 protected DecodeResultError(int status, IkeException ikeException) { in DecodeResultError() argument
931 this.ikeException = ikeException; in DecodeResultError()
941 public DecodeResultProtectedError(IkeException ikeException, byte[] firstPacket) { in DecodeResultProtectedError() argument
942 super(DECODE_STATUS_PROTECTED_ERROR, ikeException); in DecodeResultProtectedError()
948 public DecodeResultUnprotectedError(IkeException ikeException) { in DecodeResultUnprotectedError() argument
949 super(DECODE_STATUS_UNPROTECTED_ERROR, ikeException); in DecodeResultUnprotectedError()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java998 IkeException ikeException = in handleIkeFatalError() local
1007 mIkeSessionCallback.onClosedExceptionally(ikeException); in handleIkeFatalError()
1009 loge("IKE Session fatal error in " + getCurrentState().getName(), ikeException); in handleIkeFatalError()
1676 IkeException ikeException = ((DecodeResultError) decodeResult).ikeException; in handleReceivedIkePacket() local
1677 logi(methodTag + "Protected error", ikeException); in handleReceivedIkePacket()
1686 ikeException)); in handleReceivedIkePacket()
1693 ((DecodeResultError) decodeResult).ikeException); in handleReceivedIkePacket()
1782 IkeException ikeException = resultError.ikeException; in handleReceivedIkePacket() local
1783 logi(methodTag + "Protected error", resultError.ikeException); in handleReceivedIkePacket()
1794 (IkeProtocolException) ikeException); in handleReceivedIkePacket()
[all …]
DChildSessionStateMachine.java656 IkeException ikeException = in handleChildFatalError() local
663 mUserCallback.onClosedExceptionally(ikeException); in handleChildFatalError()
665 loge("Child Session fatal error", ikeException); in handleChildFatalError()