Searched refs:getByteBuffer (Results 1 – 4 of 4) sorted by relevance
256 private ByteBuffer getByteBuffer(final byte[] bytes) { in getByteBuffer() method in TcpSocketTrackerTest264 final ByteBuffer buffer = getByteBuffer(SOCK_DIAG_TCP_INET_BYTES); in testParseSockInfo()308 final ByteBuffer headerBuffer = getByteBuffer(SOCK_DIAG_MSG_BYTES); in testPollSocketsInfo()314 final ByteBuffer tcpBuffer = getByteBuffer(TEST_RESPONSE_BYTES); in testPollSocketsInfo()391 ByteBuffer tcpBuffer = getByteBuffer(TEST_RESPONSE_BYTES); in testPollSocketsInfo_BadFormat()398 tcpBuffer = getByteBuffer(BAD_SOCK_DIAG_MSG_BYTES); in testPollSocketsInfo_BadFormat()412 final ByteBuffer tcpBuffer = getByteBuffer(TEST_RESPONSE_BYTES); in testUnMatchNetwork()
46 ByteBuffer buffer = format.getByteBuffer("csd-" + i); in createMediaFormat()
323 writeByteBuffer(out, format.getByteBuffer(key)); in writeFormatByteBuffer()
323 writeByteBuffer(out, mediaFormat.getByteBuffer(key)); in writeFormatByteBuffer()