HomeSort by relevance Sort by last modified time
    Searched refs:ByteBuffer (Results 1 - 25 of 1144) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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();
  /packages/apps/Camera2/src/com/android/camera/processing/memory/
ByteBufferDirectPool.java 19 import java.nio.ByteBuffer;
23 * represents the size of the bytebuffer.
25 public final class ByteBufferDirectPool extends SimpleLruResourcePool<Integer, ByteBuffer> {
31 protected ByteBuffer create(Integer bytes) {
32 return ByteBuffer.allocateDirect(bytes);
36 protected ByteBuffer recycle(Integer integer, ByteBuffer byteBuffer) {
38 byteBuffer.rewind();
39 byteBuffer.limit(byteBuffer.capacity())
    [all...]
  /libcore/ojluni/src/main/java/sun/nio/
ByteBuffered.java 28 import java.nio.ByteBuffer;
31 /** This is an interface to adapt existing APIs to use {@link java.nio.ByteBuffer
37 * the underlying data structure, it can create a class of InputStream that wraps the ByteBuffer,
45 * Returns the <tt>ByteBuffer</tt> behind this object, if this particular
49 * @return The <tt>ByteBuffer</tt>, if this particular instance has one,
53 * If the ByteBuffer is no longer valid.
57 public ByteBuffer getByteBuffer() throws IOException;
  /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/org/apache/harmony/tests/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 {
  /external/jetty/src/java/org/eclipse/jetty/io/nio/
NIOBuffer.java 21 import java.nio.ByteBuffer;
33 public ByteBuffer getByteBuffer();
  /libcore/ojluni/src/main/java/java/nio/channels/
ReadableByteChannel.java 29 import java.nio.ByteBuffer;
106 public int read(ByteBuffer dst) throws IOException;
WritableByteChannel.java 29 import java.nio.ByteBuffer;
103 public int write(ByteBuffer src) throws IOException;
GatheringByteChannel.java 29 import java.nio.ByteBuffer;
127 public long write(ByteBuffer[] srcs, int offset, int length)
164 public long write(ByteBuffer[] srcs) throws IOException;
ScatteringByteChannel.java 29 import java.nio.ByteBuffer;
123 public long read(ByteBuffer[] dsts, int offset, int length)
160 public long read(ByteBuffer[] dsts) throws IOException;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
SSLEngineTest.java 21 import java.nio.ByteBuffer;
304 * javax.net.ssl.SSLEngine#unwrap(ByteBuffer src, ByteBuffer[] dsts,
312 ByteBuffer bbs = ByteBuffer.wrap(new byte[] {1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,31,2,3,1,2,3,1,2,3,1,2,3});
313 ByteBuffer bbd = ByteBuffer.allocate(100);
315 clientEngine.engine.unwrap(bbs, new ByteBuffer[] { bbd }, 0, 1);
322 * javax.net.ssl.SSLEngine#unwrap(ByteBuffer src, ByteBuffer[] dsts
    [all...]
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/ac3/
Ac3Decoder.java 19 import java.nio.ByteBuffer;
29 void decodeDone(ByteBuffer resultBuffer, long presentationTimeUs);
42 public abstract void decode(ByteBuffer inputBuffer, long presentationTimeUs);
  /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) {

Completed in 1831 milliseconds

1 2 3 4 5 6 7 8 91011>>