Home
last modified time | relevance | path

Searched refs:eapIdentifier (Results 1 – 10 of 10) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/
DEapMessage.java101 public final int eapIdentifier; field in EapMessage
105 public EapMessage(@EapCode int eapCode, int eapIdentifier, @Nullable EapData eapData) in EapMessage() argument
108 this.eapIdentifier = eapIdentifier; in EapMessage()
125 int eapIdentifier; in decode() local
130 eapIdentifier = Byte.toUnsignedInt(buffer.get()); in decode()
137 throw new UnsupportedEapTypeException(eapIdentifier, in decode()
165 return new EapMessage(eapCode, eapIdentifier, eapData); in decode()
176 byteBuffer.put((byte) eapIdentifier); in encode()
194 public static EapResult getNotificationResponse(int eapIdentifier) { in getNotificationResponse() argument
197 new EapMessage(EAP_CODE_RESPONSE, eapIdentifier, NOTIFICATION_DATA)); in getNotificationResponse()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapAkaMethodStateMachine.java183 message.eapIdentifier, getEapMethod(), decodeResult.atClientErrorCode); in process()
196 message.eapIdentifier, in process()
200 message.eapIdentifier, in process()
222 message.eapIdentifier, getEapMethod(), decodeResult.atClientErrorCode); in process()
235 message.eapIdentifier, in process()
239 message.eapIdentifier, in process()
247 message.eapIdentifier, in process()
274 message.eapIdentifier, in process()
345 message.eapIdentifier, getEapMethod(), decodeResult.atClientErrorCode); in process()
356 message.eapIdentifier, in process()
[all …]
DEapSimMethodStateMachine.java148 message.eapIdentifier, in process()
161 message.eapIdentifier, in process()
165 message.eapIdentifier, in process()
206 message.eapIdentifier, in process()
219 message.eapIdentifier, in process()
230 message.eapIdentifier, in process()
238 message.eapIdentifier, in process()
252 message.eapIdentifier, in process()
274 message.eapIdentifier, in process()
388 message.eapIdentifier, in process()
[all …]
DEapStateMachine.java157 ex.eapIdentifier, in decode()
237 return getIdentityResponse(message.eapIdentifier); in process()
246 EapResult getIdentityResponse(int eapIdentifier) { in getIdentityResponse() argument
251 new EapMessage(EAP_CODE_RESPONSE, eapIdentifier, identityData)); in getIdentityResponse()
255 + LOG.pii(eapIdentifier)); in getIdentityResponse()
297 eapMessage.eapIdentifier, in process()
375 return EapMessage.getNotificationResponse(message.eapIdentifier); in handleNotification()
DEapSimAkaMethodStateMachine.java136 int eapIdentifier, in buildClientErrorResponse() argument
145 EapMessage response = new EapMessage(EAP_CODE_RESPONSE, eapIdentifier, eapData); in buildClientErrorResponse()
221 byte[] mac = getMac(message.eapCode, message.eapIdentifier, typeData, extraData); in isValidMac()
239 byte[] getMac(int eapCode, int eapIdentifier, EapSimAkaTypeData typeData, byte[] extraData) in getMac() argument
252 EapMessage messageForMac = new EapMessage(eapCode, eapIdentifier, eapData); in getMac()
DEapMsChapV2MethodStateMachine.java298 return buildEapMessageResponse(mTAG, message.eapIdentifier, challengeResponse); in process()
383 mTAG, message.eapIdentifier, getEapMsChapV2SuccessResponse()); in process()
406 mTAG, message.eapIdentifier, getEapMsChapV2FailureResponse()); in process()
483 String tag, int eapIdentifier, EapMsChapV2TypeData typeData) { in buildEapMessageResponse() argument
486 EapMessage eapMessage = new EapMessage(EAP_CODE_RESPONSE, eapIdentifier, eapData); in buildEapMessageResponse()
DEapAkaPrimeMethodStateMachine.java182 return buildAuthenticationRejectMessage(message.eapIdentifier); in handleChallengeAuthentication()
252 RandChallengeResult result, int eapIdentifier, EapAkaTypeData eapAkaTypeData) { in generateAndPersistEapAkaKeys() argument
295 eapIdentifier, getEapMethod(), AtClientErrorCode.UNABLE_TO_PROCESS); in generateAndPersistEapAkaKeys()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/exceptions/
DUnsupportedEapTypeException.java27 public final int eapIdentifier; field in UnsupportedEapTypeException
36 public UnsupportedEapTypeException(int eapIdentifier, String message) { in UnsupportedEapTypeException() argument
38 this.eapIdentifier = eapIdentifier; in UnsupportedEapTypeException()
49 public UnsupportedEapTypeException(int eapIdentifier, String message, Throwable cause) { in UnsupportedEapTypeException() argument
51 this.eapIdentifier = eapIdentifier; in UnsupportedEapTypeException()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/
DEapMessageTest.java71 assertEquals(ID_INT, result.eapIdentifier); in testDecode()
79 assertEquals(ID_INT, result.eapIdentifier); in testDecode()
135 assertEquals(ID_INT, expected.eapIdentifier); in testDecodeUnsupportedEapType()
157 assertEquals(eapMessage.eapIdentifier, result.eapIdentifier); in testEncodeDecode()
192 assertEquals(ID_INT, result.eapIdentifier); in testDecodewithExtraBytes()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DMethodStateTest.java166 && msg.eapIdentifier == ID_INT in testProcessTransitionToSuccessState()
186 && msg.eapIdentifier == ID_INT in testProcessTransitionToFailureState()