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.java942 public final IkeException ikeException; field in IkeMessage.DecodeResultError
944 protected DecodeResultError(int status, IkeException ikeException) { in DecodeResultError() argument
946 this.ikeException = ikeException; in DecodeResultError()
956 public DecodeResultProtectedError(IkeException ikeException, byte[] firstPacket) { in DecodeResultProtectedError() argument
957 super(DECODE_STATUS_PROTECTED_ERROR, ikeException); in DecodeResultProtectedError()
963 public DecodeResultUnprotectedError(IkeException ikeException) { in DecodeResultUnprotectedError() argument
964 super(DECODE_STATUS_UNPROTECTED_ERROR, ikeException); in DecodeResultUnprotectedError()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java1195 IkeException ikeException = in handleIkeFatalError() local
1204 mIkeSessionCallback.onClosedWithException(ikeException); in handleIkeFatalError()
1206 loge("IKE Session fatal error in " + getCurrentState().getName(), ikeException); in handleIkeFatalError()
1909 IkeException ikeException = ((DecodeResultError) decodeResult).ikeException; in handleReceivedIkePacket() local
1910 logi(methodTag + "Protected error", ikeException); in handleReceivedIkePacket()
1919 ikeException)); in handleReceivedIkePacket()
1926 ((DecodeResultError) decodeResult).ikeException); in handleReceivedIkePacket()
2022 IkeException ikeException = resultError.ikeException; in handleReceivedIkePacket() local
2023 logi(methodTag + "Protected error", resultError.ikeException); in handleReceivedIkePacket()
2034 (IkeProtocolException) ikeException); in handleReceivedIkePacket()
[all …]
DChildSessionStateMachine.java731 IkeException ikeException = in handleChildFatalError() local
738 mUserCallback.onClosedWithException(ikeException); in handleChildFatalError()
740 loge("Child Session fatal error", ikeException); in handleChildFatalError()