/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeConfigPayload.java | 108 public final List<ConfigAttribute> recognizedAttributeList; 118 recognizedAttributeList = ConfigAttribute.decodeAttributesFrom(inputBuffer); in IkeConfigPayload() 129 public IkeConfigPayload(boolean isReply, List<ConfigAttribute> attributeList) { in IkeConfigPayload() 139 for (ConfigAttribute attr : recognizedAttributeList) { in validateNetmaskInReply() 172 public abstract static class ConfigAttribute { class in IkeConfigPayload 188 protected ConfigAttribute(int attributeType) { in ConfigAttribute() method in IkeConfigPayload.ConfigAttribute 192 protected ConfigAttribute(int attributeType, int len) throws InvalidSyntaxException { in ConfigAttribute() method in IkeConfigPayload.ConfigAttribute 206 public static ConfigAttribute fromPersistableBundle(PersistableBundle in) { in fromPersistableBundle() 214 ConfigAttribute attribute; in fromPersistableBundle() 251 static List<ConfigAttribute> decodeAttributesFrom(ByteBuffer inputBuffer) in decodeAttributesFrom() [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/ |
D | ChildSessionConfigurationTest.java | 28 import com.android.internal.net.ipsec.test.ike.message.IkeConfigPayload.ConfigAttribute; 126 List<ConfigAttribute> attributeList = new ArrayList<>(); in testBuildWithNetmaskAttr() 154 List<ConfigAttribute> attributeList = new ArrayList<>(); in testBuildWithoutNetmaskAttr() 178 List<ConfigAttribute> attributeList = new ArrayList<>(); in testBuildWithConfigReq() 194 List<ConfigAttribute> attributeList = new ArrayList<>(); in testBuildWithDnsAttr() 221 List<ConfigAttribute> attributeList = new ArrayList<>(); in testBuildWithSubnetAttr() 247 List<ConfigAttribute> attributeList = new ArrayList<>(); in testBuildWithDhcpAttr()
|
D | IkeSessionConfigurationTest.java | 33 import com.android.internal.net.ipsec.test.ike.message.IkeConfigPayload.ConfigAttribute; 106 List<ConfigAttribute> attributeList = new ArrayList<>(); in testBuildWithConfigPayload()
|
D | TunnelModeChildSessionParamsTest.java | 42 import com.android.internal.net.ipsec.test.ike.message.IkeConfigPayload.ConfigAttribute; 91 ConfigAttribute[] configAttributes = childParams.getConfigurationAttributesInternal(); in verifyAttrTypes()
|
D | IkeSessionParamsTest.java | 47 import static com.android.internal.net.ipsec.test.ike.message.IkeConfigPayload.ConfigAttribute; 608 ConfigAttribute[] configAttributes = ikeParams.getConfigurationAttributesInternal(); in verifyAttrTypes()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeConfigPayloadTest.java | 52 import com.android.internal.net.ipsec.test.ike.message.IkeConfigPayload.ConfigAttribute; 218 List<ConfigAttribute> recognizedAttributeList = configPayload.recognizedAttributeList; in testDecodeConfigRequest() 221 ConfigAttribute att = recognizedAttributeList.get(0); in testDecodeConfigRequest() 258 List<ConfigAttribute> recognizedAttributeList = configPayload.recognizedAttributeList; in testDecodeConfigResponse() 261 ConfigAttribute att = recognizedAttributeList.get(0); in testDecodeConfigResponse() 307 private ConfigAttribute makeMockAttribute(byte[] encodedAttribute) { in makeMockAttribute() 308 ConfigAttribute mockAttribute = mock(ConfigAttribute.class); in makeMockAttribute() 326 List<ConfigAttribute> mockAttributeList = new ArrayList<>(); in testBuildAndEncodeOutboundConfig() 346 ConfigAttribute attribute, int expectedAttributeType, byte[] expectedEncodedAttribute) { in verifyBuildAndEncodeAttributeCommon() 404 private static void verifyPersistableBundleEncodeDecodeIsLossless(ConfigAttribute attribute) { in verifyPersistableBundleEncodeDecodeIsLossless() [all …]
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | TunnelModeChildSessionParams.java | 30 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttribute; 107 List<ConfigAttribute> configReqList = in fromPersistableBundle() 109 configAttributeBundle, ConfigAttribute::fromPersistableBundle); in fromPersistableBundle() 111 for (ConfigAttribute a : configReqList) { in fromPersistableBundle()
|
D | ChildSessionConfiguration.java | 34 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttribute; 89 for (ConfigAttribute att : configPayload.recognizedAttributeList) { in ChildSessionConfiguration() 95 for (ConfigAttribute att : configPayload.recognizedAttributeList) { in ChildSessionConfiguration()
|
D | IkeSessionConfiguration.java | 31 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttribute; 100 for (ConfigAttribute attr : configPayload.recognizedAttributeList) { in IkeSessionConfiguration()
|
D | IkeSessionParams.java | 41 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttribute; 618 List<ConfigAttribute> configList = in fromPersistableBundle() 619 PersistableBundleUtils.toList(configBundle, ConfigAttribute::fromPersistableBundle); in fromPersistableBundle() 620 for (ConfigAttribute configAttribute : configList) { in fromPersistableBundle() 681 Arrays.asList(mConfigRequests), ConfigAttribute::toPersistableBundle); in toPersistableBundle()
|
/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; 1117 final ConfigAttribute[] configAttributes = in enterState() 2266 public static ConfigAttribute[] getConfigAttributes(ChildSessionParams params) { in getConfigAttributes() 2270 return new ConfigAttribute[0]; in getConfigAttributes()
|
D | IkeSessionStateMachine.java | 155 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttribute; 4290 final List<ConfigAttribute> configAttributes = new ArrayList<>(); in buildIkeAuthReq()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | ChildSessionStateMachineTest.java | 116 import com.android.internal.net.ipsec.test.ike.message.IkeConfigPayload.ConfigAttribute; 386 List<ConfigAttribute> attrReqList = new ArrayList<>(); in setUpFirstSaNegoPayloadLists() 392 List<ConfigAttribute> attrRespList = new ArrayList<>(); in setUpFirstSaNegoPayloadLists()
|
D | IkeSessionStateMachineTest.java | 2932 List<IkeConfigPayload.ConfigAttribute> recognizedAttributeList) { in buildAttributeMap() 2934 for (IkeConfigPayload.ConfigAttribute attr : recognizedAttributeList) { in buildAttributeMap()
|