Searched refs:eapCode (Results 1 – 10 of 10) 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 | 137 + EAP_CODE_STRING.getOrDefault(eapMessage.eapCode, "UNKNOWN") in decode() 141 if (eapMessage.eapCode == EAP_CODE_RESPONSE) { in decode() 145 } 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() 277 if (eapMessage.eapCode == EAP_CODE_SUCCESS) { in process() 283 } else if (eapMessage.eapCode == EAP_CODE_FAILURE) { in process()
|
D | EapMethodStateMachine.java | 84 if (message.eapCode == EAP_CODE_SUCCESS) { in handleEapSuccessFailureNotification() 90 } else if (message.eapCode == EAP_CODE_FAILURE) { in handleEapSuccessFailureNotification()
|
D | EapSimAkaMethodStateMachine.java | 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()
|
D | EapMsChapV2MethodStateMachine.java | 428 if (message.eapCode == EAP_CODE_FAILURE) { in process() 432 } else if (message.eapCode != EAP_CODE_SUCCESS) { in process()
|
D | EapSimMethodStateMachine.java | 368 if (message.eapCode == EAP_CODE_SUCCESS) { in process()
|
D | EapAkaMethodStateMachine.java | 325 if (message.eapCode == EAP_CODE_SUCCESS) { in process()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/ |
D | EapMessageTest.java | 70 assertEquals(EAP_CODE_SUCCESS, result.eapCode); in testDecode() 78 assertEquals(EAP_CODE_REQUEST, result.eapCode); in testDecode() 156 assertEquals(eapMessage.eapCode, result.eapCode); in testEncodeDecode() 191 assertEquals(EAP_CODE_REQUEST, result.eapCode); in testDecodewithExtraBytes()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ |
D | MethodStateTest.java | 165 msg.eapCode == EAP_CODE_SUCCESS in testProcessTransitionToSuccessState() 185 msg.eapCode == EAP_CODE_FAILURE in testProcessTransitionToFailureState()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/ |
D | EapResult.java | 84 } else if (message.eapCode != EapMessage.EAP_CODE_RESPONSE) { in getEapResponse()
|