Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapTtlsMethodStateMachine.java220 mTAG, message.eapIdentifier, decodeResult.eapError); in process()
228 handleInboundFragmentation(mTAG, eapTtlsRequest, message.eapIdentifier); in process()
237 message.eapIdentifier, in process()
244 return startHandshake(message.eapIdentifier); in process()
248 getNextOutboundFragment(mTAG, eapTtlsRequest, message.eapIdentifier); in process()
260 buildEapIdentityResponseAvp(message.eapIdentifier)); in process()
264 mTAG, message.eapIdentifier, new EapError(e)); in process()
273 return buildEapMessageResponse(mTAG, message.eapIdentifier, tlsResult.data); in process()
284 return buildEapMessageResponse(mTAG, message.eapIdentifier, tlsResult.data); in process()
297 message.eapIdentifier, in process()
[all …]
DEapAkaMethodStateMachine.java233 message.eapIdentifier, getEapMethod(), decodeResult.atClientErrorCode); in process()
250 message.eapIdentifier, in process()
255 message.eapIdentifier, in process()
284 message.eapIdentifier, getEapMethod(), decodeResult.atClientErrorCode); in process()
302 message.eapIdentifier, in process()
307 message.eapIdentifier, in process()
315 message.eapIdentifier, in process()
357 message.eapIdentifier, in process()
431 message.eapIdentifier, getEapMethod(), decodeResult.atClientErrorCode); in process()
444 message.eapIdentifier, in process()
[all …]
DEapSimMethodStateMachine.java148 message.eapIdentifier, in process()
163 message.eapIdentifier, in process()
168 message.eapIdentifier, in process()
209 message.eapIdentifier, in process()
224 message.eapIdentifier, in process()
236 message.eapIdentifier, in process()
244 message.eapIdentifier, in process()
258 message.eapIdentifier, in process()
280 message.eapIdentifier, in process()
394 message.eapIdentifier, in process()
[all …]
DEapStateMachine.java159 ex.eapIdentifier, mEapSessionConfig.getEapConfigs().keySet())); in decode()
238 return getIdentityResponse(message.eapIdentifier); in process()
247 EapResult getIdentityResponse(int eapIdentifier) { in getIdentityResponse() argument
253 new EapMessage(EAP_CODE_RESPONSE, eapIdentifier, identityData)); in getIdentityResponse()
257 + LOG.pii(eapIdentifier)); in getIdentityResponse()
320 eapMessage.eapIdentifier, mEapSessionConfig.getEapConfigs().keySet()); in process()
400 return EapMessage.getNotificationResponse(message.eapIdentifier); in handleNotification()
DEapMsChapV2MethodStateMachine.java302 return buildEapMessageResponse(mTAG, message.eapIdentifier, challengeResponse); in process()
387 mTAG, message.eapIdentifier, getEapMsChapV2SuccessResponse()); in process()
410 mTAG, message.eapIdentifier, getEapMsChapV2FailureResponse()); in process()
487 String tag, int eapIdentifier, EapMsChapV2TypeData typeData) { in buildEapMessageResponse() argument
490 EapMessage eapMessage = new EapMessage(EAP_CODE_RESPONSE, eapIdentifier, eapData); in buildEapMessageResponse()
DEapAkaPrimeMethodStateMachine.java183 return buildAuthenticationRejectMessage(message.eapIdentifier); in handleChallengeAuthentication()
253 RandChallengeResult result, int eapIdentifier, EapAkaTypeData eapAkaTypeData) { in generateAndPersistEapAkaKeys() argument
296 eapIdentifier, getEapMethod(), AtClientErrorCode.UNABLE_TO_PROCESS); in generateAndPersistEapAkaKeys()
DEapSimAkaMethodStateMachine.java161 int eapIdentifier, in buildClientErrorResponse() argument
170 EapMessage response = new EapMessage(EAP_CODE_RESPONSE, eapIdentifier, eapData); in buildClientErrorResponse()
284 byte[] mac = getMac(message.eapCode, message.eapIdentifier, typeData, extraData); in isValidMac()
424 byte[] getMac(int eapCode, int eapIdentifier, EapSimAkaTypeData typeData, byte[] extraData) in getMac() argument
437 EapMessage messageForMac = new EapMessage(eapCode, eapIdentifier, eapData); in getMac()
/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/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.java72 assertEquals(ID_INT, result.eapIdentifier); in testDecode()
80 assertEquals(ID_INT, result.eapIdentifier); in testDecode()
136 assertEquals(ID_INT, expected.eapIdentifier); in testDecodeUnsupportedEapType()
158 assertEquals(eapMessage.eapIdentifier, result.eapIdentifier); in testEncodeDecode()
193 assertEquals(ID_INT, result.eapIdentifier); in testDecodewithExtraBytes()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DMethodStateTest.java170 && msg.eapIdentifier == ID_INT in testProcessTransitionToSuccessState()
190 && msg.eapIdentifier == ID_INT in testProcessTransitionToFailureState()