/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/ |
D | EapDataTest.java | 19 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_SIM; 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() [all …]
|
D | EapMessageTest.java | 20 import static com.android.internal.net.eap.message.EapData.EAP_IDENTITY; 21 import static com.android.internal.net.eap.message.EapData.EAP_NAK; 22 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_SIM; 75 EapData expectedEapData = new EapData(EAP_TYPE_SIM, in testDecode() 145 EapData nakData = new EapData(EAP_NAK, new byte[] {EAP_TYPE_SIM}); in testEncode() 189 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 | 20 import static com.android.internal.net.eap.message.EapData.EAP_IDENTITY; 21 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_AKA; 64 import com.android.internal.net.eap.message.EapData; 125 EapData eapData = new EapData(EAP_IDENTITY, DUMMY_EAP_TYPE_DATA); in testProcessIncorrectEapMethodType() 166 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessMissingAtRand() 186 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessMissingAtAutn() 206 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessMissingAtMac() 266 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessIccAuthenticationNullResponse() 300 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessIccAuthenticationInvalidTag() 334 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessIccAuthenticationSynchronizeTag() [all …]
|
D | EapAkaIdentityStateTest.java | 19 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_AKA; 39 import com.android.internal.net.eap.message.EapData; 67 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessIdentityRequest() 86 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessWithoutIdentityRequestAttributes() 102 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessMultipleIdentityRequestAttributes() 121 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessImsiUnavailable() 144 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessTransitionToChallengeState()
|
D | EapMsChapV2ValidateAuthenticatorStateTest.java | 19 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_MSCHAP_V2; 51 import com.android.internal.net.eap.message.EapData; 82 EapData eapData = new EapData(EAP_TYPE_MSCHAP_V2, DUMMY_TYPE_DATA); in testProcessSuccessRequest() 104 EapData eapData = new EapData(EAP_TYPE_MSCHAP_V2, DUMMY_TYPE_DATA); in testProcessInvalidSuccessRequest() 125 EapData eapData = new EapData(EAP_TYPE_MSCHAP_V2, DUMMY_TYPE_DATA); in testProcessFailureRequest() 153 EapData eapData = new EapData(EAP_TYPE_MSCHAP_V2, new byte[0]); in testProcessEmptyTypeData() 167 EapData eapData = new EapData(EAP_TYPE_MSCHAP_V2, DUMMY_TYPE_DATA); in testProcessInvalidPacket()
|
D | EapAkaPrimeChallengeStateTest.java | 22 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_AKA_PRIME; 50 import com.android.internal.net.eap.message.EapData; 114 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testTransitionWithEapIdentity() 135 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testTransitionWithEapAkaPrimeIdentity() 167 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testProcessMissingAtKdf() 189 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testProcessMissingAtKdfInput() 210 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testProcessUnsupportedKdf() 233 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testProcessIncorrectNetworkName()
|
D | EapSimStateTest.java | 22 import static com.android.internal.net.eap.message.EapData.EAP_NOTIFICATION; 23 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_SIM; 46 import com.android.internal.net.eap.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 | 22 import static com.android.internal.net.eap.message.EapData.EAP_NOTIFICATION; 23 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_AKA; 46 import com.android.internal.net.eap.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 | EapSimCreatedStateTest.java | 19 import static com.android.internal.net.eap.message.EapData.EAP_IDENTITY; 20 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_SIM; 37 import com.android.internal.net.eap.message.EapData; 85 EapData eapData = new EapData(EAP_TYPE_SIM, DUMMY_EAP_TYPE_DATA); in testTransitionToStartState() 104 EapData eapData = new EapData(EAP_IDENTITY, DUMMY_EAP_TYPE_DATA); in testProcessIncorrectEapMethodType()
|
D | EapAkaPrimeStateTest.java | 19 import static com.android.internal.net.eap.message.EapData.EAP_NOTIFICATION; 20 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_AKA_PRIME; 41 import com.android.internal.net.eap.message.EapData; 56 EapData eapData = new EapData(EAP_NOTIFICATION, NOTIFICATION_MESSAGE.getBytes()); in testProcessNotification() 70 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testProcessInvalidDecodeResult()
|
D | EapTtlsCreatedStateTest.java | 19 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_TTLS; 31 import com.android.internal.net.eap.message.EapData; 43 EapData eapData = new EapData(EAP_TYPE_TTLS, DUMMY_EAP_TYPE_DATA); in testStartRequest() 59 EapData eapData = new EapData(EAP_TYPE_TTLS, DUMMY_EAP_TYPE_DATA); in testUnexpectedRequest()
|
D | EapAkaPrimeCreatedStateTest.java | 19 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_AKA_PRIME; 33 import com.android.internal.net.eap.message.EapData; 47 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testProcessTransitionToIdentityState() 67 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testProcessTransitionToChallengeState()
|
D | EapMsChapV2CreatedStateTest.java | 19 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_MSCHAP_V2; 35 import com.android.internal.net.eap.message.EapData; 46 EapData eapData = new EapData(EAP_TYPE_MSCHAP_V2, DUMMY_TYPE_DATA); in testProcessChallengeRequest() 64 EapData eapData = new EapData(EAP_TYPE_MSCHAP_V2, DUMMY_TYPE_DATA); in testIncorrectTypeData()
|
D | EapAkaPrimeIdentityStateTest.java | 19 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_AKA_PRIME; 36 import com.android.internal.net.eap.message.EapData; 60 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testProcessIdentityRequest() 79 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, DUMMY_EAP_TYPE_DATA); in testProcessTransitionToChallengeState()
|
D | EapAkaCreatedStateTest.java | 19 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_AKA; 39 import com.android.internal.net.eap.message.EapData; 54 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessTransitionToIdentityState() 74 EapData eapData = new EapData(EAP_TYPE_AKA, DUMMY_EAP_TYPE_DATA); in testProcessTransitionToChallengeState()
|
D | EapMsChapV2ChallengeStateTest.java | 19 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_MSCHAP_V2; 43 import com.android.internal.net.eap.message.EapData; 63 EapData eapData = new EapData(EAP_TYPE_MSCHAP_V2, DUMMY_TYPE_DATA); in testProcessChallenge() 92 EapData eapData = new EapData(EAP_TYPE_MSCHAP_V2, DUMMY_TYPE_DATA); in testIncorrectTypeData()
|
D | EapSimStartStateTest.java | 19 import static com.android.internal.net.eap.message.EapData.EAP_IDENTITY; 20 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_SIM; 55 import com.android.internal.net.eap.message.EapData; 119 EapData eapData = new EapData(EAP_IDENTITY, DUMMY_EAP_TYPE_DATA); in testProcessIncorrectEapMethodType() 189 new EapData(EAP_TYPE_SIM, DUMMY_EAP_TYPE_DATA)); in testAddIdentityAttributeToResponseImsiUnavailable() 219 EAP_CODE_REQUEST, ID_INT, new EapData(EAP_TYPE_SIM, DUMMY_EAP_TYPE_DATA)); in testProcessWithoutIdentityRequest()
|
D | EapAkaPrimeMethodStateMachineTest.java | 20 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_AKA_PRIME; 32 import com.android.internal.net.eap.message.EapData; 67 EapData eapData = new EapData(EAP_TYPE_AKA_PRIME, new byte[0]); in testIsValidMacUsesHmacSha256()
|
D | EapSimChallengeStateTest.java | 20 import static com.android.internal.net.eap.message.EapData.EAP_IDENTITY; 21 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_SIM; 67 import com.android.internal.net.eap.message.EapData; 128 EapData eapData = new EapData(EAP_IDENTITY, DUMMY_EAP_TYPE_DATA); in testProcessIncorrectEapMethodType() 329 EapData eapData = new EapData(EAP_TYPE_SIM, DUMMY_EAP_TYPE_DATA); in testProcessUiccAuthenticationNullResponse()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapStateMachine.java | 20 import static com.android.internal.net.eap.message.EapData.EAP_IDENTITY; 21 import static com.android.internal.net.eap.message.EapData.EAP_NAK; 22 import static com.android.internal.net.eap.message.EapData.EAP_NOTIFICATION; 23 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_AKA; 24 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_AKA_PRIME; 25 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_MSCHAP_V2; 26 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_SIM; 27 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_STRING; 28 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_TTLS; 55 import com.android.internal.net.eap.message.EapData; [all …]
|
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() 251 EapData eapData = new EapData(getEapMethod(), typeDataWithEmptyMac); in getMac() 285 EapData eapData = new EapData(getEapMethod(), eapSimAkaTypeData.encode()); in buildResponseMessageWithMac()
|
/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 | 49 public class EapData { class 114 public static final EapData NOTIFICATION_DATA = new EapData(EAP_NOTIFICATION, new byte[0]); 124 public EapData(@EapType int eapType, @NonNull byte[] eapTypeData) { in EapData() method in EapData 152 if (o == null || !(o instanceof EapData)) { in equals() 155 EapData eapData = (EapData) o; in equals()
|
/packages/modules/IPsec/src/java/android/net/eap/ |
D | EapSessionConfig.java | 19 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_AKA; 20 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_AKA_PRIME; 21 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_MSCHAP_V2; 22 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_SIM; 23 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_TTLS; 31 import com.android.internal.net.eap.message.EapData.EapMethod;
|
/packages/modules/IPsec/tests/iketests/src/java/android/net/eap/ |
D | EapSessionConfigTest.java | 22 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_AKA; 23 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_AKA_PRIME; 24 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_MSCHAP_V2; 25 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_SIM; 26 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_TTLS;
|