Searched refs:attributeList (Results 1 – 5 of 5) sorted by relevance
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/ |
D | ChildSessionConfigurationTest.java | 126 List<ConfigAttribute> attributeList = new ArrayList<>(); 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() 154 List<ConfigAttribute> attributeList = new ArrayList<>(); in testBuildWithoutNetmaskAttr() local 155 attributeList.add(mIpv4Attr); in testBuildWithoutNetmaskAttr() 156 attributeList.add(mIpv6Attr); in testBuildWithoutNetmaskAttr() 158 IkeConfigPayload configPayload = new IkeConfigPayload(true /*isReply*/, attributeList); in testBuildWithoutNetmaskAttr() 178 List<ConfigAttribute> attributeList = new ArrayList<>(); in testBuildWithConfigReq() local [all …]
|
D | IkeSessionConfigurationTest.java | 95 List<ConfigAttribute> attributeList = new ArrayList<>(); in testBuildWithConfigPayload() local 96 attributeList.add(new ConfigAttributeIpv4Pcscf(PCSCF_IPV4_ADDRESS)); in testBuildWithConfigPayload() 97 attributeList.add(new ConfigAttributeIpv6Pcscf(PCSCF_IPV6_ADDRESS)); in testBuildWithConfigPayload() 98 attributeList.add(new ConfigAttributeAppVersion(REMOTE_APP_VERSION)); in testBuildWithConfigPayload() 100 IkeConfigPayload configPayload = new IkeConfigPayload(true /*isReply*/, attributeList); in testBuildWithConfigPayload()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeSaPayload.java | 997 protected Transform(int type, int id, List<Attribute> attributeList) { in Transform() argument 1001 isSupportedTransformId(id) && !hasUnrecognizedAttribute(attributeList); in Transform() 1024 List<Attribute> attributeList = sAttributeDecoder.decodeAttributes(length, inputBuffer); in readFrom() local 1026 validateAttributeUniqueness(attributeList); in readFrom() 1030 return new EncryptionTransform(id, attributeList); in readFrom() 1032 return new PrfTransform(id, attributeList); in readFrom() 1034 return new IntegrityTransform(id, attributeList); in readFrom() 1036 return new DhGroupTransform(id, attributeList); in readFrom() 1038 return new EsnTransform(id, attributeList); in readFrom() 1040 return new UnrecognizedTransform(type, id, attributeList); in readFrom() [all …]
|
D | IkeConfigPayload.java | 129 public IkeConfigPayload(boolean isReply, List<ConfigAttribute> attributeList) { in IkeConfigPayload() argument 132 this.recognizedAttributeList = attributeList; in IkeConfigPayload()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeSaPayloadTest.java | 308 List<Attribute> attributeList = new ArrayList<>(); in testDecodeEncryptionTransformWithInvalidKeyLength() local 310 attributeList.add(keyLengAttr); in testDecodeEncryptionTransformWithInvalidKeyLength() 312 doReturn(attributeList).when(mMockedAttributeDecoder).decodeAttributes(anyInt(), any()); in testDecodeEncryptionTransformWithInvalidKeyLength() 549 List<Attribute> attributeList = new ArrayList<>(); 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 ArrayList<>(); in testDecodeTransformWithUnrecogniedAttributeType() local 583 attributeList.add(mAttributeKeyLength128); in testDecodeTransformWithUnrecogniedAttributeType() 585 attributeList.add(attributeUnrecognized); in testDecodeTransformWithUnrecogniedAttributeType() [all …]
|