/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeConfigPayload.java | 104 public final List<ConfigAttribute> recognizedAttributeList; 114 recognizedAttributeList = ConfigAttribute.decodeAttributeFrom(inputBuffer); in IkeConfigPayload() 125 public IkeConfigPayload(boolean isReply, List<ConfigAttribute> attributeList) { in IkeConfigPayload() 135 for (ConfigAttribute attr : recognizedAttributeList) { in validateNetmaskInReply() 168 public abstract static class ConfigAttribute { class in IkeConfigPayload 182 protected ConfigAttribute(int attributeType) { in ConfigAttribute() method in IkeConfigPayload.ConfigAttribute 186 protected ConfigAttribute(int attributeType, int len) throws InvalidSyntaxException { in ConfigAttribute() method in IkeConfigPayload.ConfigAttribute 200 static List<ConfigAttribute> decodeAttributeFrom(ByteBuffer inputBuffer) in decodeAttributeFrom() 202 List<ConfigAttribute> configList = new LinkedList(); in decodeAttributeFrom() 314 public abstract static class IkeConfigAttribute extends ConfigAttribute [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/ |
D | ChildSessionConfigurationTest.java | 28 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttribute; 126 List<ConfigAttribute> attributeList = new LinkedList<>(); in testBuildWithNetmaskAttr() 151 List<ConfigAttribute> attributeList = new LinkedList<>(); in testBuildWithoutNetmaskAttr() 175 List<ConfigAttribute> attributeList = new LinkedList<>(); in testBuildWithConfigReq() 191 List<ConfigAttribute> attributeList = new LinkedList<>(); in testBuildWithDnsAttr() 215 List<ConfigAttribute> attributeList = new LinkedList<>(); in testBuildWithSubnetAttr() 238 List<ConfigAttribute> attributeList = new LinkedList<>(); in testBuildWithDhcpAttr()
|
D | IkeSessionConfigurationTest.java | 29 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttribute; 96 List<ConfigAttribute> attributeList = new LinkedList<>(); in testBuildWithConfigPayload()
|
D | TunnelModeChildSessionParamsTest.java | 42 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttribute; 91 ConfigAttribute[] configAttributes = childParams.getConfigurationAttributesInternal(); in verifyAttrTypes()
|
D | IkeSessionParamsTest.java | 37 import static com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttribute; 430 ConfigAttribute[] configAttributes = ikeParams.getConfigurationAttributesInternal(); in verifyAttrTypes()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeConfigPayloadTest.java | 51 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttribute; 217 List<ConfigAttribute> recognizedAttributeList = configPayload.recognizedAttributeList; in testDecodeConfigRequest() 220 ConfigAttribute att = recognizedAttributeList.get(0); in testDecodeConfigRequest() 257 List<ConfigAttribute> recognizedAttributeList = configPayload.recognizedAttributeList; in testDecodeConfigResponse() 260 ConfigAttribute att = recognizedAttributeList.get(0); in testDecodeConfigResponse() 306 private ConfigAttribute makeMockAttribute(byte[] encodedAttribute) { in makeMockAttribute() 307 ConfigAttribute mockAttribute = mock(ConfigAttribute.class); in makeMockAttribute() 325 List<ConfigAttribute> mockAttributeList = new LinkedList<>(); in testBuildAndEncodeOutboundConfig() 345 ConfigAttribute attribute, int expectedAttributeType, byte[] expectedEncodedAttribute) { in verifyBuildAndEncodeAttributeCommon() 593 assertEquals(mIpv4PrefixLens[i], ConfigAttribute.netmaskToPrefixLen(mNetMasks[i])); in testNetmaskToPrefixLen() [all …]
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | ChildSessionConfiguration.java | 34 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttribute; 90 for (ConfigAttribute att : configPayload.recognizedAttributeList) { in ChildSessionConfiguration() 96 for (ConfigAttribute att : configPayload.recognizedAttributeList) { in ChildSessionConfiguration()
|
D | IkeSessionConfiguration.java | 28 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttribute; 97 for (ConfigAttribute attr : configPayload.recognizedAttributeList) { in IkeSessionConfiguration()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | ChildSessionStateMachine.java | 85 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttribute; 952 final ConfigAttribute[] configAttributes = in enterState() 1979 public static ConfigAttribute[] getConfigAttributes(ChildSessionParams params) { in getConfigAttributes() 1983 return new ConfigAttribute[0]; in getConfigAttributes()
|
D | IkeSessionStateMachine.java | 116 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttribute; 3352 final List<ConfigAttribute> configAttributes = new ArrayList<>(); in buildIkeAuthReq()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | ChildSessionStateMachineTest.java | 106 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttribute; 355 List<ConfigAttribute> attrReqList = new LinkedList<>(); in setUpFirstSaNegoPayloadLists() 361 List<ConfigAttribute> attrRespList = new LinkedList<>(); in setUpFirstSaNegoPayloadLists()
|
D | IkeSessionStateMachineTest.java | 2143 List<IkeConfigPayload.ConfigAttribute> recognizedAttributeList) { in buildAttributeMap() 2145 for (IkeConfigPayload.ConfigAttribute attr : recognizedAttributeList) { in buildAttributeMap()
|