Home
last modified time | relevance | path

Searched refs:EapResponse (Results 1 – 25 of 36) 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.test.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()
DEapSimStateTest.java45 import com.android.internal.net.eap.test.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()
DEapStateTest.java37 import com.android.internal.net.eap.test.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.test.EapResult.EapResponse;
110 assertTrue(result instanceof EapResult.EapResponse); in testProcessNotification()
111 EapResult.EapResponse eapResponse = (EapResult.EapResponse) result; in testProcessNotification()
128 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessEapAkaNotification()
150 EapResponse eapResponse = (EapResponse) result; in testProcessInvalidDecodeResult()
DEapAkaChallengeStateTest.java64 import com.android.internal.net.eap.test.EapResult.EapResponse;
184 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMissingAtRand()
204 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMissingAtAutn()
224 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMissingAtMac()
293 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIccAuthenticationNullResponse()
361 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIccAuthenticationSynchronizeTag()
393 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessValidChallenge()
427 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessBiddingDownAttack()
462 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testHandleAkaNotificationBeforeAuthenticated()
DEapAkaPrimeChallengeStateTest.java49 import com.android.internal.net.eap.test.EapResult.EapResponse;
145 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testTransitionWithEapAkaPrimeIdentity()
183 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testProcessMissingAtKdf()
204 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testProcessMissingAtKdfInput()
227 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testProcessUnsupportedKdf()
250 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testProcessIncorrectNetworkName()
DEapAkaIdentityStateTest.java38 import com.android.internal.net.eap.test.EapResult.EapResponse;
78 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIdentityRequest()
95 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessWithoutIdentityRequestAttributes()
114 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMultipleIdentityRequestAttributes()
DEapSimAkaMethodStateMachineTest.java108 import com.android.internal.net.eap.test.EapResult.EapResponse;
254 assertTrue(result instanceof EapResult.EapResponse); in testBuildClientErrorResponse()
255 EapResult.EapResponse eapResponse = (EapResult.EapResponse) result; in testBuildClientErrorResponse()
272 assertTrue(result instanceof EapResponse); in testBuildResponseMessage()
273 EapResponse eapResponse = (EapResponse) result; in testBuildResponseMessage()
436 EapResponse eapResponse = (EapResponse) result; in testBuildResponseMessageWithMac()
449 EapResponse eapResponse = in testHandleEapSimNotificationPreChallenge()
450 (EapResponse) in testHandleEapSimNotificationPreChallenge()
471 EapResponse eapResponse = in testHandleEapSimNotificationPreChallengeInvalidPBit()
472 (EapResponse) in testHandleEapSimNotificationPreChallengeInvalidPBit()
[all …]
DCreatedStateTest.java33 import com.android.internal.net.eap.test.EapResult.EapResponse;
65 assertTrue(eapResult instanceof EapResponse); in testProcessNotificationRequest()
66 EapResponse eapResponse = (EapResponse) eapResult; in testProcessNotificationRequest()
DEapAkaPrimeStateTest.java40 import com.android.internal.net.eap.test.EapResult.EapResponse;
65 EapResponse eapResponse = (EapResponse) result; in testProcessNotification()
84 EapResponse eapResponse = (EapResponse) result; in testProcessInvalidDecodeResult()
DEapTtlsErroredAndAwaitingClosureStateTest.java31 import com.android.internal.net.eap.test.EapResult.EapResponse;
55 EapResponse eapResponse = in testTransitionToClosureState_closureResponse()
56 (EapResponse) in testTransitionToClosureState_closureResponse()
DEapSimMethodStateMachineTest.java46 import com.android.internal.net.eap.test.EapResult.EapResponse;
123 EapResponse eapResponse = (EapResponse) mEapSimMethodStateMachine.process(eapMessage); in testEapSimFailsOnMultipleSimNotifications()
134 eapResponse = (EapResponse) mEapSimMethodStateMachine.process(eapMessage); in testEapSimFailsOnMultipleSimNotifications()
DEapMsChapV2ValidateAuthenticatorStateTest.java50 import com.android.internal.net.eap.test.EapResult.EapResponse;
96 EapResponse eapResponse = (EapResponse) result; in testProcessSuccessRequest()
145 EapResponse eapResponse = (EapResponse) result; in testProcessFailureRequest()
DMethodStateTest.java54 import com.android.internal.net.eap.test.EapResult.EapResponse;
87 EapResponse eapResponse = (EapResponse) result; in testProcessUnsupportedEapType()
222 EapResponse eapResponse = (EapResponse) result; in testProcessEapNotificationWithNoEapMethodState()
DEapTtlsStateTest.java55 import com.android.internal.net.eap.test.EapResult.EapResponse;
161 EapResponse eapResponse = (EapResponse) result; in testHandleEapNotification()
197 EapResponse eapResponse = (EapResponse) result; in processMessageAndVerifyEapResponse()
DEapAkaMethodStateMachineTest.java47 import com.android.internal.net.eap.test.EapResult.EapResponse;
125 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testEapAkaFailsOnMultipleAkaNotifications()
137 eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testEapAkaFailsOnMultipleAkaNotifications()
DEapAkaPrimeIdentityStateTest.java36 import com.android.internal.net.eap.test.EapResult.EapResponse;
71 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testProcessIdentityRequest()
DEapMsChapV2StateTest.java39 import com.android.internal.net.eap.test.EapResult.EapResponse;
97 EapResponse eapResponse = (EapResponse) result; in testHandleEapNotification()
DEapMsChapV2ChallengeStateTest.java42 import com.android.internal.net.eap.test.EapResult.EapResponse;
84 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.test.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.java43 import com.android.internal.net.eap.test.EapResult.EapResponse;
95 EapResponse eapResponse = new EapResponse(EAP_SIM_RESPONSE_PACKET, null /* flagsToAdd */); in testProcessEapMessageResponse()
207 EapResponse eapResponse = new EapResponse(EAP_SIM_RESPONSE_PACKET, null /* flagsToAdd */); in testProcessEapMessageStateMachineTimeout()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/
DEapMessageTest.java49 import com.android.internal.net.eap.test.EapResult.EapResponse;
173 assertTrue(nakResponse instanceof EapResponse); in testGetNakResponse()
174 EapResponse eapResponse = (EapResponse) nakResponse; in testGetNakResponse()
182 assertTrue(notificationResponse instanceof EapResponse); in testGetNotificationResponse()
183 EapResponse eapResponse = (EapResponse) notificationResponse; in testGetNotificationResponse()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/
DEapAuthenticator.java27 import com.android.internal.net.eap.EapResult.EapResponse;
168 if (finalProcessResponse instanceof EapResponse) { in processEapMessage()
170 ((EapResponse) finalProcessResponse).packet, in processEapMessage()
171 ((EapResponse) finalProcessResponse).flagMask); in processEapMessage()
DEapResult.java90 public static class EapResponse extends EapResult { class in EapResult
102 protected EapResponse(byte[] packet, @EapResponseFlag int[] flagsToAdd) { in EapResponse() method in EapResult.EapResponse
127 return new EapResponse(message.encode(), flagsToAdd); in getEapResponse()
/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()

12