Home
last modified time | relevance | path

Searched refs:attributeType (Results 1 – 25 of 39) sorted by relevance

12

/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
H A DIkeConfigPayload.java189 this.attributeType = attributeType; in ConfigAttribute()
193 this(attributeType); in ConfigAttribute()
336 return attributeType == ((ConfigAttribute) o).attributeType; in equals()
382 super(attributeType); in IkeConfigAttribute()
394 super(attributeType); in TunnelModeChildConfigAttribute()
413 super(attributeType); in TunnelModeChildConfigAttrIpv4AddressBase()
418 super(attributeType); in TunnelModeChildConfigAttrIpv4AddressBase()
487 super(attributeType); in IkeConfigAttrIpv4AddressBase()
492 super(attributeType); in IkeConfigAttrIpv4AddressBase()
823 super(attributeType); in TunnelModeChildConfigAttrIpv6AddressBase()
[all …]
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
H A DIkeConfigPayloadTest.java230 assertEquals(CONFIG_ATTR_INTERNAL_IP4_DNS, att.attributeType); in testDecodeConfigRequest()
234 assertEquals(CONFIG_ATTR_INTERNAL_IP6_DNS, att.attributeType); in testDecodeConfigRequest()
238 assertEquals(CONFIG_ATTR_IP4_PCSCF, att.attributeType); in testDecodeConfigRequest()
242 assertEquals(CONFIG_ATTR_IP6_PCSCF, att.attributeType); in testDecodeConfigRequest()
266 assertEquals(CONFIG_ATTR_INTERNAL_IP4_DNS, att.attributeType); in testDecodeConfigResponse()
271 assertEquals(CONFIG_ATTR_INTERNAL_IP4_DNS, att.attributeType); in testDecodeConfigResponse()
275 assertEquals(CONFIG_ATTR_IP4_PCSCF, att.attributeType); in testDecodeConfigResponse()
279 assertEquals(CONFIG_ATTR_IP6_PCSCF, att.attributeType); in testDecodeConfigResponse()
347 assertEquals(expectedAttributeType, attribute.attributeType); in verifyBuildAndEncodeAttributeCommon()
672 assertEquals(CONFIG_ATTR_IP4_PCSCF, attribute.attributeType); in testConstructIpv4PcscfWithValue()
[all …]
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
H A DEapSimAkaAttributeFactory.java77 EapSimAkaAttribute getAttribute(int attributeType, int lengthInBytes, ByteBuffer byteBuffer) in getAttribute() argument
79 switch (attributeType) { in getAttribute()
105 if (attributeType >= SKIPPABLE_ATTRIBUTE_RANGE_START) { in getAttribute()
107 attributeType, lengthInBytes, byteBuffer); in getAttribute()
111 "Unexpected EAP Attribute=" + attributeType); in getAttribute()
124 int attributeType = Byte.toUnsignedInt(byteBuffer.get()); in getAttribute() local
128 return getAttribute(attributeType, lengthInBytes, byteBuffer); in getAttribute()
H A DEapSimAkaAttribute.java116 public final int attributeType; field in EapSimAkaAttribute
121 this.attributeType = attributeType; in EapSimAkaAttribute()
156 super(attributeType, lengthInBytes); in EapSimAkaReservedBytesAttribute()
167 super(attributeType, lengthInBytes); in EapSimAkaReservedBytesAttribute()
173 this(attributeType, lengthInBytes); in EapSimAkaReservedBytesAttribute()
195 byteBuffer.put((byte) attributeType); in encodeAttributeHeader()
219 int attributeType, in EapSimAkaUnsupportedAttribute() argument
222 super(attributeType, lengthInBytes); in EapSimAkaUnsupportedAttribute()
233 super(attributeType, lengthInBytes); in EapSimAkaUnsupportedAttribute()
388 super(attributeType, ATTR_LENGTH, byteBuffer); in AtIdReq()
[all …]
H A DEapAkaAttributeFactory.java68 int attributeType = Byte.toUnsignedInt(byteBuffer.get()); in getAttribute() local
73 return getAttribute(attributeType, lengthInBytes, byteBuffer); in getAttribute()
78 int attributeType, int lengthInBytes, ByteBuffer byteBuffer) in getAttribute() argument
80 switch (attributeType) { in getAttribute()
92 return super.getAttribute(attributeType, lengthInBytes, byteBuffer); in getAttribute()
H A DEapSimAkaTypeData.java140 if (attributeMap.containsKey(attribute.attributeType)) { in decode()
148 + attribute.attributeType); in decode()
150 attributeMap.put(attribute.attributeType, attribute); in decode()
183 for (int attributeType : eapSimAkaTypeData.attributeMap.keySet()) { in logDecodedEapSimAkaTypeData()
185 EAP_ATTRIBUTE_STRING.getOrDefault(attributeType, in logDecodedEapSimAkaTypeData()
186 "Unknown(" + attributeType + ")")); in logDecodedEapSimAkaTypeData()
H A DEapAkaPrimeAttributeFactory.java63 int attributeType = Byte.toUnsignedInt(byteBuffer.get()); in getAttribute() local
68 switch (attributeType) { in getAttribute()
74 return super.getAttribute(attributeType, lengthInBytes, byteBuffer); in getAttribute()
H A DEapSimAttributeFactory.java67 int attributeType = Byte.toUnsignedInt(byteBuffer.get()); in getAttribute() local
72 switch (attributeType) { in getAttribute()
84 return super.getAttribute(attributeType, lengthInBytes, byteBuffer); in getAttribute()
H A DEapSimTypeData.java85 if (attributeMap.containsKey(attribute.attributeType)) { in EapSimTypeData()
87 "Duplicate attribute in attributes: " + attribute.attributeType); in EapSimTypeData()
89 attributeMap.put(attribute.attributeType, attribute); in EapSimTypeData()
H A DEapAkaTypeData.java97 if (attributeMap.containsKey(attribute.attributeType)) { in EapAkaTypeData()
99 "Duplicate attribute in attributes: " + attribute.attributeType); in EapAkaTypeData()
101 attributeMap.put(attribute.attributeType, attribute); in EapAkaTypeData()
/aosp12/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/
H A DEapAkaChallenge.java152 byte attributeType = data[index]; in parseRandAndAutn()
164 if (attributeType == ATTRIBUTE_RAND) { in parseRandAndAutn()
171 } else if (attributeType == ATTRIBUTE_AUTN) { in parseRandAndAutn()
/aosp12/frameworks/base/core/java/org/apache/http/conn/ssl/
H A DAndroidDistinguishedNameParser.java355 public String findMostSpecific(String attributeType) { in findMostSpecific() argument
393 if (attributeType.equalsIgnoreCase(attType)) { in findMostSpecific()
420 public List<String> getAllMostSpecificFirst(String attributeType) { in getAllMostSpecificFirst() argument
455 if (attributeType.equalsIgnoreCase(attType)) { in getAllMostSpecificFirst()
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/
H A DAtMacTest.java58 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()
H A DAtCounterTest.java62 assertEquals(EAP_AT_COUNTER, atCounter.attributeType); in testDecodeAtCounter()
89 assertEquals(EAP_AT_COUNTER_TOO_SMALL, atCounterTooSmall.attributeType); in testAtCounterTooSmallConstructor()
101 assertEquals(EAP_AT_COUNTER_TOO_SMALL, atCounterTooSmall.attributeType); in testDecodeAtCounterTooSmall()
H A DAtIdReqTest.java65 assertEquals(EAP_AT_PERMANENT_ID_REQ, atPermanentIdReq.attributeType); in testDecodeAtPermanentIdReq()
96 assertEquals(EAP_AT_ANY_ID_REQ, atAnyIdReq.attributeType); in testDecodeAtAnyIdReq()
127 assertEquals(EAP_AT_FULLAUTH_ID_REQ, atFullauthIdReq.attributeType); in testDecodeAtFullauthIdReq()
H A DAtKdfInputTest.java52 assertEquals(EAP_AT_KDF_INPUT, atKdfInput.attributeType); in testDecode()
64 assertEquals(EAP_AT_KDF_INPUT, atKdfInput.attributeType); in testDecodeEmptyNetworkName()
H A DAtBiddingTest.java55 assertEquals(EAP_AT_BIDDING, atBidding.attributeType); in testDecodeServerSupportsAkaPrime()
67 assertEquals(EAP_AT_BIDDING, atBidding.attributeType); in testDecodeDoesNotSupportAkaPrime()
H A DAtPaddingTest.java57 assertEquals(EAP_AT_PADDING, atPadding.attributeType); in testDecode()
H A DAtAutnTest.java54 assertEquals(EAP_AT_AUTN, atAutn.attributeType); in testDecode()
H A DAtAutsTest.java54 assertEquals(EAP_AT_AUTS, atAuts.attributeType); in testDecode()
H A DAtClientErrorCodeTest.java59 assertEquals(EAP_AT_CLIENT_ERROR_CODE, atClientErrorCode.attributeType); in testDecode()
H A DAtKdfTest.java54 assertEquals(EAP_AT_KDF, atKdf.attributeType); in testDecode()
H A DAtRandAkaTest.java54 assertEquals(EAP_AT_RAND, atRandAka.attributeType); in testDecode()
/aosp12/packages/modules/IPsec/src/java/android/net/ipsec/ike/
H A DChildSessionConfiguration.java90 if (att.attributeType == CONFIG_ATTR_INTERNAL_IP4_NETMASK && !att.isEmptyValue()) { in ChildSessionConfiguration()
97 switch (att.attributeType) { in ChildSessionConfiguration()
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/
H A DEapSimAkaAttributeFactoryTest.java61 assertEquals(SKIPPABLE_ATTRIBUTE_TYPE, unsupportedAttribute.attributeType); in testDecodeInvalidSkippable()

12