Home
last modified time | relevance | path

Searched refs:eapSubtype (Results 1 – 12 of 12) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimTypeData.java77 public EapSimTypeData(int eapSubtype, List<EapSimAkaAttribute> attributes) { in EapSimTypeData() argument
78 super(eapSubtype, new LinkedHashMap<>()); in EapSimTypeData()
80 if (!SUPPORTED_SUBTYPES.contains(eapSubtype)) { in EapSimTypeData()
81 throw new IllegalArgumentException("Invalid subtype for EAP-SIM: " + eapSubtype); in EapSimTypeData()
127 int eapSubtype, in getInstance() argument
130 return new EapSimTypeData(eapSubtype, attributeMap, reservedBytes); in getInstance()
DEapAkaTypeData.java89 public EapAkaTypeData(int eapSubtype, List<EapSimAkaAttribute> attributes) { in EapAkaTypeData() argument
90 super(eapSubtype, new LinkedHashMap<>()); in EapAkaTypeData()
92 if (!SUPPORTED_SUBTYPES.contains(eapSubtype)) { in EapAkaTypeData()
93 throw new IllegalArgumentException("Invalid subtype for EAP-AKA: " + eapSubtype); in EapAkaTypeData()
139 int eapSubtype, in getInstance() argument
142 return new EapAkaTypeData(eapSubtype, attributeMap, reservedBytes); in getInstance()
DEapAkaPrimeTypeData.java54 public EapAkaPrimeTypeData(int eapSubtype, List<EapSimAkaAttribute> attributes) { in EapAkaPrimeTypeData() argument
55 super(eapSubtype, attributes); in EapAkaPrimeTypeData()
97 int eapSubtype, in getInstance() argument
100 return new EapAkaPrimeTypeData(eapSubtype, attributeMap, reservedBytes); in getInstance()
DEapSimAkaTypeData.java44 public final int eapSubtype; field in EapSimAkaTypeData
62 this.eapSubtype = eapSubType; in EapSimAkaTypeData()
80 output.put((byte) eapSubtype); in encode()
181 msg.append(mEapSubtypeStrings.getOrDefault(eapSimAkaTypeData.eapSubtype, "Unknown")); in logDecodedEapSimAkaTypeData()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapSimAkaMethodStateMachine.java180 int eapSubtype, in buildResponseMessage() argument
183 EapSimAkaTypeData eapSimTypeData = getEapSimAkaTypeData(eapSubtype, attributes); in buildResponseMessage()
454 EapResult buildResponseMessageWithMac(int identifier, int eapSubtype, byte[] extraData) { in buildResponseMessageWithMac() argument
458 eapSubtype, in buildResponseMessageWithMac()
467 int eapSubtype, in buildResponseMessageWithMac() argument
474 EapSimAkaTypeData eapSimAkaTypeData = getEapSimAkaTypeData(eapSubtype, attributes); in buildResponseMessageWithMac()
549 getEapMethod(), eapSimAkaTypeData.eapSubtype, identifier, Arrays.asList()); in handleEapSimAkaNotification()
577 identifier, eapSimAkaTypeData.eapSubtype, new byte[0]); in handleEapSimAkaNotification()
594 eapSimAkaTypeData.eapSubtype, in handleEapSimAkaNotification()
611 int eapSubtype, List<EapSimAkaAttribute> attributes); in getEapSimAkaTypeData() argument
DEapSimMethodStateMachine.java154 switch (eapSimTypeData.eapSubtype) { in process()
215 switch (eapSimTypeData.eapSubtype) { in process()
400 switch (eapSimTypeData.eapSubtype) { in process()
607 EapSimTypeData getEapSimAkaTypeData(int eapSubtype, List<EapSimAkaAttribute> attributes) { in getEapSimAkaTypeData() argument
608 return new EapSimTypeData(eapSubtype, attributes); in getEapSimAkaTypeData()
DEapAkaMethodStateMachine.java237 switch (eapAkaTypeData.eapSubtype) { in process()
288 switch (eapAkaTypeData.eapSubtype) { in process()
435 switch (eapAkaTypeData.eapSubtype) { in process()
738 switch (eapAkaTypeData.eapSubtype) { in process()
953 EapAkaTypeData getEapSimAkaTypeData(int eapSubtype, List<EapSimAkaAttribute> attributes) { in getEapSimAkaTypeData() argument
954 return new EapAkaTypeData(eapSubtype, attributes); in getEapSimAkaTypeData()
DEapAkaPrimeMethodStateMachine.java342 EapAkaPrimeTypeData getEapSimAkaTypeData(int eapSubtype, List<EapSimAkaAttribute> attributes) { in getEapSimAkaTypeData() argument
343 return new EapAkaPrimeTypeData(eapSubtype, attributes); in getEapSimAkaTypeData()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/
DEapSimTypeDataTest.java76 assertEquals(EAP_SIM_START, eapSimTypeData.eapSubtype); in testConstructor()
96 assertEquals(EAP_SIM_START, eapSimTypeData.eapSubtype); in testDecode()
DEapAkaTypeDataTest.java92 assertEquals(EAP_AKA_CHALLENGE, eapAkaTypeData.eapSubtype); in testDecode()
122 assertEquals(EAP_AKA_CHALLENGE, eapAkaTypeData.eapSubtype); in testDecodeWithOptionalAttributes()
DEapAkaPrimeTypeDataTest.java102 assertEquals(EAP_AKA_CHALLENGE, eapAkaPrimeTypeData.eapSubtype); in testDecode()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapSimAkaMethodStateMachineTest.java235 int eapSubtype, List<EapSimAkaAttribute> attributes) { in setUp()
236 return new EapSimTypeData(eapSubtype, attributes); in setUp()
772 int eapSubtype, List<EapSimAkaAttribute> attributes) { in buildEapAkaStateMachineWithKAut()
773 return new EapAkaTypeData(eapSubtype, attributes); in buildEapAkaStateMachineWithKAut()