Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeConfigPayload.java104 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/
DChildSessionConfigurationTest.java28 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()
DIkeSessionConfigurationTest.java29 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttribute;
96 List<ConfigAttribute> attributeList = new LinkedList<>(); in testBuildWithConfigPayload()
DTunnelModeChildSessionParamsTest.java42 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttribute;
91 ConfigAttribute[] configAttributes = childParams.getConfigurationAttributesInternal(); in verifyAttrTypes()
DIkeSessionParamsTest.java37 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/
DIkeConfigPayloadTest.java51 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/
DChildSessionConfiguration.java34 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()
DIkeSessionConfiguration.java28 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/
DChildSessionStateMachine.java85 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()
DIkeSessionStateMachine.java116 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/
DChildSessionStateMachineTest.java106 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()
DIkeSessionStateMachineTest.java2143 List<IkeConfigPayload.ConfigAttribute> recognizedAttributeList) { in buildAttributeMap()
2145 for (IkeConfigPayload.ConfigAttribute attr : recognizedAttributeList) { in buildAttributeMap()