Home
last modified time | relevance | path

Searched refs:EAP_HEADER_LENGTH (Results 1 – 2 of 2) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/
DEapMessage.java98 public static final int EAP_HEADER_LENGTH = 4; field in EapMessage
109 this.eapLength = EAP_HEADER_LENGTH + ((eapData == null) ? 0 : eapData.getLength()); in EapMessage()
143 int eapDataLengthRemaining = Math.max(0, eapLength - EAP_HEADER_LENGTH - 1); in decode()
159 if (eapLength > EAP_HEADER_LENGTH + eapDataLength) { in decode()
245 && eapLength != EAP_HEADER_LENGTH) { in validate()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DMethodStateTest.java24 import static com.android.internal.net.eap.test.message.EapMessage.EAP_HEADER_LENGTH;
171 && msg.eapLength == EAP_HEADER_LENGTH in testProcessTransitionToSuccessState()
191 && msg.eapLength == EAP_HEADER_LENGTH in testProcessTransitionToFailureState()