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()
155 IkeConfigPayload configPayload = new IkeConfigPayload(true /*isReply*/, attributeList); in testBuildWithoutNetmaskAttr() local
158 new ChildSessionConfiguration(mMockInTsList, mMockOutTsList, configPayload); in testBuildWithoutNetmaskAttr()
179 IkeConfigPayload configPayload = new IkeConfigPayload(false /*isReply*/, attributeList); in testBuildWithConfigReq() local
182 new ChildSessionConfiguration(mMockInTsList, mMockOutTsList, configPayload); in testBuildWithConfigReq()
196 IkeConfigPayload configPayload = new IkeConfigPayload(true /*isReply*/, attributeList); in testBuildWithDnsAttr() local
199 new ChildSessionConfiguration(mMockInTsList, mMockOutTsList, configPayload); in testBuildWithDnsAttr()
219 IkeConfigPayload configPayload = new IkeConfigPayload(true /*isReply*/, attributeList); in testBuildWithSubnetAttr() local
222 new ChildSessionConfiguration(mMockInTsList, mMockOutTsList, configPayload); in testBuildWithSubnetAttr()
[all …]
DIkeSessionConfigurationTest.java101 IkeConfigPayload configPayload = new IkeConfigPayload(true /*isReply*/, attributeList); in testBuildWithConfigPayload() local
105 IKE_CONNECT_INFO, configPayload, REMOTE_VENDOR_IDS, ENABLED_EXTENSIONS); in testBuildWithConfigPayload()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeConfigPayloadTest.java199 IkeConfigPayload configPayload = (IkeConfigPayload) payload; in verifyDecodeHeaderAndGetPayload() local
200 assertEquals(expectedConfigType, configPayload.configType); in verifyDecodeHeaderAndGetPayload()
202 return configPayload; in verifyDecodeHeaderAndGetPayload()
214 IkeConfigPayload configPayload = in testDecodeConfigRequest() local
217 List<ConfigAttribute> recognizedAttributeList = configPayload.recognizedAttributeList; in testDecodeConfigRequest()
254 IkeConfigPayload configPayload = in testDecodeConfigResponse() local
257 List<ConfigAttribute> recognizedAttributeList = configPayload.recognizedAttributeList; in testDecodeConfigResponse()
332 IkeConfigPayload configPayload = new IkeConfigPayload(false /*isReply*/, mockAttributeList); in testBuildAndEncodeOutboundConfig() local
334 assertEquals(PAYLOAD_TYPE_CP, configPayload.payloadType); in testBuildAndEncodeOutboundConfig()
335 assertFalse(configPayload.isCritical); in testBuildAndEncodeOutboundConfig()
[all …]
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionConfiguration.java77 IkeConfigPayload configPayload, in IkeSessionConfiguration() argument
90 if (configPayload != null) { in IkeSessionConfiguration()
91 if (configPayload.configType != IkeConfigPayload.CONFIG_TYPE_REPLY) { in IkeSessionConfiguration()
94 + configPayload.configType); in IkeSessionConfiguration()
97 for (ConfigAttribute attr : configPayload.recognizedAttributeList) { in IkeSessionConfiguration()
DChildSessionConfiguration.java78 IkeConfigPayload configPayload) { in ChildSessionConfiguration() argument
81 if (configPayload.configType != IkeConfigPayload.CONFIG_TYPE_REPLY) { in ChildSessionConfiguration()
84 + configPayload.configType); in ChildSessionConfiguration()
90 for (ConfigAttribute att : configPayload.recognizedAttributeList) { in ChildSessionConfiguration()
96 for (ConfigAttribute att : configPayload.recognizedAttributeList) { in ChildSessionConfiguration()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachine.java821 IkeConfigPayload configPayload = in buildChildSessionConfigFromResp() local
826 || configPayload == null in buildChildSessionConfigFromResp()
827 || configPayload.configType != IkeConfigPayload.CONFIG_TYPE_REPLY) { in buildChildSessionConfigFromResp()
828 if (configPayload != null) { in buildChildSessionConfigFromResp()
829 logw("Unexpected config payload. Config Type: " + configPayload.configType); in buildChildSessionConfigFromResp()
839 configPayload); in buildChildSessionConfigFromResp()
DIkeSessionStateMachine.java3176 IkeConfigPayload configPayload = in buildIkeSessionConfiguration() local
3179 if (configPayload == null) { in buildIkeSessionConfiguration()
3181 } else if (configPayload.configType != CONFIG_TYPE_REPLY) { in buildIkeSessionConfiguration()
3182 logi("Unexpected config payload. Config Type: " + configPayload.configType); in buildIkeSessionConfiguration()
3183 configPayload = null; in buildIkeSessionConfiguration()
3191 ikeConnInfo, configPayload, mRemoteVendorIds, mEnabledExtensions); in buildIkeSessionConfiguration()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java545 IkeConfigPayload configPayload = in verifyOutboundCreatePayloadTypes() local
549 assertNull(configPayload); in verifyOutboundCreatePayloadTypes()
551 assertNotNull(configPayload); in verifyOutboundCreatePayloadTypes()
552 assertEquals(IkeConfigPayload.CONFIG_TYPE_REQUEST, configPayload.configType); in verifyOutboundCreatePayloadTypes()
DIkeSessionStateMachineTest.java2111 IkeConfigPayload configPayload = in verifyAuthReqWithChildPayloadsAndGetMsg() local
2114 assertNotNull(configPayload); in verifyAuthReqWithChildPayloadsAndGetMsg()
2131 buildAttributeMap(configPayload.recognizedAttributeList); in verifyAuthReqWithChildPayloadsAndGetMsg()