Home
last modified time | relevance | path

Searched refs:ConfigAttribute (Results 1 – 14 of 14) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeConfigPayload.java108 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/
DChildSessionConfigurationTest.java28 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()
DIkeSessionConfigurationTest.java33 import com.android.internal.net.ipsec.test.ike.message.IkeConfigPayload.ConfigAttribute;
106 List<ConfigAttribute> attributeList = new ArrayList<>(); in testBuildWithConfigPayload()
DTunnelModeChildSessionParamsTest.java42 import com.android.internal.net.ipsec.test.ike.message.IkeConfigPayload.ConfigAttribute;
91 ConfigAttribute[] configAttributes = childParams.getConfigurationAttributesInternal(); in verifyAttrTypes()
DIkeSessionParamsTest.java47 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/
DIkeConfigPayloadTest.java52 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/
DTunnelModeChildSessionParams.java30 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()
DChildSessionConfiguration.java34 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()
DIkeSessionConfiguration.java31 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttribute;
100 for (ConfigAttribute attr : configPayload.recognizedAttributeList) { in IkeSessionConfiguration()
DIkeSessionParams.java41 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/
DChildSessionStateMachine.java85 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()
DIkeSessionStateMachine.java155 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/
DChildSessionStateMachineTest.java116 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()
DIkeSessionStateMachineTest.java2932 List<IkeConfigPayload.ConfigAttribute> recognizedAttributeList) { in buildAttributeMap()
2934 for (IkeConfigPayload.ConfigAttribute attr : recognizedAttributeList) { in buildAttributeMap()