Home
last modified time | relevance | path

Searched refs:attributeList (Results 1 – 5 of 5) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DChildSessionConfigurationTest.java126 List<ConfigAttribute> attributeList = new LinkedList<>(); in testBuildWithNetmaskAttr() local
127 attributeList.add(mIpv4Attr); in testBuildWithNetmaskAttr()
128 attributeList.add(mNetmaskAttr); in testBuildWithNetmaskAttr()
129 attributeList.add(mIpv6Attr); in testBuildWithNetmaskAttr()
131 IkeConfigPayload configPayload = new IkeConfigPayload(true /*isReply*/, attributeList); in testBuildWithNetmaskAttr()
151 List<ConfigAttribute> attributeList = new LinkedList<>(); in testBuildWithoutNetmaskAttr() local
152 attributeList.add(mIpv4Attr); in testBuildWithoutNetmaskAttr()
153 attributeList.add(mIpv6Attr); in testBuildWithoutNetmaskAttr()
155 IkeConfigPayload configPayload = new IkeConfigPayload(true /*isReply*/, attributeList); in testBuildWithoutNetmaskAttr()
175 List<ConfigAttribute> attributeList = new LinkedList<>(); in testBuildWithConfigReq() local
[all …]
DIkeSessionConfigurationTest.java96 List<ConfigAttribute> attributeList = new LinkedList<>(); in testBuildWithConfigPayload() local
97 attributeList.add(new ConfigAttributeIpv4Pcscf(PCSCF_IPV4_ADDRESS)); in testBuildWithConfigPayload()
98 attributeList.add(new ConfigAttributeIpv6Pcscf(PCSCF_IPV6_ADDRESS)); in testBuildWithConfigPayload()
99 attributeList.add(new ConfigAttributeAppVersion(REMOTE_APP_VERSION)); in testBuildWithConfigPayload()
101 IkeConfigPayload configPayload = new IkeConfigPayload(true /*isReply*/, attributeList); in testBuildWithConfigPayload()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java996 protected Transform(int type, int id, List<Attribute> attributeList) { in Transform() argument
1000 isSupportedTransformId(id) && !hasUnrecognizedAttribute(attributeList); in Transform()
1023 List<Attribute> attributeList = sAttributeDecoder.decodeAttributes(length, inputBuffer); in readFrom() local
1025 validateAttributeUniqueness(attributeList); in readFrom()
1029 return new EncryptionTransform(id, attributeList); in readFrom()
1031 return new PrfTransform(id, attributeList); in readFrom()
1033 return new IntegrityTransform(id, attributeList); in readFrom()
1035 return new DhGroupTransform(id, attributeList); in readFrom()
1037 return new EsnTransform(id, attributeList); in readFrom()
1039 return new UnrecognizedTransform(type, id, attributeList); in readFrom()
[all …]
DIkeConfigPayload.java125 public IkeConfigPayload(boolean isReply, List<ConfigAttribute> attributeList) { in IkeConfigPayload() argument
128 this.recognizedAttributeList = attributeList; in IkeConfigPayload()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java308 List<Attribute> attributeList = new LinkedList<>(); in testDecodeEncryptionTransformWithInvalidKeyLength() local
310 attributeList.add(keyLengAttr); in testDecodeEncryptionTransformWithInvalidKeyLength()
312 doReturn(attributeList).when(mMockedAttributeDecoder).decodeAttributes(anyInt(), any()); in testDecodeEncryptionTransformWithInvalidKeyLength()
549 List<Attribute> attributeList = new LinkedList<>(); in testDecodeTransformWithRepeatedAttribute() local
550 attributeList.add(mAttributeKeyLength128); in testDecodeTransformWithRepeatedAttribute()
551 attributeList.add(mAttributeKeyLength128); in testDecodeTransformWithRepeatedAttribute()
553 doReturn(attributeList).when(mMockedAttributeDecoder).decodeAttributes(anyInt(), any()); in testDecodeTransformWithRepeatedAttribute()
582 List<Attribute> attributeList = new LinkedList<>(); in testDecodeTransformWithUnrecogniedAttributeType() local
583 attributeList.add(mAttributeKeyLength128); in testDecodeTransformWithUnrecogniedAttributeType()
585 attributeList.add(attributeUnrecognized); in testDecodeTransformWithUnrecogniedAttributeType()
[all …]