Home
last modified time | relevance | path

Searched refs:EapResponse (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DIdentityStateTest.java37 import com.android.internal.net.eap.EapResult.EapResponse;
66 assertTrue(eapResult instanceof EapResponse); in testProcess()
67 EapResponse eapResponse = (EapResponse) eapResult; in testProcess()
76 assertTrue(eapResult instanceof EapResponse); in testProcessDefaultIdentity()
77 EapResponse eapResponse = (EapResponse) eapResult; in testProcessDefaultIdentity()
87 assertTrue(eapResult instanceof EapResponse); in testProcessNotificationRequest()
88 EapResponse eapResponse = (EapResponse) eapResult; in testProcessNotificationRequest()
DEapSimAkaMethodStateMachineTest.java88 import com.android.internal.net.eap.EapResult.EapResponse;
175 assertTrue(result instanceof EapResult.EapResponse); in testBuildClientErrorResponse()
176 EapResult.EapResponse eapResponse = (EapResult.EapResponse) result; in testBuildClientErrorResponse()
194 EapResponse eapResponse = (EapResponse) result; in testBuildResponseMessage()
357 EapResponse eapResponse = (EapResponse) result; in testBuildResponseMessageWithMac()
370 EapResponse eapResponse = in testHandleEapSimNotificationPreChallenge()
371 (EapResponse) in testHandleEapSimNotificationPreChallenge()
385 EapResponse eapResponse = in testHandleEapSimNotificationPreChallengeInvalidPBit()
386 (EapResponse) in testHandleEapSimNotificationPreChallengeInvalidPBit()
418 EapResponse eapResponse = in testHandleEapSimNotificationInvalidAtMac()
[all …]
DEapSimStateTest.java45 import com.android.internal.net.eap.EapResult.EapResponse;
107 assertTrue(result instanceof EapResponse); in testProcessNotification()
108 EapResponse eapResponse = (EapResponse) result; in testProcessNotification()
125 EapResponse eapResponse = (EapResponse) mEapSimMethodStateMachine.process(eapMessage); in testProcessEapSimNotification()
147 assertTrue(result instanceof EapResponse); in testProcessInvalidDecodeResult()
148 EapResponse eapResponse = (EapResponse) result; in testProcessInvalidDecodeResult()
DEapAkaChallengeStateTest.java59 import com.android.internal.net.eap.EapResult.EapResponse;
177 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMissingAtRand()
197 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMissingAtAutn()
217 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMissingAtMac()
286 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIccAuthenticationNullResponse()
354 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIccAuthenticationSynchronizeTag()
386 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessValidChallenge()
420 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessBiddingDownAttack()
DEapStateTest.java37 import com.android.internal.net.eap.EapResult.EapResponse;
87 assertTrue(result instanceof EapResponse); in testProcessUnsupportedEapDataType()
89 EapResponse eapResponse = (EapResponse) result; in testProcessUnsupportedEapDataType()
123 assertTrue(result instanceof EapResponse); in testProcessMd5Challenge()
125 EapResponse eapResponse = (EapResponse) result; in testProcessMd5Challenge()
DEapAkaStateTest.java45 import com.android.internal.net.eap.EapResult.EapResponse;
106 assertTrue(result instanceof EapResult.EapResponse); in testProcessNotification()
107 EapResult.EapResponse eapResponse = (EapResult.EapResponse) result; in testProcessNotification()
124 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessEapAkaNotification()
146 EapResponse eapResponse = (EapResponse) result; in testProcessInvalidDecodeResult()
DEapAkaPrimeChallengeStateTest.java49 import com.android.internal.net.eap.EapResult.EapResponse;
144 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testTransitionWithEapAkaPrimeIdentity()
182 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testProcessMissingAtKdf()
203 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testProcessMissingAtKdfInput()
226 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testProcessUnsupportedKdf()
249 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testProcessIncorrectNetworkName()
DEapAkaIdentityStateTest.java37 import com.android.internal.net.eap.EapResult.EapResponse;
76 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIdentityRequest()
93 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessWithoutIdentityRequestAttributes()
112 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMultipleIdentityRequestAttributes()
DEapAkaPrimeStateTest.java39 import com.android.internal.net.eap.EapResult.EapResponse;
64 EapResponse eapResponse = (EapResponse) result; in testProcessNotification()
83 EapResponse eapResponse = (EapResponse) result; in testProcessInvalidDecodeResult()
DCreatedStateTest.java33 import com.android.internal.net.eap.EapResult.EapResponse;
65 assertTrue(eapResult instanceof EapResponse); in testProcessNotificationRequest()
66 EapResponse eapResponse = (EapResponse) eapResult; in testProcessNotificationRequest()
DEapMsChapV2ValidateAuthenticatorStateTest.java49 import com.android.internal.net.eap.EapResult.EapResponse;
95 EapResponse eapResponse = (EapResponse) result; in testProcessSuccessRequest()
144 EapResponse eapResponse = (EapResponse) result; in testProcessFailureRequest()
DMethodStateTest.java54 import com.android.internal.net.eap.EapResult.EapResponse;
87 EapResponse eapResponse = (EapResponse) result; in testProcessUnsupportedEapType()
218 EapResponse eapResponse = (EapResponse) result; in testProcessEapNotificationWithNoEapMethodState()
DEapAkaMethodStateMachineTest.java47 import com.android.internal.net.eap.EapResult.EapResponse;
121 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testEapAkaFailsOnMultipleAkaNotifications()
133 eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testEapAkaFailsOnMultipleAkaNotifications()
DEapSimMethodStateMachineTest.java46 import com.android.internal.net.eap.EapResult.EapResponse;
123 EapResponse eapResponse = (EapResponse) mEapSimMethodStateMachine.process(eapMessage); in testEapSimFailsOnMultipleSimNotifications()
134 eapResponse = (EapResponse) mEapSimMethodStateMachine.process(eapMessage); in testEapSimFailsOnMultipleSimNotifications()
DEapAkaPrimeIdentityStateTest.java35 import com.android.internal.net.eap.EapResult.EapResponse;
69 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testProcessIdentityRequest()
DEapTtlsStateTest.java42 import com.android.internal.net.eap.EapResult.EapResponse;
107 EapResponse eapResponse = (EapResponse) result; in testHandleEapNotification()
DEapMsChapV2StateTest.java39 import com.android.internal.net.eap.EapResult.EapResponse;
97 EapResponse eapResponse = (EapResponse) result; in testHandleEapNotification()
DEapMsChapV2ChallengeStateTest.java41 import com.android.internal.net.eap.EapResult.EapResponse;
83 EapResponse eapResponse = (EapResponse) result; in testProcessChallenge()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/
DEapResponseTest.java27 import com.android.internal.net.eap.EapResult.EapResponse;
46 EapResult eapResult = EapResponse.getEapResponse(mEapResponse); in testGetEapResponse()
47 assertTrue(eapResult instanceof EapResponse); in testGetEapResponse()
49 EapResponse eapResponse = (EapResponse) eapResult; in testGetEapResponse()
56 EapResponse.getEapResponse(null); in testGetEapResponseNullMessage()
64 EapResult eapResult = EapResponse.getEapResponse(mEapSuccess); in testGetEapResponseNonRequestMessage()
DEapAuthenticatorTest.java41 import com.android.internal.net.eap.EapResult.EapResponse;
91 EapResponse eapResponse = new EapResponse(EAP_SIM_RESPONSE_PACKET); in testProcessEapMessageResponse()
202 EapResponse eapResponse = new EapResponse(EAP_SIM_RESPONSE_PACKET); in testProcessEapMessageStateMachineTimeout()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/
DEapMessageTest.java48 import com.android.internal.net.eap.EapResult.EapResponse;
172 assertTrue(nakResponse instanceof EapResponse); in testGetNakResponse()
173 EapResponse eapResponse = (EapResponse) nakResponse; in testGetNakResponse()
181 assertTrue(notificationResponse instanceof EapResponse); in testGetNotificationResponse()
182 EapResponse eapResponse = (EapResponse) notificationResponse; in testGetNotificationResponse()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/
DEapResult.java63 public static class EapResponse extends EapResult { class in EapResult
67 protected EapResponse(byte[] packet) { in EapResponse() method in EapResult.EapResponse
89 return new EapResponse(message.encode()); in getEapResponse()
DEapAuthenticator.java27 import com.android.internal.net.eap.EapResult.EapResponse;
181 if (finalProcessResponse instanceof EapResponse) { in processEapMessage()
182 mCb.onResponse(((EapResponse) finalProcessResponse).packet); in processEapMessage()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/
DEapMessage.java29 import com.android.internal.net.eap.EapResult.EapResponse;
196 return EapResponse.getEapResponse( in getNotificationResponse()
225 return EapResponse.getEapResponse( in getNakResponse()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapSimAkaMethodStateMachine.java32 import com.android.internal.net.eap.EapResult.EapResponse;
146 return EapResult.EapResponse.getEapResponse(response); in buildClientErrorResponse()
163 return EapResult.EapResponse.getEapResponse(eapMessage); in buildResponseMessage()
287 return EapResponse.getEapResponse(eapMessage); in buildResponseMessageWithMac()

12