/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/ttls/ |
D | EapTtlsTypeDataTest.java | 79 EapTtlsTypeData typeData = decodeResult.eapTypeData; in testDecodeEapTtlsRequest() local 81 assertFalse(typeData.isLengthIncluded); in testDecodeEapTtlsRequest() 82 assertFalse(typeData.isDataFragmented); in testDecodeEapTtlsRequest() 83 assertFalse(typeData.isStart); in testDecodeEapTtlsRequest() 84 assertEquals(0, typeData.version); in testDecodeEapTtlsRequest() 85 assertEquals(0, typeData.messageLength); in testDecodeEapTtlsRequest() 86 assertArrayEquals(EAP_TTLS_REQUEST_DATA_BYTES, typeData.data); in testDecodeEapTtlsRequest() 103 EapTtlsTypeData typeData = decodeResult.eapTypeData; in testDecodeEapTtlsStart() local 105 assertFalse(typeData.isLengthIncluded); in testDecodeEapTtlsStart() 106 assertFalse(typeData.isDataFragmented); in testDecodeEapTtlsStart() [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ |
D | EapSimAkaMethodStateMachineTest.java | 365 EapSimTypeData typeData = in testHandleEapSimNotificationPreChallenge() local 372 mStateMachine.handleEapSimAkaNotification(TAG, true, ID_INT, typeData); in testHandleEapSimNotificationPreChallenge() 380 EapSimTypeData typeData = in testHandleEapSimNotificationPreChallengeInvalidPBit() local 387 mStateMachine.handleEapSimAkaNotification(TAG, true, ID_INT, typeData); in testHandleEapSimNotificationPreChallengeInvalidPBit() 395 EapSimTypeData typeData = in testHandleEapSimNotificationMultipleNotifications() local 400 mStateMachine.handleEapSimAkaNotification(TAG, true, ID_INT, typeData); in testHandleEapSimNotificationMultipleNotifications() 403 (EapError) mStateMachine.handleEapSimAkaNotification(TAG, true, ID_INT, typeData); in testHandleEapSimNotificationMultipleNotifications() 412 EapSimTypeData typeData = in testHandleEapSimNotificationInvalidAtMac() local 420 mStateMachine.handleEapSimAkaNotification(TAG, true, ID_INT, typeData); in testHandleEapSimNotificationInvalidAtMac() 428 EapSimTypeData typeData = in testHandleEapSimNotificationPostChallenge() local [all …]
|
D | EapSimStateTest.java | 117 EapSimTypeData typeData = in testProcessEapSimNotification() local 122 DecodeResult<EapSimTypeData> decodeResult = new DecodeResult<>(typeData); in testProcessEapSimNotification()
|
D | EapAkaStateTest.java | 116 EapAkaTypeData typeData = in testProcessEapAkaNotification() local 121 DecodeResult<EapAkaTypeData> decodeResult = new DecodeResult<>(typeData); in testProcessEapAkaNotification()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/mschapv2/ |
D | EapMsChapV2TypeDataTest.java | 56 EapMsChapV2TypeData typeData = new EapMsChapV2TypeData(EAP_MSCHAP_V2_CHALLENGE) {}; in testEapMsChapV2TypeDataConstructor() local 57 assertEquals(EAP_MSCHAP_V2_CHALLENGE, typeData.opCode); in testEapMsChapV2TypeDataConstructor() 68 EapMsChapV2VariableTypeData typeData = in testEapMsChapV2VariableTypeDataConstructor() local 71 assertEquals(EAP_MSCHAP_V2_CHALLENGE, typeData.opCode); in testEapMsChapV2VariableTypeDataConstructor() 72 assertEquals(MSCHAP_V2_ID, typeData.msChapV2Id); in testEapMsChapV2VariableTypeDataConstructor() 73 assertEquals(MS_LENGTH, typeData.msLength); in testEapMsChapV2VariableTypeDataConstructor()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapSimAkaMethodStateMachine.java | 213 boolean isValidMac(String tag, EapMessage message, EapSimAkaTypeData typeData, byte[] extraData) in isValidMac() argument 221 byte[] mac = getMac(message.eapCode, message.eapIdentifier, typeData, extraData); in isValidMac() 223 AtMac atMac = (AtMac) typeData.attributeMap.get(EAP_AT_MAC); in isValidMac() 239 byte[] getMac(int eapCode, int eapIdentifier, EapSimAkaTypeData typeData, byte[] extraData) in getMac() argument 247 AtMac originalMac = (AtMac) typeData.attributeMap.get(EAP_AT_MAC); in getMac() 248 typeData.attributeMap.put(EAP_AT_MAC, new AtMac()); in getMac() 250 byte[] typeDataWithEmptyMac = typeData.encode(); in getMac() 262 typeData.attributeMap.put(EAP_AT_MAC, originalMac); in getMac()
|
D | EapAkaPrimeMethodStateMachine.java | 141 protected DecodeResult<EapAkaTypeData> decode(byte[] typeData) { in decode() argument 142 return mEapAkaPrimeTypeDataDecoder.decode(typeData); in decode()
|
D | EapMsChapV2MethodStateMachine.java | 483 String tag, int eapIdentifier, EapMsChapV2TypeData typeData) { in buildEapMessageResponse() argument 485 EapData eapData = new EapData(getEapMethod(), typeData.encode()); in buildEapMessageResponse()
|
D | EapAkaMethodStateMachine.java | 149 protected DecodeResult<EapAkaTypeData> decode(byte[] typeData) { in decode() argument 150 return mEapAkaTypeDataDecoder.decode(typeData); in decode()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapSimAkaTypeData.java | 106 protected DecodeResult<T> decode(@NonNull byte[] typeData) { in decode() argument 107 if (typeData == null) { in decode() 112 ByteBuffer byteBuffer = ByteBuffer.wrap(typeData); in decode()
|
D | EapAkaPrimeTypeData.java | 85 public DecodeResult<EapAkaTypeData> decode(@NonNull byte[] typeData) { in decode() argument 86 return super.decode(typeData); in decode()
|
D | EapSimTypeData.java | 114 public DecodeResult<EapSimTypeData> decode(@NonNull byte[] typeData) { in decode() argument 115 return super.decode(typeData); in decode()
|
D | EapAkaTypeData.java | 126 public DecodeResult<EapAkaTypeData> decode(@NonNull byte[] typeData) { in decode() argument 127 return super.decode(typeData); in decode()
|