/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/ |
D | ChildSessionConfigurationTest.java | 131 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 …]
|
D | IkeSessionConfigurationTest.java | 100 IkeConfigPayload configPayload = new IkeConfigPayload(true /*isReply*/, attributeList); in testBuildWithConfigPayload() local 104 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/ |
D | IkeConfigPayloadTest.java | 200 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/ |
D | IkeSessionConfiguration.java | 80 IkeConfigPayload configPayload, in IkeSessionConfiguration() argument 88 if (configPayload != null) { in IkeSessionConfiguration() 89 if (configPayload.configType != IkeConfigPayload.CONFIG_TYPE_REPLY) { in IkeSessionConfiguration() 92 + configPayload.configType); in IkeSessionConfiguration() 95 for (ConfigAttribute attr : configPayload.recognizedAttributeList) { in IkeSessionConfiguration()
|
D | ChildSessionConfiguration.java | 77 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/ |
D | ChildSessionStateMachine.java | 894 IkeConfigPayload configPayload = in buildChildSessionConfigFromResp() local 899 || configPayload == null in buildChildSessionConfigFromResp() 900 || configPayload.configType != IkeConfigPayload.CONFIG_TYPE_REPLY) { in buildChildSessionConfigFromResp() 901 if (configPayload != null) { in buildChildSessionConfigFromResp() 902 logw("Unexpected config payload. Config Type: " + configPayload.configType); in buildChildSessionConfigFromResp() 912 configPayload); in buildChildSessionConfigFromResp()
|
D | IkeSessionStateMachine.java | 3626 IkeConfigPayload configPayload = in buildIkeSessionConfiguration() local 3629 if (configPayload == null) { in buildIkeSessionConfiguration() 3631 } else if (configPayload.configType != CONFIG_TYPE_REPLY) { in buildIkeSessionConfiguration() 3632 logi("Unexpected config payload. Config Type: " + configPayload.configType); in buildIkeSessionConfiguration() 3633 configPayload = null; in buildIkeSessionConfiguration() 3640 ikeConnInfo, configPayload, mRemoteVendorIds, mEnabledExtensions); in buildIkeSessionConfiguration()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | ChildSessionStateMachineTest.java | 582 IkeConfigPayload configPayload = in verifyOutboundCreatePayloadTypes() local 586 assertNull(configPayload); in verifyOutboundCreatePayloadTypes() 588 assertNotNull(configPayload); in verifyOutboundCreatePayloadTypes() 589 assertEquals(IkeConfigPayload.CONFIG_TYPE_REQUEST, configPayload.configType); in verifyOutboundCreatePayloadTypes()
|
D | IkeSessionStateMachineTest.java | 2602 IkeConfigPayload configPayload = in verifyAuthReqWithChildPayloadsAndGetMsg() local 2605 assertNotNull(configPayload); in verifyAuthReqWithChildPayloadsAndGetMsg() 2622 buildAttributeMap(configPayload.recognizedAttributeList); in verifyAuthReqWithChildPayloadsAndGetMsg()
|