Home
last modified time | relevance | path

Searched refs:tsType (Results 1 – 4 of 4) sorted by relevance

/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeTrafficSelector.java111 public final int tsType; field in IkeTrafficSelector
126 int tsType, in IkeTrafficSelector() argument
133 this.tsType = tsType; in IkeTrafficSelector()
181 @TrafficSelectorType int tsType, in IkeTrafficSelector()
187 this.tsType = tsType; in IkeTrafficSelector()
190 switch (tsType) { in IkeTrafficSelector()
286 int tsType = Byte.toUnsignedInt(inputBuffer.get()); in decodeIkeTrafficSelectors() local
287 switch (tsType) { in decodeIkeTrafficSelectors()
298 "Invalid Traffic Selector type: " + tsType); in decodeIkeTrafficSelectors()
316 private static IkeTrafficSelector decodeTrafficSelector(ByteBuffer inputBuffer, int tsType) in decodeTrafficSelector() argument
[all …]
DChildSessionParams.java374 @IkeTrafficSelector.TrafficSelectorType int tsType) { in buildDefaultTrafficSelector()
379 switch (tsType) { in buildDefaultTrafficSelector()
391 throw new IllegalArgumentException("Invalid Traffic Selector type: " + tsType); in buildDefaultTrafficSelector()
394 return new IkeTrafficSelector(tsType, startPort, endPort, startAddress, endAddress); in buildDefaultTrafficSelector()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeTrafficSelectorTest.java112 assertEquals(IkeTrafficSelector.TRAFFIC_SELECTOR_TYPE_IPV4_ADDR_RANGE, tsOne.tsType); in testDecodeIkeTrafficSelectors()
123 assertEquals(IkeTrafficSelector.TRAFFIC_SELECTOR_TYPE_IPV4_ADDR_RANGE, tsTwo.tsType); in testDecodeIkeTrafficSelectors()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachine.java2703 int tsType = isInitTs ? PAYLOAD_TYPE_TS_INITIATOR : PAYLOAD_TYPE_TS_RESPONDER; in validateAndGetNegotiatedTs() local
2706 tsType, IkeTsPayload.class, reqPayloads); in validateAndGetNegotiatedTs()
2709 tsType, IkeTsPayload.class, respPayloads); in validateAndGetNegotiatedTs()