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/ |
D | IkeDeletePayloadTest.java | 21 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()
|
D | IkeNotifyPayloadTest.java | 81 assertEquals(IkePayload.SPI_LEN_IPSEC, payload.spiSize); in testDecodeNotifyPayloadSpiSet()
|
D | IkeSaPayloadTest.java | 745 assertEquals(IkePayload.SPI_LEN_IPSEC, proposal.spiSize);
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeDeletePayload.java | 95 if (spiSize != SPI_LEN_IPSEC in IkeDeletePayload() 97 || inputBuffer.remaining() != SPI_LEN_IPSEC * numSpi) { in IkeDeletePayload() 137 spiSize = SPI_LEN_IPSEC; in IkeDeletePayload()
|
D | IkeNotifyPayload.java | 241 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()
|
D | IkeSaPayload.java | 600 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()
|
D | IkePayload.java | 135 public static final byte SPI_LEN_IPSEC = 4; field in IkePayload
|