Home
last modified time | relevance | path

Searched refs:EAP_CODE_REQUEST (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/
DEapMessage.java78 EAP_CODE_REQUEST,
85 public static final int EAP_CODE_REQUEST = 1; field in EapMessage
92 EAP_CODE_STRING.put(EAP_CODE_REQUEST, "REQUEST"); in EAP_CODE_STRING.put() argument
133 if (eapCode == EAP_CODE_REQUEST || eapCode == EAP_CODE_RESPONSE) { in decode()
236 if (eapCode != EAP_CODE_REQUEST in validate()
251 if ((eapCode == EAP_CODE_REQUEST || eapCode == EAP_CODE_RESPONSE) && eapData == null) { in validate()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapAkaIdentityStateTest.java20 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
68 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessIdentityRequest()
87 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessWithoutIdentityRequestAttributes()
103 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessMultipleIdentityRequestAttributes()
122 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessImsiUnavailable()
145 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessTransitionToChallengeState()
DEapAkaChallengeStateTest.java23 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
126 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessIncorrectEapMethodType()
167 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessMissingAtRand()
187 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessMissingAtAutn()
207 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessMissingAtMac()
267 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessIccAuthenticationNullResponse()
301 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessIccAuthenticationInvalidTag()
335 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessIccAuthenticationSynchronizeTag()
369 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessValidChallenge()
401 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessBiddingDownAttack()
DEapMsChapV2ValidateAuthenticatorStateTest.java20 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
83 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessSuccessRequest()
105 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessInvalidSuccessRequest()
126 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessFailureRequest()
154 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessEmptyTypeData()
168 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessInvalidPacket()
DEapAkaPrimeChallengeStateTest.java23 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
115 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testTransitionWithEapIdentity()
136 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testTransitionWithEapAkaPrimeIdentity()
168 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessMissingAtKdf()
190 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessMissingAtKdfInput()
211 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessUnsupportedKdf()
234 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessIncorrectNetworkName()
DEapSimStateTest.java24 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
100 EapMessage notification = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessNotification()
115 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessEapSimNotification()
135 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessInvalidDecodeResult()
DEapAkaStateTest.java24 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
99 EapMessage notification = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessNotification()
114 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessEapAkaNotification()
134 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessInvalidDecodeResult()
DEapTtlsCreatedStateTest.java20 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
44 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testStartRequest()
60 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testUnexpectedRequest()
DEapSimAkaMethodStateMachineTest.java21 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
305 byte[] mac = mStateMachine.getMac(EAP_CODE_REQUEST, ID_INT, eapSimTypeData, NONCE_MT); in testGetMac()
317 mStateMachine.getMac(EAP_CODE_REQUEST, ID_INT, null, null); in testGetMacNoMacAlgorithm()
330 EapMessage message = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testReceivedValidMac()
334 .getMac(eq(EAP_CODE_REQUEST), eq(ID_INT), eq(eapSimTypeData), eq(NONCE_MT)); in testReceivedValidMac()
340 .getMac(eq(EAP_CODE_REQUEST), eq(ID_INT), eq(eapSimTypeData), eq(NONCE_MT)); in testReceivedValidMac()
345 .getMac(eq(EAP_CODE_REQUEST), eq(ID_INT), eq(eapSimTypeData), eq(NONCE_MT)); in testReceivedValidMac()
DEapAkaPrimeCreatedStateTest.java20 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
48 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessTransitionToIdentityState()
68 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessTransitionToChallengeState()
DEapMsChapV2CreatedStateTest.java20 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
47 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessChallengeRequest()
65 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testIncorrectTypeData()
DEapAkaPrimeIdentityStateTest.java20 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
61 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessIdentityRequest()
80 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessTransitionToChallengeState()
DEapSimCreatedStateTest.java22 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
86 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testTransitionToStartState()
105 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessIncorrectEapMethodType()
DEapAkaCreatedStateTest.java21 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
55 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessTransitionToIdentityState()
75 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessTransitionToChallengeState()
DEapMsChapV2ChallengeStateTest.java20 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
64 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessChallenge()
93 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testIncorrectTypeData()
DEapAkaPrimeStateTest.java22 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
57 EapMessage notification = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessNotification()
71 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessInvalidDecodeResult()
DEapSimStartStateTest.java22 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
120 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessIncorrectEapMethodType()
187 EAP_CODE_REQUEST, in testAddIdentityAttributeToResponseImsiUnavailable()
219 EAP_CODE_REQUEST, ID_INT, new EapData(EAP_TYPE_SIM, DUMMY_EAP_TYPE_DATA)); in testProcessWithoutIdentityRequest()
DEapAkaPrimeMethodStateMachineTest.java21 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
68 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testIsValidMacUsesHmacSha256()
DEapTtlsStateTest.java25 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
101 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testHandleEapNotification()
DEapMsChapV2StateTest.java22 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
91 EapMessage notification = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testHandleEapNotification()
DEapSimChallengeStateTest.java23 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
129 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessIncorrectEapMethodType()
330 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testProcessUiccAuthenticationNullResponse()
DEapAkaMethodStateMachineTest.java23 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
111 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testEapAkaFailsOnMultipleAkaNotifications()
DEapSimMethodStateMachineTest.java23 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
113 EapMessage eapMessage = new EapMessage(EAP_CODE_REQUEST, ID_INT, eapData); in testEapSimFailsOnMultipleSimNotifications()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/
DEapMessageTest.java23 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
61 new EapMessage(EAP_CODE_REQUEST, ID_INT, null); in testConstructorRequestWithoutType()
78 assertEquals(EAP_CODE_REQUEST, result.eapCode); in testDecode()
191 assertEquals(EAP_CODE_REQUEST, result.eapCode); in testDecodewithExtraBytes()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapStateMachine.java30 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
145 } else if (eapMessage.eapCode == EAP_CODE_REQUEST in decode()
194 if (message.eapCode != EAP_CODE_REQUEST) { in process()
225 if (message.eapCode != EAP_CODE_REQUEST) { in process()

12