/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
ObjectDescriptorFactory.java | 23 import java.nio.ByteBuffer;
158 public static BaseDescriptor createFrom(int objectTypeIndication, ByteBuffer bb) throws IOException {
|
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/ |
TestLatencyView.java | 26 import java.nio.ByteBuffer; 88 mTriangleVertices = ByteBuffer.allocateDirect(mTriangleVerticesData.length * 4)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
AbstractBufferTest.java | 20 import java.nio.ByteBuffer; 34 baseBuf = ByteBuffer.allocate(10);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapTest.java | 36 import java.nio.ByteBuffer; 127 mBitmap.copyPixelsToBuffer(ByteBuffer.allocate(tooSmall)); 133 ByteBuffer byteBuf = ByteBuffer.allocate(pixSize); 140 mBitmap.copyPixelsToBuffer(ByteBuffer.allocate(tooSmall)); 153 mBitmap.copyPixelsToBuffer(ByteBuffer.allocate(tooSmall));
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaCodecTest.java | 35 import java.nio.ByteBuffer; 305 ByteBuffer buffer = mediaCodec.getInputBuffers()[bufferIndex]; 606 ByteBuffer[] inputBuffers = encoder.getInputBuffers(); 607 ByteBuffer source = ByteBuffer.allocate(inputBuffers[0].capacity()); 622 ByteBuffer inputBuffer = inputBuffers[inputIndex];
|
Vp8EncoderTest.java | 31 import java.nio.ByteBuffer; 51 private ByteBuffer[] mInputBuffers; 52 private ByteBuffer[] mOutputBuffers;
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
port_unittest.cc | 52 using talk_base::ByteBuffer; 105 ByteBuffer buf; 111 static bool WriteStunMessage(const StunMessage* msg, ByteBuffer* buf) { 133 ByteBuffer* last_stun_buf() { return last_stun_buf_.get(); } 178 ByteBuffer* buf = new ByteBuffer(static_cast<const char*>(data), size); 179 ByteBuffer::ReadPosition pos(buf->GetReadPosition()); 209 talk_base::scoped_ptr<ByteBuffer> last_stun_buf_; [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
MediaImageItem.java | 37 import java.nio.ByteBuffer; 185 final ByteBuffer byteBuffer = ByteBuffer.allocate(framingBuffer.length * 4); 187 final byte[] array = byteBuffer.array(); 192 intBuffer = byteBuffer.asIntBuffer(); [all...] |
MediaItem.java | 28 import java.nio.ByteBuffer; 768 ByteBuffer byteBuffer = ByteBuffer.allocate(framingBuffer.length * 4); 771 byte[] array = byteBuffer.array(); 774 intBuffer = byteBuffer.asIntBuffer();
|
/libcore/luni/src/main/java/java/nio/charset/ |
Charset.java | 21 import java.nio.ByteBuffer; 429 * Returns a new {@code ByteBuffer} containing the bytes encoding the characters from 440 public final ByteBuffer encode(CharBuffer buffer) { 452 * Returns a new {@code ByteBuffer} containing the bytes encoding the characters from {@code s}. 461 public final ByteBuffer encode(String s) { 476 public final CharBuffer decode(ByteBuffer buffer) {
|
/libcore/luni/src/main/java/javax/crypto/ |
CipherSpi.java | 20 import java.nio.ByteBuffer; 331 protected int engineUpdate(ByteBuffer input, ByteBuffer output) 410 protected void engineUpdateAAD(ByteBuffer input) { 514 protected int engineDoFinal(ByteBuffer input, ByteBuffer output)
|
/libcore/luni/src/test/java/libcore/java/nio/ |
OldAndroidNIOTest.java | 22 import java.nio.ByteBuffer; 42 byteBufferTest(ByteBuffer.allocate(12)); 47 byteBufferTest(ByteBuffer.allocateDirect(12)); 71 private void byteBufferTest(ByteBuffer b) { 76 ByteBuffer dupe = b.duplicate(); 201 ByteBuffer bb = b.slice();
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
Mesh.java | 359 ByteBuffer originalIndex = (ByteBuffer) indices.getData(); 360 ByteBuffer arrayIndex = ByteBuffer.allocate(originalIndex.capacity()); 593 ByteBuffer dataBuf = BufferUtils.createByteBuffer(stride * getVertexCount()); 612 ByteBuffer bb = (ByteBuffer) vb.getData(); [all...] |
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/ |
LwjglGL1Renderer.java | 43 private final ByteBuffer nameBuf = BufferUtils.createByteBuffer(250); 761 List<ByteBuffer> data = img.getData(); 771 List<ByteBuffer> data = img.getData(); [all...] |
/external/lzma/CPP/7zip/Archive/7z/ |
7zIn.cpp | 144 void Set(CInArchive *archive, const CByteBuffer &byteBuffer);
165 void CStreamSwitch::Set(CInArchive *archive, const CByteBuffer &byteBuffer)
167 Set(archive, byteBuffer, byteBuffer.GetCapacity());
316 CByteBuffer byteBuffer;
318 byteBuffer.SetCapacity(kBufferSize);
319 Byte *buffer = byteBuffer;
[all...] |
/frameworks/base/media/java/android/media/audiofx/ |
AudioEffect.java | 28 import java.nio.ByteBuffer; [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
MediaAudioEffectTest.java | 40 import java.nio.ByteBuffer; [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothSocket.java | 38 import java.nio.ByteBuffer; 484 ByteBuffer bb = ByteBuffer.wrap(sig); 518 ByteBuffer bb = ByteBuffer.wrap(ibytes);
|
/frameworks/base/core/java/android/nfc/tech/ |
MifareClassic.java | 26 import java.nio.ByteBuffer; 476 ByteBuffer cmd = ByteBuffer.allocate(6); 504 ByteBuffer cmd = ByteBuffer.allocate(6);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapAppParams.java | 18 import java.nio.ByteBuffer; 163 ByteBuffer appParamBuf = ByteBuffer.wrap(appParams); 388 ByteBuffer appParamBuf = ByteBuffer.allocate(getParamMaxLength()); [all...] |
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/metadata/ |
id3_parser.js | 257 * Reads last 128 bytes of file in bytebuffer, 268 * Attempts to extract ID3v1 tag from 128 bytes long ByteBuffer 335 * Extracts all ID3v2 frames from given bytebuffer.
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/ |
Converter.java | 41 import java.nio.ByteBuffer; 228 jBulletIndexedMesh.triangleIndexBase = ByteBuffer.allocate(mesh.getTriangleCount() * 3 * 4); 229 jBulletIndexedMesh.vertexBase = ByteBuffer.allocate(mesh.getVertexCount() * 3 * 4);
|
/frameworks/base/core/java/com/android/internal/util/ |
FastPrintWriter.java | 10 import java.nio.ByteBuffer; 49 final private ByteBuffer mBytes; 109 mBytes = ByteBuffer.allocate(mBufferLen);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
ExifOutputStream.java | 25 import java.nio.ByteBuffer; 82 private ByteBuffer mBuffer = ByteBuffer.allocate(4);
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
SinkActivity.java | 46 import java.nio.ByteBuffer; 85 private final ByteBuffer mHidBuffer = ByteBuffer.allocate(4096);
|