Home
last modified time | relevance | path

Searched refs:SPI_LEN_IPSEC (Results 1 – 7 of 7) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeDeletePayloadTest.java21 import static com.android.internal.net.ipsec.ike.message.IkePayload.SPI_LEN_IPSEC;
85 assertEquals(IkePayload.SPI_LEN_IPSEC, deletePayload.spiSize); in testDecodeDeleteChildPayload()
110 deletePayloadBytes[SPI_SIZE_OFFSET] = IkePayload.SPI_LEN_IPSEC; in testDecodeWithInvalidSpiSize()
169 assertEquals(SPI_LEN_IPSEC, deletePayload.spiSize); in testOutboundConstructorWithSingleChildSa()
180 assertEquals(SPI_LEN_IPSEC, deletePayload.spiSize); in testOutboundConstructorWithMultipleChildSas()
DIkeNotifyPayloadTest.java81 assertEquals(IkePayload.SPI_LEN_IPSEC, payload.spiSize); in testDecodeNotifyPayloadSpiSet()
DIkeSaPayloadTest.java745 assertEquals(IkePayload.SPI_LEN_IPSEC, proposal.spiSize);
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeDeletePayload.java95 if (spiSize != SPI_LEN_IPSEC in IkeDeletePayload()
97 || inputBuffer.remaining() != SPI_LEN_IPSEC * numSpi) { in IkeDeletePayload()
137 spiSize = SPI_LEN_IPSEC; in IkeDeletePayload()
DIkeNotifyPayload.java241 if (spiSize == SPI_LEN_IPSEC) { in IkeNotifyPayload()
332 if (spiSize == SPI_LEN_IPSEC) { in encodeToByteBuffer()
394 this(protocolId, SPI_LEN_IPSEC, spi, notifyType, notifyData); in IkeNotifyPayload()
DIkeSaPayload.java600 case SPI_LEN_IPSEC: in readFrom()
717 case SPI_LEN_IPSEC: in encodeToByteBuffer()
865 SPI_LEN_IPSEC, in ChildProposal()
877 SPI_LEN_IPSEC, in ChildProposal()
DIkePayload.java135 public static final byte SPI_LEN_IPSEC = 4; field in IkePayload