Home
last modified time | relevance | path

Searched refs:configPayload (Results 1 – 9 of 9) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DChildSessionConfigurationTest.java131 IkeConfigPayload configPayload = new IkeConfigPayload(true /*isReply*/, attributeList); in testBuildWithNetmaskAttr() local
134 new ChildSessionConfiguration(mMockInTsList, mMockOutTsList, configPayload); in testBuildWithNetmaskAttr()
158 IkeConfigPayload configPayload = new IkeConfigPayload(true /*isReply*/, attributeList); in testBuildWithoutNetmaskAttr() local
161 new ChildSessionConfiguration(mMockInTsList, mMockOutTsList, configPayload); in testBuildWithoutNetmaskAttr()
182 IkeConfigPayload configPayload = new IkeConfigPayload(false /*isReply*/, attributeList); in testBuildWithConfigReq() local
185 new ChildSessionConfiguration(mMockInTsList, mMockOutTsList, configPayload); in testBuildWithConfigReq()
199 IkeConfigPayload configPayload = new IkeConfigPayload(true /*isReply*/, attributeList); in testBuildWithDnsAttr() local
202 new ChildSessionConfiguration(mMockInTsList, mMockOutTsList, configPayload); in testBuildWithDnsAttr()
225 IkeConfigPayload configPayload = new IkeConfigPayload(true /*isReply*/, attributeList); in testBuildWithSubnetAttr() local
228 new ChildSessionConfiguration(mMockInTsList, mMockOutTsList, configPayload); in testBuildWithSubnetAttr()
[all …]
DIkeSessionConfigurationTest.java111 IkeConfigPayload configPayload = new IkeConfigPayload(true /*isReply*/, attributeList); in testBuildWithConfigPayload() local
116 configPayload, in testBuildWithConfigPayload()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeConfigPayloadTest.java200 IkeConfigPayload configPayload = (IkeConfigPayload) payload; in verifyDecodeHeaderAndGetPayload() local
201 assertEquals(expectedConfigType, configPayload.configType); in verifyDecodeHeaderAndGetPayload()
203 return configPayload; in verifyDecodeHeaderAndGetPayload()
215 IkeConfigPayload configPayload = in testDecodeConfigRequest() local
218 List<ConfigAttribute> recognizedAttributeList = configPayload.recognizedAttributeList; in testDecodeConfigRequest()
255 IkeConfigPayload configPayload = in testDecodeConfigResponse() local
258 List<ConfigAttribute> recognizedAttributeList = configPayload.recognizedAttributeList; in testDecodeConfigResponse()
333 IkeConfigPayload configPayload = new IkeConfigPayload(false /*isReply*/, mockAttributeList); in testBuildAndEncodeOutboundConfig() local
335 assertEquals(PAYLOAD_TYPE_CP, configPayload.payloadType); in testBuildAndEncodeOutboundConfig()
336 assertFalse(configPayload.isCritical); in testBuildAndEncodeOutboundConfig()
[all …]
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionConfiguration.java83 IkeConfigPayload configPayload, in IkeSessionConfiguration() argument
93 if (configPayload != null) { in IkeSessionConfiguration()
94 if (configPayload.configType != IkeConfigPayload.CONFIG_TYPE_REPLY) { in IkeSessionConfiguration()
97 + configPayload.configType); in IkeSessionConfiguration()
100 for (ConfigAttribute attr : configPayload.recognizedAttributeList) { in IkeSessionConfiguration()
DChildSessionConfiguration.java77 IkeConfigPayload configPayload) { in ChildSessionConfiguration() argument
80 if (configPayload.configType != IkeConfigPayload.CONFIG_TYPE_REPLY) { in ChildSessionConfiguration()
83 + configPayload.configType); in ChildSessionConfiguration()
89 for (ConfigAttribute att : configPayload.recognizedAttributeList) { in ChildSessionConfiguration()
95 for (ConfigAttribute att : configPayload.recognizedAttributeList) { in ChildSessionConfiguration()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachine.java970 IkeConfigPayload configPayload = in buildChildSessionConfigFromResp() local
975 || configPayload == null in buildChildSessionConfigFromResp()
976 || configPayload.configType != IkeConfigPayload.CONFIG_TYPE_REPLY) { in buildChildSessionConfigFromResp()
977 if (configPayload != null) { in buildChildSessionConfigFromResp()
978 logw("Unexpected config payload. Config Type: " + configPayload.configType); in buildChildSessionConfigFromResp()
988 configPayload); in buildChildSessionConfigFromResp()
DIkeSessionStateMachine.java3980 IkeConfigPayload configPayload = in buildIkeSessionConfiguration() local
3983 if (configPayload == null) { in buildIkeSessionConfiguration()
3985 } else if (configPayload.configType != CONFIG_TYPE_REPLY) { in buildIkeSessionConfiguration()
3986 logi("Unexpected config payload. Config Type: " + configPayload.configType); in buildIkeSessionConfiguration()
3987 configPayload = null; in buildIkeSessionConfiguration()
3992 configPayload, in buildIkeSessionConfiguration()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java630 IkeConfigPayload configPayload = in verifyOutboundCreatePayloadTypes() local
634 assertNull(configPayload); in verifyOutboundCreatePayloadTypes()
636 assertNotNull(configPayload); in verifyOutboundCreatePayloadTypes()
637 assertEquals(IkeConfigPayload.CONFIG_TYPE_REQUEST, configPayload.configType); in verifyOutboundCreatePayloadTypes()
DIkeSessionStateMachineTest.java2900 IkeConfigPayload configPayload = in verifyAuthReqWithChildPayloadsAndGetMsg() local
2903 assertNotNull(configPayload); in verifyAuthReqWithChildPayloadsAndGetMsg()
2920 buildAttributeMap(configPayload.recognizedAttributeList); in verifyAuthReqWithChildPayloadsAndGetMsg()