Home
last modified time | relevance | path

Searched refs:EapError (Results 1 – 25 of 42) sorted by relevance

12

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapStateTest.java36 import com.android.internal.net.eap.test.EapResult.EapError;
78 assertTrue(result instanceof EapError); in testProcessNullPacket()
80 EapError eapError = (EapError) result; in testProcessNullPacket()
96 assertTrue(result instanceof EapError); in testProcessDecodeFailure()
98 EapError eapError = (EapError) result; in testProcessDecodeFailure()
105 assertTrue(result instanceof EapError); in testProcessResponse()
107 EapError eapError = (EapError) result; in testProcessResponse()
114 assertTrue(result instanceof EapError); in testProcessNakRequest()
116 EapError eapError = (EapError) result; in testProcessNakRequest()
DEapStateMachineTest.java30 import com.android.internal.net.eap.test.EapResult.EapError;
64 assertTrue(result instanceof EapError); in testSuccessStateProcessFails()
66 EapError eapError = (EapError) result; in testSuccessStateProcessFails()
76 assertTrue(result instanceof EapError); in testFailureStateProcessFails()
78 EapError eapError = (EapError) result; in testFailureStateProcessFails()
DEapTtlsErroredAndAwaitingClosureStateTest.java30 import com.android.internal.net.eap.test.EapResult.EapError;
60 new EapError(new EapTtlsParsingException("Sample Exception"))); in testTransitionToClosureState_closureResponse()
71 EapError eapError = in testTransitionToClosureState_eapError()
72 (EapError) in testTransitionToClosureState_eapError()
76 new EapError(new EapTtlsParsingException("Sample Exception"))); in testTransitionToClosureState_eapError()
86 new EapError(new EapTtlsParsingException("Sample Exception")))); in testClosureState_closureNotifyRequest()
DEapSimCreatedStateTest.java35 import com.android.internal.net.eap.test.EapResult.EapError;
72 EapError eapError = (EapError) result; in testProcessSuccess()
110 EapError eapError = (EapError) result; in testProcessIncorrectEapMethodType()
DEapSimStartStateTest.java50 import com.android.internal.net.eap.test.EapResult.EapError;
105 EapError eapError = (EapError) result; in testProcessSuccess()
124 EapError eapError = (EapError) result; in testProcessIncorrectEapMethodType()
200 EapError eapError = (EapError) result; in testAddIdentityAttributeToResponseImsiUnavailable()
DEapMsChapV2CreatedStateTest.java34 import com.android.internal.net.eap.test.EapResult.EapError;
72 new EapError( in testIncorrectTypeData()
76 EapError eapError = (EapError) result; in testIncorrectTypeData()
DEapMsChapV2ChallengeStateTest.java41 import com.android.internal.net.eap.test.EapResult.EapError;
99 new EapError( in testIncorrectTypeData()
103 EapError eapError = (EapError) result; in testIncorrectTypeData()
DEapMsChapV2ValidateAuthenticatorStateTest.java48 import com.android.internal.net.eap.test.EapResult.EapError;
161 EapError eapError = (EapError) result; in testProcessEmptyTypeData()
174 EapError eapError = (EapError) result; in testProcessInvalidPacket()
DEapTtlsStateTest.java53 import com.android.internal.net.eap.test.EapResult.EapError;
148 EapError eapError = (EapError) result; in testHandleEapSuccessNotification()
229 EapError eapError = (EapError) result; in processMessageAndVerifyEapError()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapTtlsMethodStateMachine.java42 import com.android.internal.net.eap.EapResult.EapError;
163 return new EapError( in process()
238 new EapError( in process()
264 mTAG, message.eapIdentifier, new EapError(e)); in process()
275 EapError eapError = in process()
276 new EapError( in process()
290 return new EapError( in process()
298 new EapError( in process()
318 return new EapError( in startHandshake()
329 return new EapError(new EapTtlsHandshakeException("Failed to start handshake.")); in startHandshake()
[all …]
DEapStateMachine.java50 import com.android.internal.net.eap.EapResult.EapError;
123 return new DecodeResult(new EapError( in decode()
145 return new DecodeResult(new EapError(cause)); in decode()
151 return new DecodeResult(new EapError(cause)); in decode()
160 return new DecodeResult(new EapError(ex)); in decode()
195 return new EapError( in process()
226 return new EapError(new EapInvalidRequestException( in process()
259 return new EapError(ex); in getIdentityResponse()
283 return new EapError( in process()
363 return new EapError(new EapInvalidRequestException( in process()
[all …]
DEapMethodStateMachine.java29 import com.android.internal.net.eap.EapResult.EapError;
91 return new EapError( in handleEapSuccessFailureNotification()
103 return new EapError( in handleEapSuccessFailureNotification()
108 return new EapError(new EapInvalidRequestException( in handleEapSuccessFailureNotification()
120 return new EapError( in process()
DEapMsChapV2MethodStateMachine.java39 import com.android.internal.net.eap.EapResult.EapError;
280 return new EapError(ex); in process()
305 return new EapError(ex); in process()
337 return new EapError(ex); in process()
374 return new EapError(ex); in process()
414 return new EapError( in process()
446 return new EapError( in process()
461 return new EapError(ex); in process()
480 return new EapError( in process()
494 return new EapError(ex); in buildEapMessageResponse()
DEapSimAkaMethodStateMachine.java31 import com.android.internal.net.eap.EapResult.EapError;
148 return new EapResult.EapError(ex); in buildClientErrorResponse()
165 return new EapResult.EapError(ex); in buildResponseMessage()
288 return new EapError(ex); in buildResponseMessageWithMac()
301 return new EapError( in handleEapSimAkaNotification()
351 return new EapError(ex); in handleEapSimAkaNotification()
DEapAkaMethodStateMachine.java47 import com.android.internal.net.eap.EapResult.EapError;
257 return new EapError( in process()
270 return new EapError(ex); in process()
330 return new EapError( in process()
382 return new EapError(ex); in handleChallengeAuthentication()
402 return new EapError(ex); in handleChallengeAuthentication()
424 return new EapError(ex); in handleChallengeAuthentication()
449 return new EapError(ex); in handleChallengeAuthentication()
DEapSimMethodStateMachine.java44 import com.android.internal.net.eap.EapResult.EapError;
178 return new EapError(ex); in process()
266 return new EapError(ex); in process()
269 return new EapError(ex); in process()
372 return new EapError( in process()
429 return new EapError(ex); in process()
455 return new EapError(ex); in process()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/ttls/
DEapTtlsAvp.java22 import com.android.internal.net.eap.EapResult.EapError;
232 new EapError( in decode()
253 new EapError( in decode()
263 new EapError( in decode()
272 new EapError( in decode()
279 return new AvpDecodeResult(new EapError(e)); in decode()
294 public final EapError eapError;
301 public AvpDecodeResult(EapError eapError) { in AvpDecodeResult()
DEapTtlsTypeData.java22 import com.android.internal.net.eap.EapResult.EapError;
221 return new DecodeResult(new EapError(e)); in decodeEapTtlsRequestPacket()
231 public final EapError eapError;
238 public DecodeResult(EapError eapError) { in DecodeResult()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2TypeData.java22 import com.android.internal.net.eap.EapResult.EapError;
490 new EapError( in decodeChallengeRequest()
500 return new DecodeResult<>(new EapError(ex)); in decodeChallengeRequest()
521 new EapError( in decodeSuccessRequest()
533 return new DecodeResult<>(new EapError(ex)); in decodeSuccessRequest()
554 new EapError( in decodeFailureRequest()
566 return new DecodeResult<>(new EapError(ex)); in decodeFailureRequest()
578 public final EapError eapError;
585 public DecodeResult(EapError eapError) { in DecodeResult()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2SuccessRequestTest.java40 import com.android.internal.net.eap.test.EapResult.EapError;
127 EapError eapError = result.eapError; in testDecodeSuccessRequestWrongOpCode()
136 EapError eapError = result.eapError; in testDecodeSuccessRequestShortMessage()
145 EapError eapError = result.eapError; in testDecodeSuccessRequestInvalidPrefix()
154 EapError eapError = result.eapError; in testDecodeSuccessRequestShortAuthString()
163 EapError eapError = result.eapError; in testDecodeSuccessRequestInvalidAuthString()
172 EapError eapError = result.eapError; in testDecodeSuccessRequestExtraAttribute()
DEapMsChapV2ChallengeRequestTest.java35 import com.android.internal.net.eap.test.EapResult.EapError;
75 EapError eapError = result.eapError; in testDecodeChallengeRequestWrongOpCode()
84 EapError eapError = result.eapError; in testDecodeChallengeRequestShortChallenge()
93 EapError eapError = result.eapError; in testDecodeChallengeRequestShortMsLength()
102 EapError eapError = result.eapError; in testDecodeChallengeRequestLongMsLength()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/
DEapAuthenticator.java26 import com.android.internal.net.eap.EapResult.EapError;
166 processResponse = new EapError(ex); in processEapMessage()
183 } else if (finalProcessResponse instanceof EapError) { in processEapMessage()
184 EapError eapError = (EapError) finalProcessResponse; in processEapMessage()
DEapResult.java99 return new EapError(new InvalidEapResponseException( in getEapResponse()
113 public static class EapError extends EapResult { class in EapResult
122 public EapError(Exception cause) { in EapError() method in EapResult.EapError
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/
DEapResponseTest.java26 import com.android.internal.net.eap.test.EapResult.EapError;
65 assertTrue(eapResult instanceof EapError); in testGetEapResponseNonRequestMessage()
67 EapError eapError = (EapError) eapResult; in testGetEapResponseNonRequestMessage()
DEapErrorTest.java21 import com.android.internal.net.eap.test.EapResult.EapError;
30 EapError eapError = new EapError(EXPECTED_EXCEPTION); in testEapErrorConstructor()

12