/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/ |
Track.java | 20 import java.nio.ByteBuffer; 54 List<ByteBuffer> getSamples();
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
ExtensionProfileLevelDescriptor.java | 22 import java.nio.ByteBuffer;
36 public void parseDetail(ByteBuffer bb) throws IOException {
|
ProfileLevelIndicationDescriptor.java | 22 import java.nio.ByteBuffer;
35 public void parseDetail( ByteBuffer bb) throws IOException {
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
DisplaySinkService.java | 34 import java.nio.ByteBuffer; 37 private final ByteBuffer mBuffer = ByteBuffer.allocate(12); 52 private ByteBuffer[] mCodecInputBuffers; 91 public void onMessageReceived(int service, int what, ByteBuffer content) { 174 private void decode(ByteBuffer content) { 194 private boolean provideCodecInputLocked(ByteBuffer content) { 202 final ByteBuffer buffer = mCodecInputBuffers[index];
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
DirectCharBufferTest.java | 18 import java.nio.ByteBuffer; 24 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*2).asCharBuffer();
|
DirectDoubleBufferTest.java | 18 import java.nio.ByteBuffer; 23 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*8).asDoubleBuffer();
|
DirectFloatBufferTest.java | 18 import java.nio.ByteBuffer; 23 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*4).asFloatBuffer();
|
DirectIntBufferTest.java | 18 import java.nio.ByteBuffer; 23 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*4).asIntBuffer();
|
DirectLongBufferTest.java | 18 import java.nio.ByteBuffer; 24 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*8).asLongBuffer();
|
DirectShortBufferTest.java | 18 import java.nio.ByteBuffer; 23 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*2).asShortBuffer();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CharsetDecoderTest.java | 19 import java.nio.ByteBuffer; 199 * Class under test for CharBuffer decode(ByteBuffer) 214 CharBuffer out = decoder.decode(ByteBuffer.allocate(0)); 218 ByteBuffer in = getByteBuffer(); 237 ByteBuffer in; 298 * Class under test for CoderResult decode(ByteBuffer, CharBuffer, boolean) 308 void implTestDecodeByteBufferCharBuffer(ByteBuffer in) { 403 void implTestDecodeCharBufferByteBufferUnmappedException(ByteBuffer in, 457 void implTestDecodeCharBufferByteBufferMalformedException(ByteBuffer in, 509 void implTestDecodeCharBufferByteBufferException(ByteBuffer in [all...] |
CharsetEncoder2Test.java | 21 import java.nio.ByteBuffer; 84 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 96 protected CoderResult encodeLoop(CharBuffer arg0, ByteBuffer arg1) { 149 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 155 * Test reserve bytes encode(CharBuffer,ByteBuffer,boolean) 162 ByteBuffer bytes = ByteBuffer.allocate(4); 204 // ByteBuffer buf = <result>
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
OldCharset_SingleByteAbstractTest.java | 18 import java.nio.ByteBuffer; 49 ByteBuffer inputBB = ByteBuffer.wrap(allBytes); 65 ByteBuffer inputBB = ByteBuffer.wrap(input); 90 // ByteBuffer inputBB = ByteBuffer.wrap(allBytes); 106 ByteBuffer outputBB;
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLEngineImplTest.java | 20 import java.nio.ByteBuffer; 379 engine.wrap(ByteBuffer.allocate(0), ByteBuffer.allocate( 454 SSLEngineResult result = engine.wrap(ByteBuffer.allocate(0), 455 ByteBuffer.allocate(20000)); 476 SSLEngineResult result = engine.wrap(ByteBuffer.allocate(0), 477 ByteBuffer.allocate(20000)); 505 ByteBuffer buffer = ByteBuffer.allocate(packetBufferSize); 506 ByteBuffer app_data_buffer = ByteBuffer.allocate(applicationBufferSize) [all...] |
/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/ |
Square.java | 18 import java.nio.ByteBuffer; 50 ByteBuffer bb = ByteBuffer.allocateDirect( 59 ByteBuffer dlb = ByteBuffer.allocateDirect(
|
/external/apache-harmony/x-net/src/test/java/javax/net/ssl/ |
MySSLContextSpi.java | 24 import java.nio.ByteBuffer; 223 public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts, 229 public SSLEngineResult wrap(ByteBuffer[] srcs, int offset, 230 int length, ByteBuffer dst) throws SSLException {
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
Amf0Track.java | 24 import java.nio.ByteBuffer; 52 public List<ByteBuffer> getSamples() { 53 LinkedList<ByteBuffer> samples = new LinkedList<ByteBuffer>(); 55 samples.add(ByteBuffer.wrap(bytes));
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/ |
EC3SpecificBox.java | 7 import java.nio.ByteBuffer; 37 public void _parseDetails(ByteBuffer content) { 64 public void getContent(ByteBuffer byteBuffer) { 65 BitWriterBuffer bwb = new BitWriterBuffer(byteBuffer);
|
/frameworks/base/core/java/android/hardware/ |
SerialPort.java | 24 import java.nio.ByteBuffer; 87 public int read(ByteBuffer buffer) throws IOException { 105 public void write(ByteBuffer buffer, int length) throws IOException { 125 private native int native_read_direct(ByteBuffer buffer, int length) throws IOException; 127 private native void native_write_direct(ByteBuffer buffer, int length) throws IOException;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
ToGrayValuesFilter.java | 31 import java.nio.ByteBuffer; 87 ByteBuffer grayBuffer; 108 ByteBuffer inputBuffer = inputImage.lockBytes(Frame.MODE_READ); 119 private static native boolean toGrayValues(ByteBuffer imageBuffer, ByteBuffer grayBuffer);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
TrackDecoder.java | 26 import java.nio.ByteBuffer; 50 private ByteBuffer[] mCodecInputBuffers; 51 private ByteBuffer[] mCodecOutputBuffers; 67 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info); 115 ByteBuffer destinationBuffer = mCodecInputBuffers[inputBufferIndex];
|
/libcore/luni/src/main/java/java/nio/ |
DatagramChannelImpl.java | 215 public SocketAddress receive(ByteBuffer target) throws IOException { 245 private SocketAddress receiveImpl(ByteBuffer target, boolean loop) throws IOException { 274 private SocketAddress receiveDirectImpl(ByteBuffer target, boolean loop) throws IOException { 294 public int send(ByteBuffer source, SocketAddress socketAddress) throws IOException { 328 public int read(ByteBuffer target) throws IOException { 345 ByteBuffer readBuffer = ByteBuffer.wrap(readArray); 355 public long read(ByteBuffer[] targets, int offset, int length) throws IOException { 367 ByteBuffer readBuffer = ByteBuffer.allocate(totalCount) [all...] |
DirectByteBuffer.java | 61 @Override public ByteBuffer asReadOnlyBuffer() { 65 @Override public ByteBuffer compact() { 77 @Override public ByteBuffer duplicate() { 81 @Override public ByteBuffer slice() { 111 @Override public final ByteBuffer get(byte[] dst, int dstOffset, int byteCount) { 329 @Override public ByteBuffer put(byte value) { 341 @Override public ByteBuffer put(int index, byte value) { 351 @Override public ByteBuffer put(byte[] src, int srcOffset, int byteCount) { 404 @Override public ByteBuffer putChar(char value) { 418 @Override public ByteBuffer putChar(int index, char value) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/crypto/internal/ |
NullCipherSpi.java | 25 import java.nio.ByteBuffer; 116 public int engineUpdate(ByteBuffer input, ByteBuffer output) 151 public int engineDoFinal(ByteBuffer input, ByteBuffer output)
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MySSLContextSpi.java | 20 import java.nio.ByteBuffer; 148 public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts, 152 public SSLEngineResult wrap(ByteBuffer[] srcs, int offset, 153 int length, ByteBuffer dst) throws SSLException {
|