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.java115 public final int selectorLength; field in IkeTrafficSelector
128 int selectorLength, in IkeTrafficSelector() argument
135 this.selectorLength = selectorLength; in IkeTrafficSelector()
192 this.selectorLength = TRAFFIC_SELECTOR_IPV4_LEN; in IkeTrafficSelector()
202 this.selectorLength = TRAFFIC_SELECTOR_IPV6_LEN; in IkeTrafficSelector()
432 selectorLength, in hashCode()
481 .putShort((short) selectorLength) in encodeToByteBuffer()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeTrafficSelectorTest.java114 assertEquals(IkeTrafficSelector.TRAFFIC_SELECTOR_IPV4_LEN, tsOne.selectorLength); in testDecodeIkeTrafficSelectors()
125 assertEquals(IkeTrafficSelector.TRAFFIC_SELECTOR_IPV4_LEN, tsTwo.selectorLength); in testDecodeIkeTrafficSelectors()
142 ByteBuffer byteBuffer = ByteBuffer.allocate(ts.selectorLength); in testBuildAndEncodeIkeTrafficSelector()
345 ByteBuffer byteBuffer = ByteBuffer.allocate(mTsIpv6Three.selectorLength); in testBuildAndEncodeIpv6TrafficSelector()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeTsPayload.java135 len += ts.selectorLength; in getPayloadLength()