Home
last modified time | relevance | path

Searched refs:EapData (Results 1 – 25 of 33) sorted by relevance

12

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/
DEapDataTest.java42 new EapData(EAP_TYPE_SIM, EAP_TYPE_DATA); in testEapDataConstructor()
48 new EapData(EAP_TYPE_SIM, null); in testEapDataConstructorNullEapData()
57 new EapData(UNSUPPORTED_EAP_TYPE, EAP_TYPE_DATA); in testEapDataConstructorUnsupportedType()
65 EapData eapData = new EapData(EAP_TYPE_SIM, EAP_TYPE_DATA); in testGetLength()
71 EapData eapData = new EapData(EAP_TYPE_SIM, EAP_TYPE_DATA); in testEquals()
72 EapData eapDataCopy = new EapData(EAP_TYPE_SIM, EAP_TYPE_DATA); in testEquals()
75 EapData eapDataDifferent = new EapData(EAP_TYPE_SIM, new byte[0]); in testEquals()
81 EapData eapData = new EapData(EAP_TYPE_SIM, EAP_TYPE_DATA); in testHashCode()
82 EapData eapDataCopy = new EapData(EAP_TYPE_SIM, EAP_TYPE_DATA); in testHashCode()
89 EapData eapData = new EapData(EAP_TYPE_SIM, EAP_TYPE_DATA); in testEncodeToByteBuffer()
DEapMessageTest.java22 import static com.android.internal.net.eap.test.message.EapData.EAP_IDENTITY;
23 import static com.android.internal.net.eap.test.message.EapData.EAP_NAK;
76 EapData expectedEapData = new EapData(EAP_TYPE_SIM, in testDecode()
146 EapData nakData = new EapData(EAP_NAK, new byte[] {EAP_TYPE_SIM}); in testEncode()
190 EapData eapData = new EapData(EAP_IDENTITY, new byte[0]); in testDecodewithExtraBytes()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapAkaChallengeStateTest.java22 import static com.android.internal.net.eap.test.message.EapData.EAP_IDENTITY;
65 import com.android.internal.net.eap.test.message.EapData;
127 EapData eapData = new EapData(EAP_IDENTITY, DUMMY_EAP_TYPE_DATA); in testProcessIncorrectEapMethodType()
168 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessMissingAtRand()
188 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessMissingAtAutn()
208 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessMissingAtMac()
268 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessIccAuthenticationNullResponse()
302 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessIccAuthenticationInvalidTag()
336 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessIccAuthenticationSynchronizeTag()
370 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessValidChallenge()
[all …]
DEapAkaIdentityStateTest.java40 import com.android.internal.net.eap.test.message.EapData;
69 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessIdentityRequest()
88 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessWithoutIdentityRequestAttributes()
104 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessMultipleIdentityRequestAttributes()
123 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessImsiUnavailable()
146 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessTransitionToChallengeState()
DEapMsChapV2ValidateAuthenticatorStateTest.java52 import com.android.internal.net.eap.test.message.EapData;
83 EapData eapData = new EapData(EAP_TYPE_MSCHAP_V2, DUMMY_TYPE_DATA); in testProcessSuccessRequest()
105 EapData eapData = new EapData(EAP_TYPE_MSCHAP_V2, DUMMY_TYPE_DATA); in testProcessInvalidSuccessRequest()
126 EapData eapData = new EapData(EAP_TYPE_MSCHAP_V2, DUMMY_TYPE_DATA); in testProcessFailureRequest()
154 EapData eapData = new EapData(EAP_TYPE_MSCHAP_V2, new byte[0]); in testProcessEmptyTypeData()
168 EapData eapData = new EapData(EAP_TYPE_MSCHAP_V2, DUMMY_TYPE_DATA); in testProcessInvalidPacket()
DEapAkaPrimeChallengeStateTest.java50 import com.android.internal.net.eap.test.message.EapData;
115 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testTransitionWithEapIdentity()
136 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testTransitionWithEapAkaPrimeIdentity()
168 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testProcessMissingAtKdf()
190 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testProcessMissingAtKdfInput()
211 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testProcessUnsupportedKdf()
234 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testProcessIncorrectNetworkName()
DEapSimStateTest.java23 import static com.android.internal.net.eap.test.message.EapData.EAP_NOTIFICATION;
46 import com.android.internal.net.eap.test.message.EapData;
99 EapData eapData = new EapData(EAP_NOTIFICATION, NOTIFICATION_MESSAGE.getBytes()); in testProcessNotification()
114 EapData eapData = new EapData(EAP_TYPE_SIM, DUMMY_EAP_TYPE_DATA); in testProcessEapSimNotification()
134 EapData eapData = new EapData(EAP_TYPE_SIM, DUMMY_EAP_TYPE_DATA); in testProcessInvalidDecodeResult()
DEapAkaStateTest.java23 import static com.android.internal.net.eap.test.message.EapData.EAP_NOTIFICATION;
46 import com.android.internal.net.eap.test.message.EapData;
98 EapData eapData = new EapData(EAP_NOTIFICATION, NOTIFICATION_MESSAGE.getBytes()); in testProcessNotification()
113 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessEapAkaNotification()
133 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessInvalidDecodeResult()
DEapTtlsStateTest.java25 import static com.android.internal.net.eap.test.message.EapData.EAP_NOTIFICATION;
60 import com.android.internal.net.eap.test.message.EapData;
154 EapData eapData = new EapData(EAP_NOTIFICATION, NOTIFICATION_MESSAGE.getBytes()); in testHandleEapNotification()
193 EapData eapData = new EapData(EAP_TYPE_TTLS, DUMMY_EAP_TYPE_DATA); in processMessageAndVerifyEapResponse()
225 EapData eapData = new EapData(EAP_TYPE_TTLS, DUMMY_EAP_TYPE_DATA); in processMessageAndVerifyEapError()
DEapSimCreatedStateTest.java21 import static com.android.internal.net.eap.test.message.EapData.EAP_IDENTITY;
38 import com.android.internal.net.eap.test.message.EapData;
87 EapData eapData = new EapData(EAP_TYPE_SIM, DUMMY_EAP_TYPE_DATA); in testTransitionToStartState()
106 EapData eapData = new EapData(EAP_IDENTITY, DUMMY_EAP_TYPE_DATA); in testProcessIncorrectEapMethodType()
DEapAkaPrimeStateTest.java21 import static com.android.internal.net.eap.test.message.EapData.EAP_NOTIFICATION;
42 import com.android.internal.net.eap.test.message.EapData;
57 EapData eapData = new EapData(EAP_NOTIFICATION, NOTIFICATION_MESSAGE.getBytes()); in testProcessNotification()
71 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testProcessInvalidDecodeResult()
DEapMsChapV2CreatedStateTest.java36 import com.android.internal.net.eap.test.message.EapData;
47 EapData eapData = new EapData(EAP_TYPE_MSCHAP_V2, DUMMY_TYPE_DATA); in testProcessChallengeRequest()
65 EapData eapData = new EapData(EAP_TYPE_MSCHAP_V2, DUMMY_TYPE_DATA); in testIncorrectTypeData()
DEapAkaPrimeCreatedStateTest.java34 import com.android.internal.net.eap.test.message.EapData;
48 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testProcessTransitionToIdentityState()
68 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testProcessTransitionToChallengeState()
DEapAkaPrimeIdentityStateTest.java37 import com.android.internal.net.eap.test.message.EapData;
62 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testProcessIdentityRequest()
81 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testProcessTransitionToChallengeState()
DEapAkaCreatedStateTest.java40 import com.android.internal.net.eap.test.message.EapData;
55 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessTransitionToIdentityState()
75 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessTransitionToChallengeState()
DEapMsChapV2ChallengeStateTest.java44 import com.android.internal.net.eap.test.message.EapData;
64 EapData eapData = new EapData(EAP_TYPE_MSCHAP_V2, DUMMY_TYPE_DATA); in testProcessChallenge()
93 EapData eapData = new EapData(EAP_TYPE_MSCHAP_V2, DUMMY_TYPE_DATA); in testIncorrectTypeData()
DEapMsChapV2StateTest.java20 import static com.android.internal.net.eap.test.message.EapData.EAP_NOTIFICATION;
41 import com.android.internal.net.eap.test.message.EapData;
90 EapData eapData = new EapData(EAP_NOTIFICATION, NOTIFICATION_MESSAGE.getBytes()); in testHandleEapNotification()
DEapSimStartStateTest.java21 import static com.android.internal.net.eap.test.message.EapData.EAP_IDENTITY;
55 import com.android.internal.net.eap.test.message.EapData;
120 EapData eapData = new EapData(EAP_IDENTITY, DUMMY_EAP_TYPE_DATA); in testProcessIncorrectEapMethodType()
190 new EapData(EAP_TYPE_SIM, DUMMY_EAP_TYPE_DATA)); in testAddIdentityAttributeToResponseImsiUnavailable()
220 EAP_CODE_REQUEST, ID_INT, new EapData(EAP_TYPE_SIM, DUMMY_EAP_TYPE_DATA)); in testProcessWithoutIdentityRequest()
DEapTtlsCreatedStateTest.java34 import com.android.internal.net.eap.test.message.EapData;
46 EapData eapData = new EapData(EAP_TYPE_TTLS, DUMMY_EAP_TYPE_DATA); in testStartRequest()
DEapSimChallengeStateTest.java22 import static com.android.internal.net.eap.test.message.EapData.EAP_IDENTITY;
68 import com.android.internal.net.eap.test.message.EapData;
129 EapData eapData = new EapData(EAP_IDENTITY, DUMMY_EAP_TYPE_DATA); in testProcessIncorrectEapMethodType()
330 EapData eapData = new EapData(EAP_TYPE_SIM, DUMMY_EAP_TYPE_DATA); in testProcessUiccAuthenticationNullResponse()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/
DEapMessage.java20 import static com.android.internal.net.eap.message.EapData.EAP_NAK;
21 import static com.android.internal.net.eap.message.EapData.NOTIFICATION_DATA;
103 public final EapData eapData;
105 public EapMessage(@EapCode int eapCode, int eapIdentifier, @Nullable EapData eapData) in EapMessage()
127 EapData eapData; in decode()
135 if (!EapData.isSupportedEapType(eapType)) { in decode()
148 eapData = new EapData(eapType, eapDataBytes); in decode()
223 EapData nakData = new EapData(EAP_NAK, buffer.array()); in getNakResponse()
DEapData.java55 public class EapData { class
105 public static final EapData NOTIFICATION_DATA = new EapData(EAP_NOTIFICATION, new byte[0]);
115 public EapData(@EapType int eapType, @NonNull byte[] eapTypeData) { in EapData() method in EapData
143 if (o == null || !(o instanceof EapData)) { in equals()
146 EapData eapData = (EapData) o; in equals()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapSimAkaMethodStateMachine.java38 import com.android.internal.net.eap.message.EapData;
143 EapData eapData = new EapData(eapMethodType, encodedTypeData); in buildClientErrorResponse()
159 EapData eapData = new EapData(eapType, eapSimTypeData.encode()); in buildResponseMessage()
249 EapData eapData = new EapData(getEapMethod(), typeDataWithEmptyMac); in getMac()
283 EapData eapData = new EapData(getEapMethod(), eapSimAkaTypeData.encode()); in buildResponseMessageWithMac()
DEapStateMachine.java26 import static com.android.internal.net.eap.message.EapData.EAP_IDENTITY;
27 import static com.android.internal.net.eap.message.EapData.EAP_NAK;
28 import static com.android.internal.net.eap.message.EapData.EAP_NOTIFICATION;
29 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_STRING;
57 import com.android.internal.net.eap.message.EapData;
251 EapData identityData = in getIdentityResponse()
252 new EapData(EAP_IDENTITY, mEapSessionConfig.getEapIdentity()); in getIdentityResponse()
DEapTtlsMethodStateMachine.java26 import static com.android.internal.net.eap.message.EapData.EAP_IDENTITY;
27 import static com.android.internal.net.eap.message.EapData.EAP_NOTIFICATION;
54 import com.android.internal.net.eap.message.EapData;
346 EapData eapData = in buildEapIdentityResponseAvp()
347 new EapData( in buildEapIdentityResponseAvp()
791 EapData eapData = new EapData(getEapMethod(), eapTtlsTypeData.encode()); in buildEapMessageResponse()

12