/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/ |
D | EapDataTest.java | 42 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()
|
D | EapMessageTest.java | 22 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/ |
D | EapAkaChallengeStateTest.java | 22 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 …]
|
D | EapAkaIdentityStateTest.java | 40 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()
|
D | EapMsChapV2ValidateAuthenticatorStateTest.java | 52 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()
|
D | EapAkaPrimeChallengeStateTest.java | 50 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()
|
D | EapSimStateTest.java | 23 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()
|
D | EapAkaStateTest.java | 23 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()
|
D | EapTtlsStateTest.java | 25 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()
|
D | EapSimCreatedStateTest.java | 21 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()
|
D | EapAkaPrimeStateTest.java | 21 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()
|
D | EapMsChapV2CreatedStateTest.java | 36 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()
|
D | EapAkaPrimeCreatedStateTest.java | 34 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()
|
D | EapAkaPrimeIdentityStateTest.java | 37 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()
|
D | EapAkaCreatedStateTest.java | 40 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()
|
D | EapMsChapV2ChallengeStateTest.java | 44 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()
|
D | EapMsChapV2StateTest.java | 20 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()
|
D | EapSimStartStateTest.java | 21 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()
|
D | EapTtlsCreatedStateTest.java | 34 import com.android.internal.net.eap.test.message.EapData; 46 EapData eapData = new EapData(EAP_TYPE_TTLS, DUMMY_EAP_TYPE_DATA); in testStartRequest()
|
D | EapSimChallengeStateTest.java | 22 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/ |
D | EapMessage.java | 20 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()
|
D | EapData.java | 55 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/ |
D | EapSimAkaMethodStateMachine.java | 38 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()
|
D | EapStateMachine.java | 26 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()
|
D | EapTtlsMethodStateMachine.java | 26 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()
|