/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/ |
Mp4TrackImpl.java | 22 import java.nio.ByteBuffer; 33 private List<ByteBuffer> samples; 173 public List<ByteBuffer> getSamples() {
|
/frameworks/base/media/jni/ |
android_media_MediaMuxer.cpp | 84 // Try to convert the incoming byteBuffer into ABuffer 236 { "nativeWriteSampleData", "(IILjava/nio/ByteBuffer;IIJI)V", 261 jclass byteBufClass = env->FindClass("java/nio/ByteBuffer");
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
RgbPlayerActivity.java | 25 import java.nio.ByteBuffer; 79 private ByteBuffer mFlipBuf; 131 mFlipBuf = ByteBuffer.allocate(mBytesPerImage);
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
UsbHid.java | 19 import java.nio.ByteBuffer; 45 public void generateDescriptor(ByteBuffer buffer) { 100 public void generateReport(ByteBuffer buffer, Contact[] contacts, int contactCount) {
|
/frameworks/native/opengl/tests/lighting1709/src/com/android/lightingtest/ |
ClearActivity.java | 19 import java.nio.ByteBuffer; 109 ByteBuffer vbb = ByteBuffer.allocateDirect(v.length*4);
|
/libcore/luni/src/main/java/java/nio/channels/ |
SocketChannel.java | 23 import java.nio.ByteBuffer; 254 * @see java.nio.channels.ReadableByteChannel#read(java.nio.ByteBuffer) 256 public abstract int read(ByteBuffer target) throws IOException; 290 * @see java.nio.channels.ScatteringByteChannel#read(java.nio.ByteBuffer[], 293 public abstract long read(ByteBuffer[] targets, int offset, int length) throws IOException; 324 public synchronized final long read(ByteBuffer[] targets) throws IOException { 355 * @see java.nio.channels.WritableByteChannel#write(java.nio.ByteBuffer) 357 public abstract int write(ByteBuffer source) throws IOException; 393 * @see java.nio.channels.GatheringByteChannel#write(java.nio.ByteBuffer[], 396 public abstract long write(ByteBuffer[] sources, int offset, int length) throws IOException [all...] |
/libcore/luni/src/main/java/java/security/ |
MessageDigestSpi.java | 20 import java.nio.ByteBuffer; 70 * the {@code ByteBuffer}. 72 protected void engineUpdate(ByteBuffer input) {
|
SecureClassLoader.java | 20 import java.nio.ByteBuffer; 115 protected final Class<?> defineClass(String name, ByteBuffer b, CodeSource cs) { 116 //FIXME 1.5 - remove b.array(), call super.defineClass(,ByteBuffer,)
|
/libcore/luni/src/test/java/libcore/java/io/ |
InterruptedStreamTest.java | 29 import java.nio.ByteBuffer; 145 channel.read(ByteBuffer.allocate(BUFFER_SIZE)); 184 channel.write(ByteBuffer.allocate(BUFFER_SIZE));
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
SignatureSpiTest.java | 5 import java.nio.ByteBuffer; 292 protected void engineUpdate(ByteBuffer input) { 391 signature.update(ByteBuffer.wrap("Hello".getBytes()));
|
/packages/apps/Nfc/src/com/android/nfc/snep/ |
SnepMessage.java | 25 import java.nio.ByteBuffer; 79 ByteBuffer input = ByteBuffer.wrap(data);
|
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
SurfaceTextureView.java | 13 import java.nio.ByteBuffer; 164 mTextureVertices = ByteBuffer.allocateDirect(TEXTURE_VERTICES.length * 167 mQuadVertices = ByteBuffer.allocateDirect(QUAD_VERTICES.length *
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/ |
MultiTouchChannel.java | 27 import java.nio.ByteBuffer; 106 public void onEmulatorMessage(int msg_type, ByteBuffer msg_data) { 130 public void onEmulatorQuery(int query_id, int query_type, ByteBuffer query_data) {
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/ |
FileDisk.java | 27 import java.nio.ByteBuffer; 110 public void read(long devOffset, ByteBuffer dest) throws IOException { 126 public void write(long devOffset, ByteBuffer src) throws IOException {
|
/libcore/dex/src/main/java/com/android/dex/ |
Dex.java | 33 import java.nio.ByteBuffer; 60 private ByteBuffer data; 75 this(ByteBuffer.wrap(data)); 78 private Dex(ByteBuffer data) throws IOException { 88 this.data = ByteBuffer.wrap(new byte[byteCount]); 125 public static Dex create(ByteBuffer data) throws IOException { 154 this.data = ByteBuffer.wrap(bytesOut.toByteArray()); 167 ByteBuffer data = this.data.duplicate(); // positioned ByteBuffers aren't thread safe 191 ByteBuffer sectionData = data.duplicate(); 203 ByteBuffer sectionData = data.duplicate() [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherTest.java | 25 import java.nio.ByteBuffer; 626 ByteBuffer bInput = ByteBuffer.allocate(64); 627 ByteBuffer bOutput = ByteBuffer.allocate(64); 648 bInput = ByteBuffer.allocate(16); 655 bInput = ByteBuffer.allocate(64); 682 bOutput = ByteBuffer.allocate(8); 832 ByteBuffer bInput = ByteBuffer.allocate(256) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
EncodeDecodeTest.java | 29 import java.nio.ByteBuffer; 439 ByteBuffer[] encoderInputBuffers = encoder.getInputBuffers(); 440 ByteBuffer[] encoderOutputBuffers = encoder.getOutputBuffers(); 441 ByteBuffer[] decoderInputBuffers = null; 442 ByteBuffer[] decoderOutputBuffers = null; 507 ByteBuffer inputBuf = encoderInputBuffers[inputBufIndex]; 545 ByteBuffer encodedData = encoderOutputBuffers[encoderStatus]; 550 // It's usually necessary to adjust the ByteBuffer values to match BufferInfo. 585 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; 605 // ByteBuffer references will be null. The data is sent to Surface instead [all...] |
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
ToyVpnService.java | 32 import java.nio.ByteBuffer; 165 ByteBuffer packet = ByteBuffer.allocate(32767); 263 ByteBuffer packet = ByteBuffer.allocate(1024);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
GLFrame.java | 29 import java.nio.ByteBuffer; 171 return ByteBuffer.wrap(getNativeData()); 207 public void setData(ByteBuffer buffer, int offset, int length) { 219 public ByteBuffer getData() { 222 return ByteBuffer.wrap(getNativeData());
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
EqualizerTest.java | 37 import java.nio.ByteBuffer; 342 ByteBuffer converter = ByteBuffer.wrap(valueBuf); 348 ByteBuffer converter = ByteBuffer.wrap(valueBuf);
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
Charset_TestGenerator.java | 18 import java.nio.ByteBuffer; 223 ByteBuffer bb = encoder.encode(cb); 234 static void genDecoded (Charset charset, ByteBuffer bb) { 239 // ByteBuffer inputBB = ByteBuffer.wrap(bytes);
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
FatDirectoryEntry.java | 23 import java.nio.ByteBuffer; 81 * Reads a {@code FatDirectoryEntry} from the specified {@code ByteBuffer}. 94 public static FatDirectoryEntry read(ByteBuffer buff, boolean readOnly) { 108 public static void writeNullEntry(ByteBuffer buff) { 377 void write(ByteBuffer buff) {
|
/pdk/apps/CameraITS/service/src/com/android/camera2/its/ |
ItsService.java | 58 import java.nio.ByteBuffer; 110 private volatile BlockingQueue<ByteBuffer> mSocketWriteQueue = new LinkedBlockingDeque<ByteBuffer>(); 231 ByteBuffer b = mSocketWriteQueue.take(); 350 public void sendResponse(String tag, String str, JSONObject obj, ByteBuffer bbuf) 364 ByteBuffer bstr = ByteBuffer.wrap( 391 public void sendResponse(String tag, ByteBuffer bbuf) 709 ByteBuffer buf = capture.getPlanes()[0].getBuffer(); 714 ByteBuffer buf = ByteBuffer.wrap(img) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
SkeletonControl.java | 18 import java.nio.ByteBuffer; 160 ByteBuffer bib = (ByteBuffer) bi.getData(); 316 ByteBuffer ib = (ByteBuffer) mesh.getBuffer(Type.BoneIndex).getData(); 425 ByteBuffer ib = (ByteBuffer) mesh.getBuffer(Type.BoneIndex).getData();
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/tcp/ |
SelectorKernel.java | 41 import java.nio.ByteBuffer; 115 public void broadcast( Filter<? super Endpoint> filter, ByteBuffer data, boolean reliable, 125 data = ByteBuffer.wrap(temp); 198 protected void newData( NioEndpoint p, SocketChannel c, ByteBuffer shared, int size ) 227 private ByteBuffer working = ByteBuffer.allocate( 8192 ); 389 ByteBuffer current = p.peekPending();
|