/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeDeletePayloadTest.java | 197 ByteBuffer bb = ByteBuffer.allocate(deletePayload.getPayloadLength()); in testEncodeForIke() 209 ByteBuffer bb = ByteBuffer.allocate(deletePayload.getPayloadLength()); in testEncodeWithSingleChildSa() 225 ByteBuffer bb = ByteBuffer.allocate(deletePayload.getPayloadLength()); in testEncodeWithMultipleChildSas() 239 assertEquals(expectedPayloadBytes.length, deletePayload.getPayloadLength()); in testPayloadLengthForIke() 249 assertEquals(expectedPayloadBytes.length, deletePayload.getPayloadLength()); in testPayloadLengthWithSingleChildSa() 262 assertEquals(expectedPayloadBytes.length, deletePayload.getPayloadLength()); in testPayloadLengthWithMultipleChildSas()
|
D | IkeIdPayloadTest.java | 211 ByteBuffer inputBuffer = ByteBuffer.allocate(payload.getPayloadLength()); in testConstructAndEncodeIpv4AddrIdPayload() 224 ByteBuffer inputBuffer = ByteBuffer.allocate(payload.getPayloadLength()); in testConstructAndEncodeIpv6AddrIdPayload() 237 ByteBuffer inputBuffer = ByteBuffer.allocate(payload.getPayloadLength()); in testConstructAndEncodeFqdnIdPayload() 250 ByteBuffer inputBuffer = ByteBuffer.allocate(payload.getPayloadLength()); in testConstructAndEncodeRfc822AddrIdPayload() 262 ByteBuffer inputBuffer = ByteBuffer.allocate(payload.getPayloadLength()); in testConstructAndEncodeKeyIdPayload() 275 ByteBuffer inputBuffer = ByteBuffer.allocate(payload.getPayloadLength()); in testConstructAndEncodeDerAsn1DnIdPayload()
|
D | IkeNoncePayloadTest.java | 42 ByteBuffer byteBuffer = ByteBuffer.allocate(payload.getPayloadLength()); in testEncode()
|
D | IkeEapPayloadTest.java | 66 assertEquals(IKE_EAP_PAYLOAD.length, ikeEapPayload.getPayloadLength()); in testGetPayloadLength()
|
D | IkeCertReqPayloadTest.java | 69 assertEquals(CERT_REQ_PAYLOAD.length, certPayload.getPayloadLength()); in testEncode()
|
D | IkeSkPayloadTest.java | 101 int payloadLength = payload.getPayloadLength(); in testEncode()
|
D | IkeCertX509CertPayloadTest.java | 108 ByteBuffer buffer = ByteBuffer.allocate(certPayload.getPayloadLength()); in testEncodeX509Certificate()
|
D | IkeAuthPskPayloadTest.java | 97 int payloadLength = payload.getPayloadLength(); in testBuildOutboundIkeAuthPskPayload()
|
D | IkeTsPayloadTest.java | 95 ByteBuffer byteBuffer = ByteBuffer.allocate(tsPayload.getPayloadLength()); in testBuildAndEncodeTsPayload()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeIdPayload.java | 120 ByteBuffer byteBuffer = ByteBuffer.allocate(getPayloadLength() - GENERIC_HEADER_LENGTH); in getEncodedPayloadBody() 143 encodePayloadHeaderToByteBuffer(nextPayload, getPayloadLength(), byteBuffer); in encodeToByteBuffer() 153 protected int getPayloadLength() { in getPayloadLength() method in IkeIdPayload
|
D | IkeEapPayload.java | 70 encodePayloadHeaderToByteBuffer(nextPayload, getPayloadLength(), byteBuffer); in encodeToByteBuffer() 80 protected int getPayloadLength() { in getPayloadLength() method in IkeEapPayload
|
D | IkeCertReqPayload.java | 73 encodePayloadHeaderToByteBuffer(nextPayload, getPayloadLength(), byteBuffer); in encodeToByteBuffer() 84 protected int getPayloadLength() { in getPayloadLength() method in IkeCertReqPayload
|
D | IkeCertX509CertPayload.java | 79 encodePayloadHeaderToByteBuffer(nextPayload, getPayloadLength(), byteBuffer); in encodeToByteBuffer() 95 protected int getPayloadLength() { in getPayloadLength() method in IkeCertX509CertPayload
|
D | IkeDeletePayload.java | 150 encodePayloadHeaderToByteBuffer(nextPayload, getPayloadLength(), byteBuffer); in encodeToByteBuffer() 164 protected int getPayloadLength() { in getPayloadLength() method in IkeDeletePayload
|
D | IkeTsPayload.java | 119 encodePayloadHeaderToByteBuffer(nextPayload, getPayloadLength(), byteBuffer); in encodeToByteBuffer() 133 protected int getPayloadLength() { in getPayloadLength() method in IkeTsPayload
|
D | IkeAuthPayload.java | 116 encodePayloadHeaderToByteBuffer(nextPayload, getPayloadLength(), byteBuffer); in encodeToByteBuffer() 122 protected int getPayloadLength() { in getPayloadLength() method in IkeAuthPayload
|
D | IkeSkPayload.java | 184 encodePayloadHeaderToByteBuffer(nextPayload, getPayloadLength(), byteBuffer); in encodeToByteBuffer() 194 protected int getPayloadLength() { in getPayloadLength() method in IkeSkPayload
|
D | IkeSkfPayload.java | 149 encodePayloadHeaderToByteBuffer(nextPayload, getPayloadLength(), byteBuffer); in encodeToByteBuffer() 162 protected int getPayloadLength() { in getPayloadLength() method in IkeSkfPayload
|
D | IkeMessage.java | 247 payloadLengthSum += payload.getPayloadLength(); in encodePayloads() 463 int msgLen = IkeHeader.IKE_HEADER_LENGTH + skPayload.getPayloadLength(); in encryptAndEncode() 538 ByteBuffer.allocate(IkeHeader.IKE_HEADER_LENGTH + skPayload.getPayloadLength()); in encodeHeaderAndBody() 539 ikeHeader.encodeToByteBuffer(outputBuffer, skPayload.getPayloadLength()); in encodeHeaderAndBody()
|
D | IkeKePayload.java | 227 encodePayloadHeaderToByteBuffer(nextPayload, getPayloadLength(), byteBuffer); in encodeToByteBuffer() 240 protected int getPayloadLength() { in getPayloadLength() method in IkeKePayload
|
D | IkeNotifyPayload.java | 330 encodePayloadHeaderToByteBuffer(nextPayload, getPayloadLength(), byteBuffer); in encodeToByteBuffer() 344 protected int getPayloadLength() { in getPayloadLength() method in IkeNotifyPayload
|
D | IkeUnsupportedPayload.java | 57 protected int getPayloadLength() { in getPayloadLength() method in IkeUnsupportedPayload
|
D | IkeVendorPayload.java | 63 protected int getPayloadLength() { in getPayloadLength() method in IkeVendorPayload
|
D | IkeNoncePayload.java | 99 protected int getPayloadLength() { in getPayloadLength() method in IkeNoncePayload
|
D | IkePayload.java | 244 protected abstract int getPayloadLength(); in getPayloadLength() method in IkePayload
|