Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/
DIkeProtocolException.java101 private static final int INTEGER_BYTE_SIZE = 4; field in IkeProtocolException
159 if (arraySize > INTEGER_BYTE_SIZE) { in integerToByteArray()
164 ByteBuffer dataBuffer = ByteBuffer.allocate(INTEGER_BYTE_SIZE); in integerToByteArray()
168 byte[] zeroPad = new byte[INTEGER_BYTE_SIZE - arraySize]; in integerToByteArray()
177 if (byteArray == null || byteArray.length > INTEGER_BYTE_SIZE) { in byteArrayToInteger()
181 ByteBuffer dataBuffer = ByteBuffer.allocate(INTEGER_BYTE_SIZE); in byteArrayToInteger()
182 byte[] zeroPad = new byte[INTEGER_BYTE_SIZE - byteArray.length]; in byteArrayToInteger()