/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
H A D | IkeConfigPayload.java | 189 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 D | IkeConfigPayloadTest.java | 230 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 D | EapSimAkaAttributeFactory.java | 77 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 D | EapSimAkaAttribute.java | 116 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 D | EapAkaAttributeFactory.java | 68 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 D | EapSimAkaTypeData.java | 140 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 D | EapAkaPrimeAttributeFactory.java | 63 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 D | EapSimAttributeFactory.java | 67 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 D | EapSimTypeData.java | 85 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 D | EapAkaTypeData.java | 97 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 D | EapAkaChallenge.java | 152 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 D | AndroidDistinguishedNameParser.java | 355 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 D | AtMacTest.java | 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()
|
H A D | AtCounterTest.java | 62 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 D | AtIdReqTest.java | 65 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 D | AtKdfInputTest.java | 52 assertEquals(EAP_AT_KDF_INPUT, atKdfInput.attributeType); in testDecode() 64 assertEquals(EAP_AT_KDF_INPUT, atKdfInput.attributeType); in testDecodeEmptyNetworkName()
|
H A D | AtBiddingTest.java | 55 assertEquals(EAP_AT_BIDDING, atBidding.attributeType); in testDecodeServerSupportsAkaPrime() 67 assertEquals(EAP_AT_BIDDING, atBidding.attributeType); in testDecodeDoesNotSupportAkaPrime()
|
H A D | AtPaddingTest.java | 57 assertEquals(EAP_AT_PADDING, atPadding.attributeType); in testDecode()
|
H A D | AtAutnTest.java | 54 assertEquals(EAP_AT_AUTN, atAutn.attributeType); in testDecode()
|
H A D | AtAutsTest.java | 54 assertEquals(EAP_AT_AUTS, atAuts.attributeType); in testDecode()
|
H A D | AtClientErrorCodeTest.java | 59 assertEquals(EAP_AT_CLIENT_ERROR_CODE, atClientErrorCode.attributeType); in testDecode()
|
H A D | AtKdfTest.java | 54 assertEquals(EAP_AT_KDF, atKdf.attributeType); in testDecode()
|
H A D | AtRandAkaTest.java | 54 assertEquals(EAP_AT_RAND, atRandAka.attributeType); in testDecode()
|
/aosp12/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
H A D | ChildSessionConfiguration.java | 90 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 D | EapSimAkaAttributeFactoryTest.java | 61 assertEquals(SKIPPABLE_ATTRIBUTE_TYPE, unsupportedAttribute.attributeType); in testDecodeInvalidSkippable()
|