Home
last modified time | relevance | path

Searched refs:eapError (Results 1 – 25 of 31) 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/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()
DEapSimStartStateTest.java104 EapError eapError = (EapError) result; in testProcessSuccess() local
105 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessSuccess()
123 EapError eapError = (EapError) result; in testProcessIncorrectEapMethodType() local
124 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessIncorrectEapMethodType()
199 EapError eapError = (EapError) result; in testAddIdentityAttributeToResponseImsiUnavailable() local
200 assertTrue(eapError.cause instanceof EapSimAkaIdentityUnavailableException); in testAddIdentityAttributeToResponseImsiUnavailable()
DEapSimCreatedStateTest.java70 EapError eapError = (EapError) result; in testProcessSuccess() local
71 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessSuccess()
108 EapError eapError = (EapError) result; in testProcessIncorrectEapMethodType() local
109 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessIncorrectEapMethodType()
DEapMsChapV2ValidateAuthenticatorStateTest.java160 EapError eapError = (EapError) result; in testProcessEmptyTypeData() local
161 assertTrue(eapError.cause instanceof BufferUnderflowException); in testProcessEmptyTypeData()
173 EapError eapError = (EapError) result; in testProcessInvalidPacket() local
174 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessInvalidPacket()
DEapAkaChallengeStateTest.java129 EapError eapError = (EapError) result; in testProcessIncorrectEapMethodType() local
130 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessIncorrectEapMethodType()
151 EapError eapError = (EapError) mEapAkaMethodStateMachine.process(input); in testProcessInvalidSuccess() local
152 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessInvalidSuccess()
320 EapError eapError = (EapError) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIccAuthenticationInvalidTag() local
321 assertTrue(eapError.cause instanceof EapAkaInvalidAuthenticationResponse); in testProcessIccAuthenticationInvalidTag()
DEapSimChallengeStateTest.java132 EapError eapError = (EapError) result; in testProcessIncorrectEapMethodType() local
133 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessIncorrectEapMethodType()
347 EapError eapError = (EapError) mEapSimMethodStateMachine.process(eapMessage); in testProcessUiccAuthenticationNullResponse() local
348 assertTrue(eapError.cause instanceof EapSimAkaAuthenticationFailureException); in testProcessUiccAuthenticationNullResponse()
DEapTtlsCreatedStateTest.java69 EapError eapError = (EapError) eapResult; in testUnexpectedRequest() local
70 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testUnexpectedRequest()
DEapMsChapV2CreatedStateTest.java75 EapError eapError = (EapError) result; in testIncorrectTypeData() local
76 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testIncorrectTypeData()
DEapTtlsStateTest.java94 EapError eapError = (EapError) result; in testHandleEapSuccessNotification() local
95 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testHandleEapSuccessNotification()
DEapMsChapV2StateTest.java84 EapError eapError = (EapError) result; in testHandleEapSuccess() local
85 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testHandleEapSuccess()
DEapAkaCreatedStateTest.java98 EapError eapError = (EapError) result; in testProcessSuccess() local
99 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessSuccess()
DEapMsChapV2ChallengeStateTest.java102 EapError eapError = (EapError) result; in testIncorrectTypeData() local
103 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testIncorrectTypeData()
DEapAkaPrimeStateTest.java97 EapError eapError = (EapError) result; in testHandleEapSuccess() local
98 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testHandleEapSuccess()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/ttls/
DEapTtlsTypeData.java222 public final EapError eapError; field in EapTtlsTypeData.EapTtlsTypeDataDecoder.DecodeResult
226 this.eapError = null; in DecodeResult()
229 public DecodeResult(EapError eapError) { in DecodeResult() argument
231 this.eapError = eapError; in DecodeResult()
/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()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/ttls/
DEapTtlsTypeDataTest.java94 EapError eapError = decodeResult.eapError; in testDecodeEapTtlsRequest_incorrectMessageLength() local
95 assertTrue(eapError.cause instanceof EapTtlsParsingException); in testDecodeEapTtlsRequest_incorrectMessageLength()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/
DEapAuthenticator.java184 EapError eapError = (EapError) finalProcessResponse; in processEapMessage() local
187 "EapError returned with cause=" + eapError.cause); in processEapMessage()
188 mCb.onError(eapError.cause); in processEapMessage()
/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/statemachine/
DEapTtlsMethodStateMachine.java111 LOG.e(mTAG, "Error parsing EAP-TTLS packet type data", decodeResult.eapError.cause); in process()
112 return decodeResult.eapError; in process()
DEapMsChapV2MethodStateMachine.java233 return decodeResult.eapError; in process()
253 return decodeResult.eapError; in process()
348 return successDecodeResult.eapError; in process()
390 return failureDecodeResult.eapError; in process()

12