Home
last modified time | relevance | path

Searched refs:eapError (Results 1 – 25 of 36) sorted by relevance

12

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2SuccessRequestTest.java127 EapError eapError = result.eapError; in testDecodeSuccessRequestWrongOpCode() local
128 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeSuccessRequestWrongOpCode()
136 EapError eapError = result.eapError; in testDecodeSuccessRequestShortMessage() local
137 assertTrue(eapError.cause instanceof BufferUnderflowException); in testDecodeSuccessRequestShortMessage()
145 EapError eapError = result.eapError; in testDecodeSuccessRequestInvalidPrefix() local
146 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeSuccessRequestInvalidPrefix()
154 EapError eapError = result.eapError; in testDecodeSuccessRequestShortAuthString() local
155 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeSuccessRequestShortAuthString()
163 EapError eapError = result.eapError; in testDecodeSuccessRequestInvalidAuthString() local
164 assertTrue(eapError.cause instanceof NumberFormatException); in testDecodeSuccessRequestInvalidAuthString()
[all …]
DEapMsChapV2ChallengeRequestTest.java75 EapError eapError = result.eapError; in testDecodeChallengeRequestWrongOpCode() local
76 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeChallengeRequestWrongOpCode()
84 EapError eapError = result.eapError; in testDecodeChallengeRequestShortChallenge() local
85 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeChallengeRequestShortChallenge()
93 EapError eapError = result.eapError; in testDecodeChallengeRequestShortMsLength() local
94 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeChallengeRequestShortMsLength()
102 EapError eapError = result.eapError; in testDecodeChallengeRequestLongMsLength() local
103 assertTrue(eapError.cause instanceof BufferUnderflowException); in testDecodeChallengeRequestLongMsLength()
DEapMsChapV2FailureRequestTest.java119 assertTrue(result.eapError.cause instanceof NumberFormatException); in testDecodeFailureRequestInvalidErrorCode()
127 assertTrue(result.eapError.cause instanceof NumberFormatException); in testDecodeFailureRequestInvalidChallenge()
135 assertTrue(result.eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeFailureRequestShortChallenge()
144 assertTrue(result.eapError.cause instanceof NumberFormatException); in testDecodeFailureRequestInvalidPasswordChangeProtocol()
152 assertTrue(result.eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeFailureExtraAttribute()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapTtlsMethodStateMachine.java160 LOG.e(mTAG, "Error parsing EAP-TTLS packet type data", decodeResult.eapError.cause); in process()
161 return decodeResult.eapError; in process()
215 LOG.e(mTAG, "Error parsing EAP-TTLS packet type data", decodeResult.eapError.cause); in process()
217 return decodeResult.eapError; in process()
220 mTAG, message.eapIdentifier, decodeResult.eapError); in process()
275 EapError eapError = in process() local
283 transitionTo(new ErroredAndAwaitingClosureState(eapError)); in process()
430 LOG.e(mTAG, "Error parsing EAP-TTLS packet type data", decodeResult.eapError.cause); in process()
432 mTAG, message.eapIdentifier, decodeResult.eapError); in process()
460 LOG.e(mTAG, "Error parsing EAP-TTLS AVP", avpDecodeResult.eapError.cause); in process()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapStateTest.java80 EapError eapError = (EapError) result; in testProcessNullPacket() local
81 assertTrue(eapError.cause instanceof IllegalArgumentException); in testProcessNullPacket()
98 EapError eapError = (EapError) result; in testProcessDecodeFailure() local
99 assertTrue(eapError.cause instanceof EapInvalidPacketLengthException); in testProcessDecodeFailure()
107 EapError eapError = (EapError) result; in testProcessResponse() local
108 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessResponse()
116 EapError eapError = (EapError) result; in testProcessNakRequest() local
117 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessNakRequest()
DEapStateMachineTest.java66 EapError eapError = (EapError) result; in testSuccessStateProcessFails() local
67 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testSuccessStateProcessFails()
78 EapError eapError = (EapError) result; in testFailureStateProcessFails() local
79 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testFailureStateProcessFails()
DEapSimCreatedStateTest.java72 EapError eapError = (EapError) result; in testProcessSuccess() local
73 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessSuccess()
110 EapError eapError = (EapError) result; in testProcessIncorrectEapMethodType() local
111 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessIncorrectEapMethodType()
DEapSimStartStateTest.java105 EapError eapError = (EapError) result; in testProcessSuccess() local
106 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessSuccess()
124 EapError eapError = (EapError) result; in testProcessIncorrectEapMethodType() local
125 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessIncorrectEapMethodType()
200 EapError eapError = (EapError) result; in testAddIdentityAttributeToResponseImsiUnavailable() local
201 assertTrue(eapError.cause instanceof EapSimAkaIdentityUnavailableException); in testAddIdentityAttributeToResponseImsiUnavailable()
DEapMsChapV2ValidateAuthenticatorStateTest.java161 EapError eapError = (EapError) result; in testProcessEmptyTypeData() local
162 assertTrue(eapError.cause instanceof BufferUnderflowException); in testProcessEmptyTypeData()
174 EapError eapError = (EapError) result; in testProcessInvalidPacket() local
175 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessInvalidPacket()
DEapTtlsStateTest.java148 EapError eapError = (EapError) result; in testHandleEapSuccessNotification() local
149 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testHandleEapSuccessNotification()
229 EapError eapError = (EapError) result; in processMessageAndVerifyEapError() local
230 assertTrue(error.isInstance(eapError.cause)); in processMessageAndVerifyEapError()
DEapTtlsErroredAndAwaitingClosureStateTest.java71 EapError eapError = in testTransitionToClosureState_eapError() local
77 assertTrue(eapError.cause instanceof EapTtlsParsingException); in testTransitionToClosureState_eapError()
DEapAkaChallengeStateTest.java136 EapError eapError = (EapError) result; in testProcessIncorrectEapMethodType() local
137 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessIncorrectEapMethodType()
158 EapError eapError = (EapError) mEapAkaMethodStateMachine.process(input); in testProcessInvalidSuccess() local
159 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessInvalidSuccess()
327 EapError eapError = (EapError) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIccAuthenticationInvalidTag() local
328 assertTrue(eapError.cause instanceof EapAkaInvalidAuthenticationResponse); in testProcessIccAuthenticationInvalidTag()
DEapMsChapV2CreatedStateTest.java76 EapError eapError = (EapError) result; in testIncorrectTypeData() local
77 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testIncorrectTypeData()
DEapMsChapV2StateTest.java84 EapError eapError = (EapError) result; in testHandleEapSuccess() local
85 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testHandleEapSuccess()
DEapAkaCreatedStateTest.java99 EapError eapError = (EapError) result; in testProcessSuccess() local
100 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessSuccess()
DEapAkaPrimeStateTest.java98 EapError eapError = (EapError) result; in testHandleEapSuccess() local
99 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testHandleEapSuccess()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/ttls/
DEapTtlsTypeData.java231 public final EapError eapError; field in EapTtlsTypeData.EapTtlsTypeDataDecoder.DecodeResult
235 this.eapError = null; in DecodeResult()
238 public DecodeResult(EapError eapError) { in DecodeResult() argument
240 this.eapError = eapError; in DecodeResult()
DEapTtlsAvp.java294 public final EapError eapError; field in EapTtlsAvp.EapTtlsAvpDecoder.AvpDecodeResult
298 this.eapError = null; in AvpDecodeResult()
301 public AvpDecodeResult(EapError eapError) { in AvpDecodeResult() argument
303 this.eapError = eapError; in AvpDecodeResult()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/crypto/
DTlsSession.java505 public final EapError eapError; field in TlsSession.EapTtlsKeyingMaterial
510 this.eapError = null; in EapTtlsKeyingMaterial()
513 public EapTtlsKeyingMaterial(EapError eapError) { in EapTtlsKeyingMaterial() argument
516 this.eapError = eapError; in EapTtlsKeyingMaterial()
520 return eapError == null; in isSuccessful()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/
DEapErrorTest.java30 EapError eapError = new EapError(EXPECTED_EXCEPTION); in testEapErrorConstructor() local
31 assertEquals(EXPECTED_EXCEPTION, eapError.cause); in testEapErrorConstructor()
DEapResponseTest.java67 EapError eapError = (EapError) eapResult; in testGetEapResponseNonRequestMessage() local
68 assertTrue(eapError.cause instanceof InvalidEapResponseException); in testGetEapResponseNonRequestMessage()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/
DEapAuthenticator.java173 EapError eapError = (EapError) finalProcessResponse; in processEapMessage() local
176 "EapError returned with cause=" + eapError.cause); in processEapMessage()
177 mCb.onError(eapError.cause); in processEapMessage()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/ttls/
DEapTtlsTypeDataTest.java97 EapError eapError = decodeResult.eapError; in testDecodeEapTtlsRequest_incorrectMessageLength() local
98 assertTrue(eapError.cause instanceof EapTtlsParsingException); in testDecodeEapTtlsRequest_incorrectMessageLength()
DEapTtlsAvpTest.java228 EapError eapError = decodeResult.eapError; in verifyAvpDecodingFailure() local
229 assertTrue(eapError.cause instanceof EapTtlsParsingException); in verifyAvpDecodingFailure()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2TypeData.java578 public final EapError eapError; field in EapMsChapV2TypeData.EapMsChapV2TypeDataDecoder.DecodeResult
582 this.eapError = null; in DecodeResult()
585 public DecodeResult(EapError eapError) { in DecodeResult() argument
587 this.eapError = eapError; in DecodeResult()

12