/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/ |
D | EapMessage.java | 78 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/ |
D | EapAkaIdentityStateTest.java | 20 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()
|
D | EapAkaChallengeStateTest.java | 23 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()
|
D | EapMsChapV2ValidateAuthenticatorStateTest.java | 20 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()
|
D | EapAkaPrimeChallengeStateTest.java | 23 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()
|
D | EapSimStateTest.java | 24 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()
|
D | EapAkaStateTest.java | 24 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()
|
D | EapTtlsCreatedStateTest.java | 20 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()
|
D | EapSimAkaMethodStateMachineTest.java | 21 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()
|
D | EapAkaPrimeCreatedStateTest.java | 20 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()
|
D | EapMsChapV2CreatedStateTest.java | 20 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()
|
D | EapAkaPrimeIdentityStateTest.java | 20 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()
|
D | EapSimCreatedStateTest.java | 22 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()
|
D | EapAkaCreatedStateTest.java | 21 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()
|
D | EapMsChapV2ChallengeStateTest.java | 20 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()
|
D | EapAkaPrimeStateTest.java | 22 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()
|
D | EapSimStartStateTest.java | 22 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()
|
D | EapAkaPrimeMethodStateMachineTest.java | 21 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()
|
D | EapTtlsStateTest.java | 25 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()
|
D | EapMsChapV2StateTest.java | 22 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()
|
D | EapSimChallengeStateTest.java | 23 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()
|
D | EapAkaMethodStateMachineTest.java | 23 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()
|
D | EapSimMethodStateMachineTest.java | 23 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/ |
D | EapMessageTest.java | 23 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/ |
D | EapStateMachine.java | 30 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()
|