Home
last modified time | relevance | path

Searched refs:tsPayload (Results 1 – 2 of 2) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeTsPayloadTest.java85 IkeTsPayload tsPayload = (IkeTsPayload) payload; in testDecodeTsInitiatorPayload() local
86 assertEquals(IkePayload.PAYLOAD_TYPE_TS_INITIATOR, tsPayload.payloadType); in testDecodeTsInitiatorPayload()
87 assertEquals(NUMBER_OF_TS, tsPayload.numTs); in testDecodeTsInitiatorPayload()
92 IkeTsPayload tsPayload = in testBuildAndEncodeTsPayload() local
95 ByteBuffer byteBuffer = ByteBuffer.allocate(tsPayload.getPayloadLength()); in testBuildAndEncodeTsPayload()
96 tsPayload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_TS_RESPONDER, byteBuffer); in testBuildAndEncodeTsPayload()
120 IkeTsPayload tsPayload = in testContains() local
133 assertTrue(tsPayload.contains(tsPayload)); in testContains()
134 assertTrue(tsPayload.contains(tsNarrowPortRangePayload)); in testContains()
135 assertTrue(tsPayload.contains(tsNarrowAddressRangePayload)); in testContains()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeTsPayload.java98 public boolean contains(IkeTsPayload tsPayload) { in contains() argument
100 for (IkeTrafficSelector subTs : tsPayload.trafficSelectors) { in contains()