Home
last modified time | relevance | path

Searched refs:eapTypeData (Results 1 – 16 of 16) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/
DEapData.java103 public final byte[] eapTypeData; field in EapData
115 public EapData(@EapType int eapType, @NonNull byte[] eapTypeData) { in EapData() argument
117 this.eapTypeData = eapTypeData; in EapData()
129 return eapTypeData.length + 1; in getLength()
148 && Arrays.equals(eapTypeData, eapData.eapTypeData); in equals()
158 return Objects.hash(eapType, Arrays.hashCode(eapTypeData)); in hashCode()
168 b.put(eapTypeData); in encodeToByteBuffer()
182 if (this.eapTypeData == null) { in validate()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2TypeData.java469 public int getOpCode(byte[] eapTypeData) throws BufferUnderflowException { in getOpCode() argument
470 return Byte.toUnsignedInt(ByteBuffer.wrap(eapTypeData).get()); in getOpCode()
483 String tag, byte[] eapTypeData) { in decodeChallengeRequest() argument
485 ByteBuffer buffer = ByteBuffer.wrap(eapTypeData); in decodeChallengeRequest()
514 String tag, byte[] eapTypeData) { in decodeSuccessRequest() argument
516 ByteBuffer buffer = ByteBuffer.wrap(eapTypeData); in decodeSuccessRequest()
547 String tag, byte[] eapTypeData) { in decodeFailureRequest() argument
549 ByteBuffer buffer = ByteBuffer.wrap(eapTypeData); in decodeFailureRequest()
577 public final T eapTypeData; field in EapMsChapV2TypeData.EapMsChapV2TypeDataDecoder.DecodeResult
580 public DecodeResult(T eapTypeData) { in DecodeResult() argument
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/ttls/
DEapTtlsTypeData.java216 public DecodeResult decodeEapTtlsRequestPacket(byte[] eapTypeData) { in decodeEapTtlsRequestPacket() argument
218 ByteBuffer buffer = ByteBuffer.wrap(eapTypeData); in decodeEapTtlsRequestPacket()
230 public final EapTtlsTypeData eapTypeData; field in EapTtlsTypeData.EapTtlsTypeDataDecoder.DecodeResult
233 public DecodeResult(EapTtlsTypeData eapTypeData) { in DecodeResult() argument
234 this.eapTypeData = eapTypeData; in DecodeResult()
239 this.eapTypeData = null; in DecodeResult()
249 return eapTypeData != null; in isSuccessfulDecode()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaTypeData.java201 public final T eapTypeData; field in EapSimAkaTypeData.DecodeResult
204 public DecodeResult(T eapTypeData) { in DecodeResult() argument
205 this.eapTypeData = eapTypeData; in DecodeResult()
211 eapTypeData = null; in DecodeResult()
215 return eapTypeData != null; in isSuccessfulDecode()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapTtlsMethodStateMachine.java158 mTypeDataDecoder.decodeEapTtlsRequestPacket(message.eapData.eapTypeData); in process()
162 } else if (!decodeResult.eapTypeData.isStart) { in process()
213 mTypeDataDecoder.decodeEapTtlsRequestPacket(message.eapData.eapTypeData); in process()
223 EapTtlsTypeData eapTtlsRequest = decodeResult.eapTypeData; in process()
428 mTypeDataDecoder.decodeEapTtlsRequestPacket(message.eapData.eapTypeData); in process()
435 EapTtlsTypeData eapTtlsRequest = decodeResult.eapTypeData; in process()
619 mTypeDataDecoder.decodeEapTtlsRequestPacket(message.eapData.eapTypeData); in process()
628 mTlsSession.processIncomingData(decodeResult.eapTypeData.data); in process()
DEapMsChapV2MethodStateMachine.java235 mTypeDataDecoder.decodeChallengeRequest(mTAG, message.eapData.eapTypeData); in process()
255 mTypeDataDecoder.decodeChallengeRequest(mTAG, message.eapData.eapTypeData); in process()
260 EapMsChapV2ChallengeRequest challengeRequest = decodeResult.eapTypeData; in process()
334 opCode = mTypeDataDecoder.getOpCode(message.eapData.eapTypeData); in process()
350 mTAG, message.eapData.eapTypeData); in process()
355 EapMsChapV2SuccessRequest successRequest = successDecodeResult.eapTypeData; in process()
392 mTAG, message.eapData.eapTypeData); in process()
397 EapMsChapV2FailureRequest failureRequest = failureDecodeResult.eapTypeData; in process()
DEapSimMethodStateMachine.java146 mEapSimTypeDataDecoder.decode(message.eapData.eapTypeData); in process()
154 EapSimTypeData eapSimTypeData = decodeResult.eapTypeData; in process()
204 mEapSimTypeDataDecoder.decode(message.eapData.eapTypeData); in process()
212 EapSimTypeData eapSimTypeData = decodeResult.eapTypeData; in process()
386 mEapSimTypeDataDecoder.decode(message.eapData.eapTypeData); in process()
394 EapSimTypeData eapSimTypeData = decodeResult.eapTypeData; in process()
DEapAkaMethodStateMachine.java181 decode(message.eapData.eapTypeData); in process()
187 EapAkaTypeData eapAkaTypeData = decodeResult.eapTypeData; in process()
220 decode(message.eapData.eapTypeData); in process()
226 EapAkaTypeData eapAkaTypeData = decodeResult.eapTypeData; in process()
344 decode(message.eapData.eapTypeData); in process()
350 EapAkaTypeData eapAkaTypeData = decodeResult.eapTypeData; in process()
DEapStateMachine.java377 String content = new String(message.eapData.eapTypeData, StandardCharsets.UTF_8); in handleNotification()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2SuccessRequestTest.java67 EapMsChapV2SuccessRequest successRequest = result.eapTypeData; in testDecodeSuccessRequest()
82 EapMsChapV2SuccessRequest successRequest = result.eapTypeData; in testDecodeSuccessRequestEmptyMessage()
97 EapMsChapV2SuccessRequest successRequest = result.eapTypeData; in testDecodeSuccessRequestMissingMessage()
112 EapMsChapV2SuccessRequest successRequest = result.eapTypeData; in testDecodeSuccessRequestMissingMessageWithSpace()
DEapMsChapV2FailureRequestTest.java65 EapMsChapV2FailureRequest failureRequest = result.eapTypeData; in testDecodeFailureRequest()
83 EapMsChapV2FailureRequest failureRequest = result.eapTypeData; in testDecodeFailureRequestMissingMessage()
101 EapMsChapV2FailureRequest failureRequest = result.eapTypeData; in testDecodeFailureRequestMissingMessageWithSpace()
DEapMsChapV2ChallengeRequestTest.java61 EapMsChapV2ChallengeRequest challengeRequest = result.eapTypeData; in testDecodeChallengeRequest()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/
DEapAkaTypeDataTest.java91 EapAkaTypeData eapAkaTypeData = result.eapTypeData; in testDecode()
113 assertArrayEquals(EAP_AKA_REQUEST, result.eapTypeData.encode()); in testDecodeEncode()
121 EapAkaTypeData eapAkaTypeData = result.eapTypeData; in testDecodeWithOptionalAttributes()
DEapAkaPrimeTypeDataTest.java101 EapAkaPrimeTypeData eapAkaPrimeTypeData = (EapAkaPrimeTypeData) result.eapTypeData; in testDecode()
136 assertArrayEquals(EAP_AKA_PRIME_CHALLENGE_REQUEST, result.eapTypeData.encode()); in testDecodeEncode()
DEapSimTypeDataTest.java95 EapSimTypeData eapSimTypeData = result.eapTypeData; in testDecode()
116 assertArrayEquals(EAP_SIM_CHALLENGE_REQUEST, result.eapTypeData.encode()); in testDecodeEncode()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/ttls/
DEapTtlsTypeDataTest.java81 EapTtlsTypeData typeData = decodeResult.eapTypeData; in testDecodeEapTtlsRequest()
106 EapTtlsTypeData typeData = decodeResult.eapTypeData; in testDecodeEapTtlsStart()