/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
testutils.h | 45 class ByteBuffer; 66 void WriteToByteBuffer(uint32 in_ssrc, talk_base::ByteBuffer* buf) const; 67 bool ReadFromByteBuffer(talk_base::ByteBuffer* buf); 84 void WriteToByteBuffer(talk_base::ByteBuffer* buf) const; 85 bool ReadFromByteBuffer(talk_base::ByteBuffer* buf);
|
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/ |
RagdollUtils.java | 19 import java.nio.ByteBuffer; 61 ByteBuffer boneIndices = (ByteBuffer) mesh.getBuffer(Type.BoneIndex).getData(); 196 ByteBuffer boneIndices = (ByteBuffer) mesh.getBuffer(Type.BoneIndex).getData();
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
DecoderConfigDescriptor.java | 24 import java.nio.ByteBuffer;
63 public void parseDetail(ByteBuffer bb) throws IOException {
112 public ByteBuffer serialize() {
113 ByteBuffer out = ByteBuffer.allocate(serializedSize());
|
/frameworks/base/core/java/android/nfc/ |
NdefMessage.java | 19 import java.nio.ByteBuffer; 96 ByteBuffer buffer = ByteBuffer.wrap(data); 194 ByteBuffer buffer = ByteBuffer.allocate(length);
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
BassBoostTest.java | 37 import java.nio.ByteBuffer; 210 ByteBuffer converter = ByteBuffer.wrap(valueBuf); 216 ByteBuffer converter = ByteBuffer.wrap(valueBuf);
|
PresetReverbTest.java | 37 import java.nio.ByteBuffer; 236 ByteBuffer converter = ByteBuffer.wrap(valueBuf); 242 ByteBuffer converter = ByteBuffer.wrap(valueBuf);
|
/libcore/luni/src/main/java/java/nio/charset/ |
CharsetEncoderICU.java | 17 import java.nio.ByteBuffer; 130 @Override protected CoderResult implFlush(ByteBuffer out) { 157 @Override protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 196 private int getArray(ByteBuffer out) { 232 private void setPosition(ByteBuffer out) {
|
/libcore/luni/src/test/java/libcore/java/util/ |
BitSetTest.java | 19 import java.nio.ByteBuffer; 105 // Test BitSet.valueOf(ByteBuffer). 106 assertBitSet(BitSet.valueOf(ByteBuffer.wrap(bytes)), bytes, s); 107 // Surround 'bytes' with junk set bits but exclude them from the ByteBuffer. 111 assertBitSet(BitSet.valueOf(ByteBuffer.wrap(paddedBytes, 1, bytes.length)), bytes, s);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
DictDecoder.java | 30 import java.nio.ByteBuffer; 146 * Creates DictionaryBuffer using a ByteBuffer 158 ByteBuffer buffer = null; 201 * Creates DictionaryBuffer using a writable ByteBuffer and a RandomAccessFile. 214 ByteBuffer buffer = null;
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
ClusterChain.java | 25 import java.nio.ByteBuffer; 197 public void readData(long offset, ByteBuffer dest) 235 * an exception, the buffer's {@link ByteBuffer#position() position} will 236 * equal it's {@link ByteBuffer#limit() limit}, and the limit will not 243 public void writeData(long offset, ByteBuffer srcBuf) throws IOException {
|
/libcore/luni/src/main/java/java/nio/channels/ |
DatagramChannel.java | 23 import java.nio.ByteBuffer; 178 public abstract SocketAddress receive(ByteBuffer target) throws IOException; 216 public abstract int send(ByteBuffer source, SocketAddress address) throws IOException; 228 * @see java.nio.channels.ReadableByteChannel#read(java.nio.ByteBuffer) 247 public abstract int read(ByteBuffer target) throws IOException; 259 * @see java.nio.channels.ScatteringByteChannel#read(java.nio.ByteBuffer[], 287 public abstract long read(ByteBuffer[] targets, int offset, int length) 300 * @see java.nio.channels.ScatteringByteChannel#read(java.nio.ByteBuffer[]) 319 public synchronized final long read(ByteBuffer[] targets) 332 * @see java.nio.channels.WritableByteChannel#write(java.nio.ByteBuffer) [all...] |
/packages/apps/Nfc/src/com/android/nfc/handover/ |
HandoverManager.java | 20 import java.nio.ByteBuffer; 296 ByteBuffer payload = ByteBuffer.allocate(nestedPayload.length + 1); 312 ByteBuffer payload = ByteBuffer.allocate(nestedPayload.length + 1); 342 bluetoothData = parseBtOob(ByteBuffer.wrap(oob.getPayload())); 491 ByteBuffer buf = ByteBuffer.wrap(acPayload); 515 BluetoothHandoverData data = parseBtOob(ByteBuffer.wrap(oob.getPayload())); 533 return parseBtOob(ByteBuffer.wrap(r.getPayload())) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
DecoderTest.java | 33 import java.nio.ByteBuffer; 178 ByteBuffer[] codecInputBuffers; 179 ByteBuffer[] codecOutputBuffers; 221 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; 276 ByteBuffer buf = codecOutputBuffers[outputBufIndex]; 526 ByteBuffer[] codecInputBuffers; 527 ByteBuffer[] codecOutputBuffers; 573 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; 724 ByteBuffer[] codecInputBuffers; 725 ByteBuffer[] codecOutputBuffers [all...] |
DecodeEditEncodeTest.java | 31 import java.nio.ByteBuffer; 267 ByteBuffer[] encoderOutputBuffers = encoder.getOutputBuffers(); 324 ByteBuffer encodedData = encoderOutputBuffers[encoderStatus]; 335 // Adjust the ByteBuffer values to match BufferInfo. 391 * If we recognize the decoded format we can do this in Java code using the ByteBuffer[] 463 ByteBuffer[] decoderInputBuffers = decoder.getInputBuffers(); 464 ByteBuffer[] encoderOutputBuffers = encoder.getOutputBuffers(); 488 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; 526 ByteBuffer encodedData = encoderOutputBuffers[encoderStatus]; 550 // the decoder. (The output is going to a Surface, rather than a ByteBuffer, [all...] |
TextureRender.java | 22 import java.nio.ByteBuffer; 85 mTriangleVertices = ByteBuffer.allocateDirect( 255 // glReadPixels gives us a ByteBuffer filled with what is essentially big-endian RGBA 264 // So... we set the ByteBuffer to little-endian, which should turn the bulk IntBuffer 272 ByteBuffer buf = ByteBuffer.allocateDirect(width * height * 4);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
CameraMetadataTest.java | 33 import java.nio.ByteBuffer; 196 ByteBuffer colorCorrectionGainsByteBuffer = 197 ByteBuffer.wrap(colorCorrectionGainsAsByteArray).order(ByteOrder.nativeOrder()); 455 ByteBuffer bf = ByteBuffer.wrap(availableFormatValues).order(ByteOrder.nativeOrder()); 560 ByteBuffer bf = ByteBuffer.wrap(availableFormatValues).order(ByteOrder.nativeOrder()); 568 ByteBuffer availableFormatsByteBuffer = 569 ByteBuffer.wrap(availableFormatsAsByteArray).order(ByteOrder.nativeOrder());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
ServerSocketChannelTest.java | 26 import java.nio.ByteBuffer; 281 ByteBuffer buf = ByteBuffer.allocate(CAPACITY_NORMAL); 320 ByteBuffer buf = ByteBuffer.allocate(CAPACITY_NORMAL); 382 ByteBuffer buf = ByteBuffer.allocate(CAPACITY_64KB); 402 ByteBuffer buffer; 405 public WriteChannelThread(SocketChannel channel, ByteBuffer buffer) { 427 ByteBuffer buf = ByteBuffer.allocate(CAPACITY_64KB) [all...] |
/libcore/luni/src/main/java/java/util/ |
BitSet.java | 23 import java.nio.ByteBuffer; 695 * Equivalent to {@code BitSet.valueOf(ByteBuffer.wrap(bytes))}. 699 return BitSet.valueOf(ByteBuffer.wrap(bytes)); 703 * Returns a {@code BitSet} corresponding to {@code byteBuffer}, interpreted as a little-endian 704 * sequence of bits. This method does not alter the {@code ByteBuffer}. 707 public static BitSet valueOf(ByteBuffer byteBuffer) { 708 byteBuffer = byteBuffer.slice().order(ByteOrder.LITTLE_ENDIAN); 709 long[] longs = arrayForBits(byteBuffer.remaining() * 8) [all...] |
/prebuilts/devtools/tools/lib/ |
fat32lib.jar | |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
DXTFlipper.java | 37 import java.nio.ByteBuffer; 47 private static final ByteBuffer bb = ByteBuffer.allocate(8); 199 public static ByteBuffer flipDXT(ByteBuffer img, int w, int h, Format format){ 229 ByteBuffer retImg = BufferUtils.createByteBuffer(blocksX * blocksY * bpb);
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/ |
DefaultClient.java | 42 import java.nio.ByteBuffer; 69 private ThreadLocal<ByteBuffer> dataBuffer = new ThreadLocal<ByteBuffer>(); 230 ByteBuffer buffer = dataBuffer.get(); 232 buffer = ByteBuffer.allocate( 65536 + 2 ); 245 buffer = ByteBuffer.wrap(temp);
|
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/ |
RenderDeviceJme.java | 57 import java.nio.ByteBuffer;
86 ByteBuffer bb = BufferUtils.createByteBuffer(4 * 4);
191 // ByteBuffer buf = (ByteBuffer) quadColor.getData();
347 ByteBuffer buf = (ByteBuffer) quadColor.getData();
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/ |
FloatToFixed.java | 88 ByteBuffer bb = BufferUtils.createByteBuffer(fb.capacity()); 168 private static void convertToUByte(FloatBuffer input, ByteBuffer output){ 183 ByteBuffer bb = BufferUtils.createByteBuffer(fb.capacity()); 227 private static void convertNormals(FloatBuffer input, ByteBuffer output){ 293 ByteBuffer bb = null; 301 bb = (ByteBuffer) output;
|
/external/replicaisland/src/com/replica/replicaisland/ |
Grid.java | 20 import java.nio.ByteBuffer; 82 mFixedVertexBuffer = ByteBuffer.allocateDirect(FIXED_SIZE * size * 3) 84 mFixedTexCoordBuffer = ByteBuffer.allocateDirect(FIXED_SIZE * size * 2) 93 mFloatVertexBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 3) 95 mFloatTexCoordBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 2) 110 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount)
|
/frameworks/base/media/java/android/media/ |
MediaMuxer.java | 27 import java.nio.ByteBuffer; 45 * ByteBuffer inputBuffer = ByteBuffer.allocate(bufferSize); 97 int trackIndex, ByteBuffer byteBuf, 306 public void writeSampleData(int trackIndex, ByteBuffer byteBuf, 313 throw new IllegalArgumentException("byteBuffer must not be null");
|