/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/shim/ |
D | ShimUtilsRAndSTest.java | 35 final IkeException ikeException = mShim.getWrappedIkeException(ioException); in testGetWrappedIkeException() local 37 assertTrue(ikeException instanceof IkeInternalException); in testGetWrappedIkeException() 38 assertSame(ikeException, mShim.getWrappedIkeException(ikeException)); in testGetWrappedIkeException()
|
D | ShimUtilsTTest.java | 37 final IkeException ikeException = mShim.getWrappedIkeException(ioException); in testGetWrappedIkeException() local 39 assertTrue(ikeException instanceof IkeIOException); in testGetWrappedIkeException() 40 assertSame(ikeException, mShim.getWrappedIkeException(ikeException)); in testGetWrappedIkeException()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeTestUtils.java | 59 assertNotNull(resultError.ikeException); in decodeAndVerifyUnprotectedErrorMsg() 60 assertTrue(expectedException.isInstance(resultError.ikeException)); in decodeAndVerifyUnprotectedErrorMsg() 62 return (T) resultError.ikeException; in decodeAndVerifyUnprotectedErrorMsg()
|
D | IkeMessageTest.java | 302 assertNotNull(resultError.ikeException); in verifyDecodeResultErrorAndGetIkeException() 304 return resultError.ikeException; in verifyDecodeResultErrorAndGetIkeException() 409 IkeException ikeException = in testDecodeEncryptedMessageWithWrongId() local 413 assertTrue(ikeException instanceof InvalidMessageIdException); in testDecodeEncryptedMessageWithWrongId() 429 IkeException ikeException = in testDecodeEncryptedMessageWithWrongChecksum() local 434 ((IkeInternalException) ikeException).getCause() in testDecodeEncryptedMessageWithWrongChecksum() 452 IkeException ikeException = in testDecryptFail() local 456 ((IkeInternalException) ikeException).getCause() in testDecryptFail() 478 IkeException ikeException = in testParsingErrorInEncryptedMessage() local 482 assertTrue(ikeException instanceof InvalidSyntaxException); in testParsingErrorInEncryptedMessage() [all …]
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeMessage.java | 1070 public final IkeException ikeException; field in IkeMessage.DecodeResultError 1072 protected DecodeResultError(int status, IkeException ikeException) { in DecodeResultError() argument 1074 this.ikeException = ikeException; in DecodeResultError() 1084 public DecodeResultProtectedError(IkeException ikeException, byte[] firstPacket) { in DecodeResultProtectedError() argument 1085 super(DECODE_STATUS_PROTECTED_ERROR, ikeException); in DecodeResultProtectedError() 1091 public DecodeResultUnprotectedError(IkeException ikeException) { in DecodeResultUnprotectedError() argument 1092 super(DECODE_STATUS_UNPROTECTED_ERROR, ikeException); in DecodeResultUnprotectedError()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachine.java | 1271 IkeException ikeException = wrapAsIkeException(error); in handleIkeFatalError() local 1272 loge("IKE Session fatal error in " + getCurrentState().getName(), ikeException); in handleIkeFatalError() 1284 mIkeSessionCallback.onClosedWithException(ikeException); in handleIkeFatalError() 1289 recordMetricsEvent_sessionTerminated(ikeException); in handleIkeFatalError() 2070 IkeException ikeException = ((DecodeResultError) decodeResult).ikeException; in handleReceivedIkePacket() local 2071 logi(methodTag + "Protected error", ikeException); in handleReceivedIkePacket() 2080 ikeException)); in handleReceivedIkePacket() 2087 ((DecodeResultError) decodeResult).ikeException); in handleReceivedIkePacket() 2185 IkeException ikeException = resultError.ikeException; in handleReceivedIkePacket() local 2186 logi(methodTag + "Protected error", resultError.ikeException); in handleReceivedIkePacket() [all …]
|
D | ChildSessionStateMachine.java | 788 IkeException ikeException = wrapAsIkeException(error); in handleChildFatalError() local 789 loge("Child Session fatal error", ikeException); in handleChildFatalError() 795 mUserCallback.onClosedWithException(ikeException); in handleChildFatalError() 798 recordMetricsEvent_sessionTerminated(ikeException); in handleChildFatalError()
|
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/ |
D | EpdgTunnelManager.java | 1838 IkeException ikeException, IkeSessionState ikeSessionState) { in getErrorFromIkeException() argument 1840 if (ikeException instanceof IkeIOException) { in getErrorFromIkeException() 1841 error = new IwlanError(ikeSessionState.getErrorType(), ikeException); in getErrorFromIkeException() 1843 error = new IwlanError(ikeException); in getErrorFromIkeException() 2726 private SessionClosedData(String apnName, int token, IkeException ikeException) { in SessionClosedData() argument 2728 mIkeException = ikeException; in SessionClosedData()
|
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/ |
D | EpdgTunnelManagerTest.java | 1931 IkeInternalException ikeException = in testNeverReportIwlanErrorWhenCloseAnOpenedTunnel() local 1945 .onClosedWithException(ikeException); in testNeverReportIwlanErrorWhenCloseAnOpenedTunnel() 1949 .onClosed(eq(TEST_APN_NAME), eq(new IwlanError(ikeException))); in testNeverReportIwlanErrorWhenCloseAnOpenedTunnel()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachineTest.java | 2794 IkeException ikeException = in verifyNotifyUserCloseSessionWithException() local 2801 .onClosedWithException(argThat(e -> e.getCause() == ikeException.getCause())); in verifyNotifyUserCloseSessionWithException() 2807 verifyIkeMetricsLogged(getStateCode(state), ikeException.getMetricsErrorCode()); in verifyNotifyUserCloseSessionWithException()
|