Home
last modified time | relevance | path

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

/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/block/
DBlockFileTest.java64 bfw.addBlock(1111, block1ExtraBytes, new BlockData(getByteBuffer(block1DataBytes))); in testReadWrite()
65 bfw.addBlock(2222, block2ExtraBytes, new BlockData(getByteBuffer(block2DataBytes))); in testReadWrite()
106 bfw.addBlock(1111, blockInfoExtraBytes, new BlockData(getByteBuffer(block1DataBytes))); in blockIdBounds()
107 bfw.addBlock(2222, blockInfoExtraBytes, new BlockData(getByteBuffer(block2DataBytes))); in blockIdBounds()
131 bfw.addBlock(1111, block1ExtraBytes, new BlockData(getByteBuffer(block1DataBytes))); in visit()
132 bfw.addBlock(2222, block2ExtraBytes, new BlockData(getByteBuffer(block2DataBytes))); in visit()
161 private static ByteBuffer getByteBuffer(byte[] block1DataBytes) { in getByteBuffer() method in BlockFileTest
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/
DTcpSocketTrackerTest.java255 private ByteBuffer getByteBuffer(final byte[] bytes) { in getByteBuffer() method in TcpSocketTrackerTest
263 final ByteBuffer buffer = getByteBuffer(SOCK_DIAG_TCP_INET_BYTES); in testParseSockInfo()
307 final ByteBuffer headerBuffer = getByteBuffer(SOCK_DIAG_MSG_BYTES); in testPollSocketsInfo()
313 final ByteBuffer tcpBuffer = getByteBuffer(TEST_RESPONSE_BYTES); in testPollSocketsInfo()
390 ByteBuffer tcpBuffer = getByteBuffer(TEST_RESPONSE_BYTES); in testPollSocketsInfo_BadFormat()
397 tcpBuffer = getByteBuffer(BAD_SOCK_DIAG_MSG_BYTES); in testPollSocketsInfo_BadFormat()
411 final ByteBuffer tcpBuffer = getByteBuffer(TEST_RESPONSE_BYTES); in testUnMatchNetwork()
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/block/read/
DBlockDataTest.java52 public void getByteBuffer() throws IOException { in getByteBuffer() method in BlockDataTest
65 ByteBuffer byteBuffer = blockData.getByteBuffer(); in getByteBuffer()
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/block/read/
DBlockData.java47 public ByteBuffer getByteBuffer() { in getByteBuffer() method in BlockData
/packages/apps/TV/tuner/src/com/google/android/exoplayer/
DMediaFormatUtil.java46 ByteBuffer buffer = format.getByteBuffer("csd-" + i); in createMediaFormat()
/packages/modules/GeoTZ/s2storage/src/write/java/com/android/timezone/location/storage/block/write/
DBlockFileWriter.java167 ByteBuffer byteBuffer = blockData.getByteBuffer(); in copyAll()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DFileSampleExtractor.java154 ByteBuffer buffer = mediaFormat.getByteBuffer("csd-" + i); in createFormat()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DDvrStorageManager.java323 writeByteBuffer(out, format.getByteBuffer(key)); in writeFormatByteBuffer()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DDvrStorageManager.java323 writeByteBuffer(out, mediaFormat.getByteBuffer(key)); in writeFormatByteBuffer()