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;
221 AtMac atMac = (AtMac) typeData.attributeMap.get(EAP_AT_MAC); in isValidMac()
245 AtMac originalMac = (AtMac) typeData.attributeMap.get(EAP_AT_MAC); in getMac()
246 typeData.attributeMap.put(EAP_AT_MAC, originalMac.getAtMacWithMacCleared()); in getMac()
260 typeData.attributeMap.put(EAP_AT_MAC, originalMac); in getMac()
282 eapSimAkaTypeData.attributeMap.put(EAP_AT_MAC, new AtMac(mac)); in buildResponseMessageWithMac()
326 if (eapSimAkaTypeData.attributeMap.containsKey(EAP_AT_MAC)) { in handleEapSimAkaNotification()
333 } else if (!eapSimAkaTypeData.attributeMap.containsKey(EAP_AT_MAC)) { in handleEapSimAkaNotification()
343 AtMac atMac = (AtMac) eapSimAkaTypeData.attributeMap.get(EAP_AT_MAC); in handleEapSimAkaNotification()
DEapSimMethodStateMachine.java27 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
310 if (attrs.contains(EAP_AT_MAC) in isValidStartAttributes()
478 return attrs.contains(EAP_AT_RAND) && attrs.contains(EAP_AT_MAC); in isValidChallengeAttributes()
DEapAkaMethodStateMachine.java35 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
294 if (attrs.contains(EAP_AT_MAC) in isValidIdentityAttributes()
498 && 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.test.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
58 assertEquals(EAP_AT_MAC, atMac.attributeType); in testConstructor()
66 assertEquals(EAP_AT_MAC, atMac.attributeType); in testParameterizedConstructor()
88 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.test.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
124 assertEquals(EAP_AT_MAC, (int) entry.getKey()); in testDecode()
155 attributes.put(EAP_AT_MAC, new AtMac(MAC_BYTES)); in testEncode()
DEapAkaTypeDataTest.java29 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
102 assertEquals(EAP_AT_MAC, (int) entry.getKey()); in testDecode()
140 assertEquals(EAP_AT_MAC, (int) entry.getKey()); in testDecodeWithOptionalAttributes()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaAttributeFactory.java25 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
91 case EAP_AT_MAC: in getAttribute()
DEapSimAkaAttribute.java60 public static final int EAP_AT_MAC = 11; field in EapSimAkaAttribute
93 EAP_ATTRIBUTE_STRING.put(EAP_AT_MAC, "AT_MAC"); in EAP_ATTRIBUTE_STRING.put() argument
647 super(EAP_AT_MAC, lengthInBytes, byteBuffer); in AtMac()
669 super(EAP_AT_MAC, ATTR_LENGTH, reservedBytes); in AtMac()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapSimStartStateTest.java32 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
156 mAttributes.put(EAP_AT_MAC, new AtMac()); in testIsValidStartAttributesInvalidAttributes()
160 mAttributes.remove(EAP_AT_MAC); in testIsValidStartAttributesInvalidAttributes()
DEapSimChallengeStateTest.java37 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
171 attributeMap.put(EAP_AT_MAC, null); // value doesn't matter, just need key in testIsValidChallengeAttributes()
DEapSimAkaMethodStateMachineTest.java58 import static com.android.internal.net.eap.test.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
341 AtMac postCalculationAtMac = (AtMac) eapSimTypeData.attributeMap.get(EAP_AT_MAC); in testGetMac()