/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
OrderedDataOutputStream.java | 22 import java.nio.ByteBuffer; 26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4);
|
/packages/apps/Launcher3/src/com/android/gallery3d/exif/ |
OrderedDataOutputStream.java | 22 import java.nio.ByteBuffer; 26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4);
|
/packages/apps/Mms/src/com/android/mms/exif/ |
OrderedDataOutputStream.java | 22 import java.nio.ByteBuffer; 26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4);
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
GZIPSerializer.java | 41 import java.nio.ByteBuffer; 53 public <T> T readObject(ByteBuffer data, Class<T> c) throws IOException { 72 result.setMessage((Message)Serializer.readClassAndObject(ByteBuffer.wrap(out.toByteArray()))); 81 public void writeObject(ByteBuffer buffer, Object object) throws IOException { 85 ByteBuffer tempBuffer = ByteBuffer.allocate(512000);
|
ZIPSerializer.java | 41 import java.nio.ByteBuffer; 54 public <T> T readObject(ByteBuffer data, Class<T> c) throws IOException { 78 result.setMessage((Message)Serializer.readClassAndObject(ByteBuffer.wrap(out.toByteArray()))); 87 public void writeObject(ByteBuffer buffer, Object object) throws IOException { 92 ByteBuffer tempBuffer = ByteBuffer.allocate(512000);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
SilenceTrackImpl.java | 8 import java.nio.ByteBuffer; 19 List<ByteBuffer> samples = new LinkedList<ByteBuffer>(); 31 samples.add((ByteBuffer) ByteBuffer.wrap(new byte[]{ 74 public List<ByteBuffer> getSamples() {
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/ |
ProtectionSpecificHeader.java | 14 import java.nio.ByteBuffer; 22 ByteBuffer data; 38 public static ProtectionSpecificHeader createFor(UUID systemId, ByteBuffer bufferWrapper) { 57 public void parse(ByteBuffer buffer) { 62 public ByteBuffer getData() { 71 ByteBuffer data = getData().duplicate();
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
Box.java | 23 import java.nio.ByteBuffer; 50 void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException;
|
FreeBox.java | 26 import java.nio.ByteBuffer; 40 ByteBuffer data; 48 this.data = ByteBuffer.allocate(size); 52 public ByteBuffer getData() { 56 public void setData(ByteBuffer data) { 64 ByteBuffer header = ByteBuffer.allocate(8); 95 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException {
|
/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 {
|
BaseDescriptor.java | 22 import java.nio.ByteBuffer;
65 public final void parse(int tag, ByteBuffer bb) throws IOException {
79 ByteBuffer detailSource = bb.slice();
86 public abstract void parseDetail(ByteBuffer bb) throws IOException;
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
Chunk.java | 19 import java.nio.ByteBuffer; 53 * Construct from a ByteBuffer. The chunk is assumed to start at 56 public Chunk(int type, ByteBuffer buf) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/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/nio/tests/java/nio/channels/ |
SocketChannelTest.java | 32 import java.nio.ByteBuffer; 130 java.nio.ByteBuffer[] buf = new java.nio.ByteBuffer[1]; 131 buf[0] = java.nio.ByteBuffer.allocateDirect(CAPACITY_NORMAL); 162 * Test method for 'java.nio.channels.SocketChannel.read(ByteBuffer[])' 165 java.nio.ByteBuffer[] byteBuf = null; 178 byteBuf = new java.nio.ByteBuffer[CAPACITY_NORMAL]; 197 * Test method for 'java.nio.channels.SocketChannel.read(ByteBuffer[])' 200 java.nio.ByteBuffer[] byteBuf = null; 225 * Test method for 'java.nio.channels.SocketChannel.write(ByteBuffer[])' [all...] |
/libcore/luni/src/test/java/libcore/java/nio/ |
BufferTest.java | 27 private static ByteBuffer allocateMapped(int size) throws Exception { 95 testByteSwappedBulkGet(ByteBuffer.allocateDirect(10)); 99 testByteSwappedBulkGet(ByteBuffer.allocate(10)); 106 private void testByteSwappedBulkGet(ByteBuffer b) throws Exception { 179 private static String toString(ByteBuffer b) { 188 testByteSwappedBulkPut(ByteBuffer.allocateDirect(10)); 192 testByteSwappedBulkPut(ByteBuffer.allocate(10)); 199 private void testByteSwappedBulkPut(ByteBuffer b) throws Exception { 241 testByteBufferByteOrder(ByteBuffer.allocateDirect(10), false); 245 testByteBufferByteOrder(ByteBuffer.allocate(10), false) [all...] |
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
stun.h | 38 #include "talk/base/bytebuffer.h" 141 bool Read(talk_base::ByteBuffer* buf); 145 void Write(talk_base::ByteBuffer* buf) const; 168 virtual bool Read(talk_base::ByteBuffer* buf) = 0; 172 virtual void Write(talk_base::ByteBuffer* buf) const = 0; 214 bool Read(talk_base::ByteBuffer* buf); 215 void Write(talk_base::ByteBuffer* buf) const; 241 bool Read(talk_base::ByteBuffer* buf); 242 void Write(talk_base::ByteBuffer* buf) const; 264 bool Read(talk_base::ByteBuffer* buf) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
NinePatchChunk.java | 21 import java.nio.ByteBuffer; 37 private static void readIntArray(int[] data, ByteBuffer buffer) { 50 ByteBuffer byteBuffer = 51 ByteBuffer.wrap(data).order(ByteOrder.nativeOrder()); 53 byte wasSerialized = byteBuffer.get(); 57 chunk.mDivX = new int[byteBuffer.get()]; 58 chunk.mDivY = new int[byteBuffer.get()]; 59 chunk.mColor = new int[byteBuffer.get()]; 65 byteBuffer.getInt() [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/ |
ConnectorAdapter.java | 40 import java.nio.ByteBuffer; 70 private BlockingQueue<ByteBuffer> outbound; 95 outbound = new ArrayBlockingQueue<ByteBuffer>(OUTBOUND_BACKLOG); 136 public void write( ByteBuffer data ) 159 ByteBuffer buffer = connector.read(); 195 private void write( ByteBuffer data ) 208 ByteBuffer data = outbound.take();
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
ByteBuffer.java | 24 public class ByteBuffer 37 public ByteBuffer(int initialCapacity) 45 * @param buffer a byte array that will be wrapped with <code>ByteBuffer</code>. 47 public ByteBuffer(byte[] buffer) 55 * @param buffer a byte array that will be wrapped with <code>ByteBuffer</code>. 58 public ByteBuffer(byte[] buffer, int length) 75 public ByteBuffer(InputStream in) throws IOException 99 * @param buffer a byte array that will be wrapped with <code>ByteBuffer</code>. 103 public ByteBuffer(byte[] buffer, int offset, int length) 216 * @param anotherBuffer another <code>ByteBuffer</code [all...] |