Home
last modified time | relevance | path

Searched refs:notificationCode (Results 1 – 3 of 3) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaAttribute.java818 public final int notificationCode; field in EapSimAkaAttribute.AtNotification
828 notificationCode = Short.toUnsignedInt(byteBuffer.getShort()); in AtNotification()
831 isSuccessCode = (notificationCode & SUCCESS_MASK) != 0; in AtNotification()
834 isPreSuccessfulChallenge = (notificationCode & PRE_SUCCESSFUL_CHALLENGE_MASK) != 0; in AtNotification()
842 public AtNotification(int notificationCode) throws EapSimAkaInvalidAttributeException { in AtNotification() argument
844 this.notificationCode = notificationCode; in AtNotification()
847 isSuccessCode = (notificationCode & SUCCESS_MASK) != 0; in AtNotification()
850 isPreSuccessfulChallenge = (notificationCode & PRE_SUCCESSFUL_CHALLENGE_MASK) != 0; in AtNotification()
860 byteBuffer.putShort((short) notificationCode); in encode()
865 String description = CODE_DEFS.getOrDefault(notificationCode, "Code not recognized"); in toString()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/
DAtNotificationTest.java68 assertEquals(hexStringToInt(NOTIFICATION_CODE), atNotification.notificationCode); in testDecode()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapSimAkaMethodStateMachine.java314 + " Code=" + atNotification.notificationCode); in handleEapSimAkaNotification()