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.java111 @EapType public final int eapType; field in EapData
124 public EapData(@EapType int eapType, @NonNull byte[] eapTypeData) { in EapData() argument
125 this.eapType = eapType; in EapData()
156 return eapType == eapData.eapType in equals()
167 return Objects.hash(eapType, Arrays.hashCode(eapTypeData)); in hashCode()
176 b.put((byte) eapType); in encodeToByteBuffer()
186 public static boolean isSupportedEapType(int eapType) { in isSupportedEapType() argument
187 return SUPPORTED_TYPES.contains(eapType); in isSupportedEapType()
194 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.java134 eapMessage.eapData.eapType, in decode()
135 "UNKNOWN (" + eapMessage.eapData.eapType + ")"); in decode()
146 && eapMessage.eapData.eapType == EAP_NAK) { in decode()
201 switch (message.eapData.eapType) { in process()
232 switch (message.eapData.eapType) { in process()
286 } else if (eapMessage.eapData.eapType == EAP_NOTIFICATION) { in process()
292 int eapType = eapMessage.eapData.eapType; in process() local
293 mEapMethodStateMachine = buildEapMethodStateMachine(eapType); in process()
312 private EapMethodStateMachine buildEapMethodStateMachine(@EapMethod int eapType) { in buildEapMethodStateMachine() argument
313 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()