Home
last modified time | relevance | path

Searched refs:eapType (Results 1 – 6 of 6) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/
DEapData.java106 @EapType public final int eapType; field in EapData
119 public EapData(@EapType int eapType, @NonNull byte[] eapTypeData) { in EapData() argument
120 this.eapType = eapType; in EapData()
151 return eapType == eapData.eapType in equals()
162 return Objects.hash(eapType, Arrays.hashCode(eapTypeData)); in hashCode()
171 b.put((byte) eapType); in encodeToByteBuffer()
181 public static boolean isSupportedEapType(int eapType) { in isSupportedEapType() argument
182 return SUPPORTED_TYPES.contains(eapType); in isSupportedEapType()
189 if (!isSupportedEapType(this.eapType)) { in validate()
DEapMessage.java134 int eapType = Byte.toUnsignedInt(buffer.get()); in decode() local
135 if (!EapData.isSupportedEapType(eapType)) { in decode()
136 LOG.e(TAG, "Decoding EAP packet with unsupported EAP-Type: " + eapType); in decode()
138 "Unsupported eapType=" + eapType); in decode()
148 eapData = new EapData(eapType, eapDataBytes); in decode()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapStateMachine.java132 eapMessage.eapData.eapType, in decode()
133 "UNKNOWN (" + eapMessage.eapData.eapType + ")"); in decode()
144 && eapMessage.eapData.eapType == EAP_NAK) { in decode()
199 switch (message.eapData.eapType) { in process()
230 switch (message.eapData.eapType) { in process()
284 } else if (eapMessage.eapData.eapType == EAP_NOTIFICATION) { in process()
290 int eapType = eapMessage.eapData.eapType; in process() local
291 mEapMethodStateMachine = buildEapMethodStateMachine(eapType); in process()
310 private EapMethodStateMachine buildEapMethodStateMachine(@EapMethod int eapType) { in buildEapMethodStateMachine() argument
311 EapMethodConfig eapMethodConfig = mEapSessionConfig.eapConfigs.get(eapType); in buildEapMethodStateMachine()
[all …]
DEapMsChapV2MethodStateMachine.java433 int eapType = message.eapData.eapType; in process() local
434 if (eapType == EAP_NOTIFICATION) { in process()
441 eapType, "UNKNOWN (" + eapType + ")")); in process()
447 + eapType)); in process()
471 int eapType = message.eapData.eapType; in process() local
475 + EAP_TYPE_STRING.getOrDefault(eapType, "UNKNOWN (" + eapType + ")")); in process()
478 "Expected EAP Type " + getEapMethod() + ", received " + eapType)); in process()
DEapMethodStateMachine.java93 } else if (message.eapData.eapType == EAP_NOTIFICATION) { in handleEapSuccessFailureNotification()
102 + message.eapData.eapType)); in handleEapSuccessFailureNotification()
103 } else if (message.eapData.eapType != getEapMethod()) { in handleEapSuccessFailureNotification()
106 + ", received " + message.eapData.eapType)); in handleEapSuccessFailureNotification()
DEapSimAkaMethodStateMachine.java154 int eapType, in buildResponseMessage() argument
159 EapData eapData = new EapData(eapType, eapSimTypeData.encode()); in buildResponseMessage()