Searched refs:eapCode (Results 1 – 11 of 11) sorted by relevance
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/ |
D | EapMessage.java | 100 @EapCode public final int eapCode; field in EapMessage 105 public EapMessage(@EapCode int eapCode, int eapIdentifier, @Nullable EapData eapData) in EapMessage() argument 107 this.eapCode = eapCode; in EapMessage() 124 int eapCode; in decode() local 129 eapCode = Byte.toUnsignedInt(buffer.get()); in decode() 133 if (eapCode == EAP_CODE_REQUEST || eapCode == EAP_CODE_RESPONSE) { in decode() 165 return new EapMessage(eapCode, eapIdentifier, eapData); in decode() 175 byteBuffer.put((byte) eapCode); in encode() 236 if (eapCode != EAP_CODE_REQUEST in validate() 237 && eapCode != EAP_CODE_RESPONSE in validate() [all …]
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapStateMachine.java | 138 + EAP_CODE_STRING.getOrDefault(eapMessage.eapCode, "UNKNOWN") in decode() 142 if (eapMessage.eapCode == EAP_CODE_RESPONSE) { in decode() 146 } else if (eapMessage.eapCode == EAP_CODE_REQUEST in decode() 194 if (message.eapCode != EAP_CODE_REQUEST) { in process() 225 if (message.eapCode != EAP_CODE_REQUEST) { in process() 280 if (eapMessage.eapCode == EAP_CODE_SUCCESS) { in process() 286 } else if (eapMessage.eapCode == EAP_CODE_FAILURE) { in process()
|
D | EapMethodStateMachine.java | 88 if (message.eapCode == EAP_CODE_SUCCESS) { in handleEapSuccessFailureNotification() 94 } else if (message.eapCode == EAP_CODE_FAILURE) { in handleEapSuccessFailureNotification()
|
D | EapSimAkaMethodStateMachine.java | 219 byte[] mac = getMac(message.eapCode, message.eapIdentifier, typeData, extraData); in isValidMac() 237 byte[] getMac(int eapCode, int eapIdentifier, EapSimAkaTypeData typeData, byte[] extraData) in getMac() argument 250 EapMessage messageForMac = new EapMessage(eapCode, eapIdentifier, eapData); in getMac()
|
D | EapTtlsMethodStateMachine.java | 369 if (message.eapCode == EAP_CODE_SUCCESS) { in handleEapSuccessFailure() 376 } else if (message.eapCode == EAP_CODE_FAILURE) { in handleEapSuccessFailure() 563 if (message.eapCode == EAP_CODE_SUCCESS || message.eapCode == EAP_CODE_FAILURE) { in handleEapSuccessFailure()
|
D | EapMsChapV2MethodStateMachine.java | 432 if (message.eapCode == EAP_CODE_FAILURE) { in process() 436 } else if (message.eapCode != EAP_CODE_SUCCESS) { in process()
|
D | EapSimMethodStateMachine.java | 369 if (message.eapCode == EAP_CODE_SUCCESS) { in process()
|
D | EapAkaMethodStateMachine.java | 327 if (message.eapCode == EAP_CODE_SUCCESS) { in process()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/ |
D | EapMessageTest.java | 71 assertEquals(EAP_CODE_SUCCESS, result.eapCode); in testDecode() 79 assertEquals(EAP_CODE_REQUEST, result.eapCode); in testDecode() 157 assertEquals(eapMessage.eapCode, result.eapCode); in testEncodeDecode() 192 assertEquals(EAP_CODE_REQUEST, result.eapCode); in testDecodewithExtraBytes()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ |
D | MethodStateTest.java | 169 msg.eapCode == EAP_CODE_SUCCESS in testProcessTransitionToSuccessState() 189 msg.eapCode == EAP_CODE_FAILURE in testProcessTransitionToFailureState()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/ |
D | EapResult.java | 98 } else if (message.eapCode != EapMessage.EAP_CODE_RESPONSE) { in getEapResponse()
|