/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeConfigPayload.java | 141 + attr.attributeType); in validateNetmaskInReply() 143 switch (attr.attributeType) { in validateNetmaskInReply() 180 public final int attributeType; field in IkeConfigPayload.ConfigAttribute 182 protected ConfigAttribute(int attributeType) { in ConfigAttribute() argument 183 this.attributeType = attributeType; in ConfigAttribute() 186 protected ConfigAttribute(int attributeType, int len) throws InvalidSyntaxException { in ConfigAttribute() argument 187 this(attributeType); in ConfigAttribute() 205 int attributeType = Short.toUnsignedInt(inputBuffer.getShort()); in decodeAttributeFrom() local 210 switch (attributeType) { in decodeAttributeFrom() 248 "Unrecognized attribute type: " + attributeType); in decodeAttributeFrom() [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeConfigPayloadTest.java | 221 assertEquals(CONFIG_ATTR_INTERNAL_IP4_ADDRESS, att.attributeType); in testDecodeConfigRequest() 225 assertEquals(CONFIG_ATTR_INTERNAL_IP6_ADDRESS, att.attributeType); in testDecodeConfigRequest() 229 assertEquals(CONFIG_ATTR_INTERNAL_IP4_DNS, att.attributeType); in testDecodeConfigRequest() 233 assertEquals(CONFIG_ATTR_INTERNAL_IP6_DNS, att.attributeType); in testDecodeConfigRequest() 237 assertEquals(CONFIG_ATTR_IP4_PCSCF, att.attributeType); in testDecodeConfigRequest() 241 assertEquals(CONFIG_ATTR_IP6_PCSCF, att.attributeType); in testDecodeConfigRequest() 261 assertEquals(CONFIG_ATTR_INTERNAL_IP4_ADDRESS, att.attributeType); in testDecodeConfigResponse() 265 assertEquals(CONFIG_ATTR_INTERNAL_IP4_DNS, att.attributeType); in testDecodeConfigResponse() 270 assertEquals(CONFIG_ATTR_INTERNAL_IP4_DNS, att.attributeType); in testDecodeConfigResponse() 274 assertEquals(CONFIG_ATTR_IP4_PCSCF, att.attributeType); in testDecodeConfigResponse() [all …]
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/ |
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()
|
D | EapSimAkaAttribute.java | 115 public final int attributeType; field in EapSimAkaAttribute 118 protected EapSimAkaAttribute(int attributeType, int lengthInBytes) in EapSimAkaAttribute() argument 120 this.attributeType = attributeType; in EapSimAkaAttribute() 136 byteBuffer.put((byte) attributeType); in encodeAttributeHeader() 160 int attributeType, in EapSimAkaUnsupportedAttribute() argument 163 super(attributeType, lengthInBytes); in EapSimAkaUnsupportedAttribute() 172 public EapSimAkaUnsupportedAttribute(int attributeType, int lengthInBytes, byte[] data) in EapSimAkaUnsupportedAttribute() argument 174 super(attributeType, lengthInBytes); in EapSimAkaUnsupportedAttribute() 331 protected AtIdReq(int lengthInBytes, int attributeType, ByteBuffer byteBuffer) in AtIdReq() argument 333 super(attributeType, ATTR_LENGTH); in AtIdReq() [all …]
|
D | EapSimAkaTypeData.java | 128 if (attributeMap.containsKey(attribute.attributeType)) { in decode() 136 + attribute.attributeType); in decode() 138 attributeMap.put(attribute.attributeType, attribute); in decode() 170 for (int attributeType : eapSimAkaTypeData.attributeMap.keySet()) { in logDecodedEapSimAkaTypeData() 172 EAP_ATTRIBUTE_STRING.getOrDefault(attributeType, in logDecodedEapSimAkaTypeData() 173 "Unknown(" + attributeType + ")")); in logDecodedEapSimAkaTypeData()
|
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()
|
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()
|
D | EapSimTypeData.java | 78 if (attributeMap.containsKey(attribute.attributeType)) { in EapSimTypeData() 80 "Duplicate attribute in attributes: " + attribute.attributeType); in EapSimTypeData() 82 attributeMap.put(attribute.attributeType, attribute); in EapSimTypeData()
|
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()
|
D | EapAkaTypeData.java | 90 if (attributeMap.containsKey(attribute.attributeType)) { in EapAkaTypeData() 92 "Duplicate attribute in attributes: " + attribute.attributeType); in EapAkaTypeData() 94 attributeMap.put(attribute.attributeType, attribute); in EapAkaTypeData()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/ |
D | AtMacTest.java | 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()
|
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()
|
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()
|
D | AtKdfInputTest.java | 52 assertEquals(EAP_AT_KDF_INPUT, atKdfInput.attributeType); in testDecode() 64 assertEquals(EAP_AT_KDF_INPUT, atKdfInput.attributeType); in testDecodeEmptyNetworkName()
|
D | AtBiddingTest.java | 55 assertEquals(EAP_AT_BIDDING, atBidding.attributeType); in testDecodeServerSupportsAkaPrime() 67 assertEquals(EAP_AT_BIDDING, atBidding.attributeType); in testDecodeDoesNotSupportAkaPrime()
|
D | AtRandAkaTest.java | 54 assertEquals(EAP_AT_RAND, atRandAka.attributeType); in testDecode()
|
D | AtSelectedVersionTest.java | 59 assertEquals(EAP_AT_SELECTED_VERSION, atSelectedVersion.attributeType); in testDecode()
|
D | AtAutnTest.java | 54 assertEquals(EAP_AT_AUTN, atAutn.attributeType); in testDecode()
|
D | AtKdfTest.java | 54 assertEquals(EAP_AT_KDF, atKdf.attributeType); in testDecode()
|
D | AtPaddingTest.java | 57 assertEquals(EAP_AT_PADDING, atPadding.attributeType); in testDecode()
|
D | AtAutsTest.java | 54 assertEquals(EAP_AT_AUTS, atAuts.attributeType); in testDecode()
|
D | AtNonceMtTest.java | 68 assertEquals(EAP_AT_NONCE_MT, atNonceMt.attributeType); in testDecode()
|
D | AtClientErrorCodeTest.java | 59 assertEquals(EAP_AT_CLIENT_ERROR_CODE, atClientErrorCode.attributeType); in testDecode()
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | ChildSessionConfiguration.java | 91 if (att.attributeType == CONFIG_ATTR_INTERNAL_IP4_NETMASK && !att.isEmptyValue()) { in ChildSessionConfiguration() 98 switch (att.attributeType) { in ChildSessionConfiguration()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapSimAkaAttributeFactoryTest.java | 61 assertEquals(SKIPPABLE_ATTRIBUTE_TYPE, unsupportedAttribute.attributeType); in testDecodeInvalidSkippable()
|