Searched refs:tsType (Results 1 – 4 of 4) sorted by relevance
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | IkeTrafficSelector.java | 111 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 …]
|
D | ChildSessionParams.java | 374 @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/ |
D | IkeTrafficSelectorTest.java | 112 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/ |
D | ChildSessionStateMachine.java | 2703 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()
|