Searched refs:IkeTsPayload (Results 1 – 6 of 6) sorted by relevance
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeTsPayloadTest.java | 83 assertTrue(payload instanceof IkeTsPayload); in testDecodeTsInitiatorPayload() 85 IkeTsPayload tsPayload = (IkeTsPayload) payload; in testDecodeTsInitiatorPayload() 92 IkeTsPayload tsPayload = in testBuildAndEncodeTsPayload() 93 new IkeTsPayload(true /*isInitiator*/, new IkeTrafficSelector[] {mTsOne, mTsTwo}); in testBuildAndEncodeTsPayload() 120 IkeTsPayload tsPayload = in testContains() 121 new IkeTsPayload(true /*isInitiator*/, new IkeTrafficSelector[] {mTsOne, mTsTwo}); in testContains() 123 IkeTsPayload tsNarrowPortRangePayload = in testContains() 124 new IkeTsPayload( in testContains() 128 IkeTsPayload tsNarrowAddressRangePayload = in testContains() 129 new IkeTsPayload( in testContains()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeTsPayload.java | 37 public final class IkeTsPayload extends IkePayload { class 48 IkeTsPayload(boolean critical, byte[] payloadBody, boolean isInitiator) in IkeTsPayload() method in IkeTsPayload 73 public IkeTsPayload(boolean isInitiator, IkeTrafficSelector[] ikeTrafficSelectors) { in IkeTsPayload() method in IkeTsPayload 98 public boolean contains(IkeTsPayload tsPayload) { in contains()
|
D | IkePayloadFactory.java | 86 return new IkeTsPayload(isCritical, payloadBody, true); in decodeIkePayload() 88 return new IkeTsPayload(isCritical, payloadBody, false); in decodeIkePayload()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | ChildSessionStateMachineTest.java | 120 import com.android.internal.net.ipsec.ike.message.IkeTsPayload; 336 IkeTsPayload tsInitPayload = in setUpFirstSaNegoPayloadLists() 337 new IkeTsPayload( in setUpFirstSaNegoPayloadLists() 340 IkeTsPayload tsRespPayload = in setUpFirstSaNegoPayloadLists() 341 new IkeTsPayload( in setUpFirstSaNegoPayloadLists() 534 PAYLOAD_TYPE_TS_INITIATOR, IkeTsPayload.class, outboundPayloads)); in verifyOutboundCreatePayloadTypes() 537 PAYLOAD_TYPE_TS_RESPONDER, IkeTsPayload.class, outboundPayloads)); in verifyOutboundCreatePayloadTypes() 973 inboundPayloads.add(new IkeTsPayload(true /*isInitiator*/, initTs)); in makeInboundRekeyChildPayloads() 974 inboundPayloads.add(new IkeTsPayload(false /*isInitiator*/, respTs)); in makeInboundRekeyChildPayloads()
|
D | IkeSessionStateMachineTest.java | 159 import com.android.internal.net.ipsec.ike.message.IkeTsPayload; 2106 IkePayload.PAYLOAD_TYPE_TS_INITIATOR, IkeTsPayload.class)); in verifyAuthReqWithChildPayloadsAndGetMsg() 2109 IkePayload.PAYLOAD_TYPE_TS_RESPONDER, IkeTsPayload.class)); in verifyAuthReqWithChildPayloadsAndGetMsg()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | ChildSessionStateMachine.java | 95 import com.android.internal.net.ipsec.ike.message.IkeTsPayload; 2058 payloadList.add(new IkeTsPayload(true /*isInitiator*/, initTs)); in getChildCreatePayloads() 2059 payloadList.add(new IkeTsPayload(false /*isInitiator*/, respTs)); in getChildCreatePayloads() 2413 IkeTsPayload reqPayload = in validateAndGetNegotiatedTs() 2415 tsType, IkeTsPayload.class, reqPayloads); in validateAndGetNegotiatedTs() 2416 IkeTsPayload respPayload = in validateAndGetNegotiatedTs() 2418 tsType, IkeTsPayload.class, respPayloads); in validateAndGetNegotiatedTs()
|