Home
last modified time | relevance | path

Searched refs:selectorLength (Results 1 – 3 of 3) sorted by relevance

/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeTrafficSelector.java111 public final int selectorLength; field in IkeTrafficSelector
124 int selectorLength, in IkeTrafficSelector() argument
131 this.selectorLength = selectorLength; in IkeTrafficSelector()
188 this.selectorLength = TRAFFIC_SELECTOR_IPV4_LEN; in IkeTrafficSelector()
198 this.selectorLength = TRAFFIC_SELECTOR_IPV6_LEN; in IkeTrafficSelector()
389 selectorLength, in hashCode()
438 .putShort((short) selectorLength) in encodeToByteBuffer()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeTrafficSelectorTest.java113 assertEquals(IkeTrafficSelector.TRAFFIC_SELECTOR_IPV4_LEN, tsOne.selectorLength); in testDecodeIkeTrafficSelectors()
124 assertEquals(IkeTrafficSelector.TRAFFIC_SELECTOR_IPV4_LEN, tsTwo.selectorLength); in testDecodeIkeTrafficSelectors()
141 ByteBuffer byteBuffer = ByteBuffer.allocate(ts.selectorLength); in testBuildAndEncodeIkeTrafficSelector()
328 ByteBuffer byteBuffer = ByteBuffer.allocate(mTsIpv6Three.selectorLength); in testBuildAndEncodeIpv6TrafficSelector()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeTsPayload.java136 len += ts.selectorLength; in getPayloadLength()