/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/ |
Connector.java | 35 import java.nio.ByteBuffer; 76 public ByteBuffer read(); 82 public void write( ByteBuffer data );
|
Endpoint.java | 35 import java.nio.ByteBuffer; 73 public void send( ByteBuffer data );
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/ |
GroupEntry.java | 19 import java.nio.ByteBuffer; 22 public abstract void parse(ByteBuffer byteBuffer); 23 public abstract ByteBuffer get();
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
ItemDataBox.java | 5 import java.nio.ByteBuffer; 11 ByteBuffer data = ByteBuffer.allocate(0); 19 public ByteBuffer getData() { 23 public void setData(ByteBuffer data) { 34 public void _parseDetails(ByteBuffer content) { 40 protected void getContent(ByteBuffer byteBuffer) { 41 byteBuffer.put(data);
|
UnknownBox.java | 22 import java.nio.ByteBuffer; 29 ByteBuffer data; 41 public void _parseDetails(ByteBuffer content) { 47 protected void getContent(ByteBuffer byteBuffer) { 49 byteBuffer.put(data); 52 public ByteBuffer getData() { 56 public void setData(ByteBuffer data) {
|
DataEntryUrlBox.java | 21 import java.nio.ByteBuffer; 36 public void _parseDetails(ByteBuffer content) { 42 protected void getContent(ByteBuffer byteBuffer) { 43 writeVersionAndFlags(byteBuffer);
|
NullMediaHeaderBox.java | 18 import java.nio.ByteBuffer; 35 public void _parseDetails(ByteBuffer content) { 40 protected void getContent(ByteBuffer byteBuffer) { 41 writeVersionAndFlags(byteBuffer);
|
SubtitleMediaHeaderBox.java | 3 import java.nio.ByteBuffer; 18 public void _parseDetails(ByteBuffer content) { 23 protected void getContent(ByteBuffer byteBuffer) { 24 writeVersionAndFlags(byteBuffer);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
ColorSpace.java | 18 import java.nio.ByteBuffer; 42 ByteBuffer input, ByteBuffer output, int width, int height) { 61 ByteBuffer input, ByteBuffer output, int width, int height) { 80 ByteBuffer input, ByteBuffer output, int width, int height) { 99 ByteBuffer input, ByteBuffer output, int width, int height) { 105 private static void expectInputSize(ByteBuffer input, int expectedSize) [all...] |
/libcore/harmony-tests/src/test/java/tests/api/java/nio/charset/ |
ASCCharsetDecoderTest.java | 20 import java.nio.ByteBuffer; 45 ByteBuffer getUnmappedByteBuffer() { 48 // ByteBuffer buffer = ByteBuffer.allocate(8); 56 ByteBuffer getMalformedByteBuffer() { 58 ByteBuffer buffer = ByteBuffer.allocate(8); 68 ByteBuffer getExceptionByteArray() throws UnsupportedEncodingException {
|
GBCharsetDecoderTest.java | 20 import java.nio.ByteBuffer; 48 ByteBuffer getUnmappedByteBuffer() throws UnsupportedEncodingException { 52 ByteBuffer getMalformedByteBuffer() throws UnsupportedEncodingException { 53 ByteBuffer buffer = ByteBuffer.allocate(20); 60 ByteBuffer getExceptionByteArray() throws UnsupportedEncodingException {
|
UTF16BECharsetDecoderTest.java | 20 import java.nio.ByteBuffer; 48 ByteBuffer getUnmappedByteBuffer() throws UnsupportedEncodingException { 53 ByteBuffer getMalformedByteBuffer() throws UnsupportedEncodingException { 55 // ByteBuffer buffer = ByteBuffer.allocate(100); 64 ByteBuffer getExceptionByteArray() throws UnsupportedEncodingException { 68 protected ByteBuffer getByteBuffer() { 69 return ByteBuffer.wrap(new byte[] { 0, 32, 0, 98, 0, 117, 0, 102, 0,
|
UTF16LECharsetDecoderTest.java | 20 import java.nio.ByteBuffer; 48 ByteBuffer getUnmappedByteBuffer() throws UnsupportedEncodingException { 53 ByteBuffer getMalformedByteBuffer() throws UnsupportedEncodingException { 55 // ByteBuffer buffer = ByteBuffer.allocate(100); 64 ByteBuffer getExceptionByteArray() throws UnsupportedEncodingException { 68 protected ByteBuffer getByteBuffer() { 69 return ByteBuffer.wrap(new byte[] { 32, 0, 98, 0, 117, 0, 102, 0, 102,
|
UTFCharsetDecoderTest.java | 20 import java.nio.ByteBuffer; 48 ByteBuffer getUnmappedByteBuffer() throws UnsupportedEncodingException { 52 ByteBuffer getMalformedByteBuffer() throws UnsupportedEncodingException { 53 ByteBuffer buffer = ByteBuffer.allocate(getByteBuffer().remaining() + 1); 60 ByteBuffer getExceptionByteArray() throws UnsupportedEncodingException { 68 protected ByteBuffer getByteBuffer() { 69 return ByteBuffer.wrap(new byte[] { 32, 98, 117, 102, 102, 101, 114,
|
ISOCharsetDecoderTest.java | 20 import java.nio.ByteBuffer; 46 ByteBuffer getUnmappedByteBuffer() throws UnsupportedEncodingException { 52 ByteBuffer getMalformedByteBuffer() throws UnsupportedEncodingException { 57 ByteBuffer getExceptionByteArray() throws UnsupportedEncodingException {
|
/libcore/luni/src/main/java/java/nio/channels/ |
ReadableByteChannel.java | 20 import java.nio.ByteBuffer; 65 public int read(ByteBuffer buffer) throws IOException;
|
WritableByteChannel.java | 20 import java.nio.ByteBuffer; 63 public int write(ByteBuffer buffer) throws IOException;
|
GatheringByteChannel.java | 20 import java.nio.ByteBuffer; 56 public long write(ByteBuffer[] buffers) throws IOException; 93 public long write(ByteBuffer[] buffers, int offset, int length)
|
ScatteringByteChannel.java | 20 import java.nio.ByteBuffer; 52 public long read(ByteBuffer[] buffers) throws IOException; 88 public long read(ByteBuffer[] buffers, int offset, int length)
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
MetadataMarshalClass.java | 19 import java.nio.ByteBuffer; 34 int marshal(T value, ByteBuffer buffer, int nativeType, boolean sizeOnly); 44 T unmarshal(ByteBuffer buffer, int nativeType);
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/ |
BlockDevice.java | 23 import java.nio.ByteBuffer; 48 public abstract void read(long devOffset, ByteBuffer dest) 55 * @param src the source {@code ByteBuffer} to write to the device 62 public abstract void write(long devOffset, ByteBuffer src)
|
FsFile.java | 23 import java.nio.ByteBuffer; 53 * Reads from this file into the specified {@code ByteBuffer}. The 55 * {@link ByteBuffer#position() position}, and the number of bytes read 56 * will equal the buffer's {@link ByteBuffer#remaining() remaining} bytes. 62 public void read(long offset, ByteBuffer dest) throws IOException; 66 * {@code ByteBuffer}. This method will read the buffer's 67 * {@link ByteBuffer#remaining() remaining} bytes starting at it's 68 * {@link ByteBuffer#position() position}. 76 public void write(long offset, ByteBuffer src)
|
/libcore/luni/src/test/java/libcore/java/nio/ |
NoArrayTest.java | 19 import java.nio.ByteBuffer; 26 assertNoArray(ByteBuffer.wrap(new byte[32]).asReadOnlyBuffer()); 27 assertNoArray(ByteBuffer.allocate(32).asReadOnlyBuffer()); 28 assertNoArray(ByteBuffer.allocateDirect(32).asReadOnlyBuffer()); 31 private void assertNoArray(ByteBuffer buf) {
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
ByteBufferHelper.java | 18 import java.nio.ByteBuffer; 27 public static List<ByteBuffer> mergeAdjacentBuffers(List<ByteBuffer> samples) { 28 ArrayList<ByteBuffer> nuSamples = new ArrayList<ByteBuffer>(samples.size()); 29 for (ByteBuffer buffer : samples) { 33 ByteBuffer oldBuffer = nuSamples.remove(lastIndex); 34 ByteBuffer nu = ByteBuffer.wrap(buffer.array(), oldBuffer.arrayOffset(), oldBuffer.limit() + buffer.limit()).slice(); 41 ByteBuffer oldBuffer = nuSamples.get(lastIndex) [all...] |
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
BufferPool.java | 19 import java.nio.ByteBuffer; 28 private final ByteBuffer[] mBuffers; 35 mBuffers = new ByteBuffer[maxBuffers]; 38 public ByteBuffer acquire(int needed) { 48 return ByteBuffer.allocate(chooseCapacity(mInitialBufferSize, needed)); 59 public void release(ByteBuffer buffer) { 67 public ByteBuffer grow(ByteBuffer buffer, int needed) { 70 final ByteBuffer oldBuffer = buffer; 72 buffer = ByteBuffer.allocate(capacity) [all...] |