Home
last modified time | relevance | path

Searched refs:EAP_AT_MAC (Results 1 – 11 of 11) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapSimAkaMethodStateMachine.java22 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
223 AtMac atMac = (AtMac) typeData.attributeMap.get(EAP_AT_MAC); in isValidMac()
247 AtMac originalMac = (AtMac) typeData.attributeMap.get(EAP_AT_MAC); in getMac()
248 typeData.attributeMap.put(EAP_AT_MAC, new AtMac()); in getMac()
262 typeData.attributeMap.put(EAP_AT_MAC, originalMac); in getMac()
284 eapSimAkaTypeData.attributeMap.put(EAP_AT_MAC, new AtMac(mac)); in buildResponseMessageWithMac()
328 if (eapSimAkaTypeData.attributeMap.containsKey(EAP_AT_MAC)) { in handleEapSimAkaNotification()
335 } else if (!eapSimAkaTypeData.attributeMap.containsKey(EAP_AT_MAC)) { in handleEapSimAkaNotification()
345 AtMac atMac = (AtMac) eapSimAkaTypeData.attributeMap.get(EAP_AT_MAC); in handleEapSimAkaNotification()
DEapSimMethodStateMachine.java26 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
309 if (attrs.contains(EAP_AT_MAC) in isValidStartAttributes()
477 return attrs.contains(EAP_AT_RAND) && attrs.contains(EAP_AT_MAC); in isValidChallengeAttributes()
DEapAkaMethodStateMachine.java34 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
292 if (attrs.contains(EAP_AT_MAC) in isValidIdentityAttributes()
496 && attrs.contains(EAP_AT_MAC); in isValidChallengeAttributes()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/
DAtMacTest.java20 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
57 assertEquals(EAP_AT_MAC, atMac.attributeType); in testConstructor()
65 assertEquals(EAP_AT_MAC, atMac.attributeType); in testParameterizedConstructor()
87 assertEquals(EAP_AT_MAC, atMac.attributeType); in testDecode()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/
DEapAkaPrimeTypeDataTest.java24 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
113 assertEquals(EAP_AT_MAC, (int) entry.getKey()); in testDecode()
135 attributes.put(EAP_AT_MAC, new AtMac(MAC_BYTES)); in testEncode()
DEapAkaTypeDataTest.java29 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
102 assertEquals(EAP_AT_MAC, (int) entry.getKey()); in testDecode()
132 assertEquals(EAP_AT_MAC, (int) entry.getKey()); in testDecodeWithOptionalAttributes()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaAttribute.java59 public static final int EAP_AT_MAC = 11; field in EapSimAkaAttribute
92 EAP_ATTRIBUTE_STRING.put(EAP_AT_MAC, "AT_MAC"); in EAP_ATTRIBUTE_STRING.put() argument
611 super(EAP_AT_MAC, lengthInBytes); in AtMac()
627 super(EAP_AT_MAC, ATTR_LENGTH); in AtMac()
632 super(EAP_AT_MAC, ATTR_LENGTH); in AtMac()
DEapSimAkaAttributeFactory.java25 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
91 case EAP_AT_MAC: in getAttribute()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapSimStartStateTest.java31 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
155 mAttributes.put(EAP_AT_MAC, new AtMac()); in testIsValidStartAttributesInvalidAttributes()
159 mAttributes.remove(EAP_AT_MAC); in testIsValidStartAttributesInvalidAttributes()
DEapSimChallengeStateTest.java36 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
170 attributeMap.put(EAP_AT_MAC, null); // value doesn't matter, just need key in testIsValidChallengeAttributes()
DEapSimAkaMethodStateMachineTest.java51 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
307 AtMac postCalculationAtMac = (AtMac) eapSimTypeData.attributeMap.get(EAP_AT_MAC); in testGetMac()