HomeSort by relevance Sort by last modified time
    Searched full:bytebuffer (Results 476 - 500 of 964) sorted by null

<<11121314151617181920>>

  /libcore/luni/src/main/java/java/nio/channels/
ReadableByteChannel.java 20 import java.nio.ByteBuffer;
65 public int read(ByteBuffer buffer) throws IOException;
WritableByteChannel.java 20 import java.nio.ByteBuffer;
63 public int write(ByteBuffer buffer) throws IOException;
Channels.java 27 import java.nio.ByteBuffer;
220 ByteBuffer buffer = ByteBuffer.wrap(target, byteOffset, byteCount);
263 ByteBuffer buffer = ByteBuffer.wrap(source, offset, length);
297 public synchronized int read(ByteBuffer target) throws IOException {
336 public synchronized int write(ByteBuffer source) throws IOException {
  /external/protobuf/java/src/main/java/com/google/protobuf/
ByteString.java 38 import java.nio.ByteBuffer;
103 * Copies {@code size} bytes from a {@code java.nio.ByteBuffer} into
106 public static ByteString copyFrom(final ByteBuffer bytes, final int size) {
113 * Copies the remaining bytes from a {@code java.nio.ByteBuffer} into
116 public static ByteString copyFrom(final ByteBuffer bytes) {
207 * Constructs a new read-only {@code java.nio.ByteBuffer} with the
210 public ByteBuffer asReadOnlyByteBuffer() {
211 final ByteBuffer byteBuffer = ByteBuffer.wrap(bytes)
    [all...]
  /external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
ByteStringTest.java 42 import java.nio.ByteBuffer;
112 ByteBuffer byteBuffer = ByteBuffer.allocate(bytes.length);
113 byteBuffer.put(bytes);
114 byteBuffer.position(500);
115 ByteString byteString = ByteString.copyFrom(byteBuffer, 200);
116 assertTrue("copyFrom byteBuffer sub-range must contain the expected bytes",
122 ByteBuffer byteBuffer = ByteBuffer.allocate(bytes.length)
    [all...]
  /prebuilts/misc/common/ddmlib/
ddmlib-prebuilt.jar 
  /cts/tests/tests/net/src/android/net/ipv6/cts/
PingTest.java 33 import java.nio.ByteBuffer;
101 int ret = Os.sendto(s, ByteBuffer.wrap(packet), 0, address, port);
110 ByteBuffer responseBuffer = ByteBuffer.allocate(MAX_SIZE);
  /external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/src/org/webrtc/
DataChannel.java 30 import java.nio.ByteBuffer;
64 public final ByteBuffer data;
72 public Buffer(ByteBuffer data, boolean binary) {
132 // ByteBuffer is direct and/or is backed by an array.
MediaCodecVideoEncoder.java 40 import java.nio.ByteBuffer;
57 private ByteBuffer[] outputBuffers;
158 private ByteBuffer[] initEncode(int width, int height, int kbps, int fps) {
189 ByteBuffer[] inputBuffers = mediaCodec.getInputBuffers();
268 int index, ByteBuffer buffer, boolean isKeyFrame,
277 private final ByteBuffer buffer;
293 ByteBuffer outputBuffer = outputBuffers[result].duplicate();
  /frameworks/base/core/java/android/ddm/
DdmHandleProfiling.java 24 import java.nio.ByteBuffer;
103 ByteBuffer in = wrapChunk(request);
145 ByteBuffer in = wrapChunk(request);
198 ByteBuffer in = wrapChunk(request);
  /frameworks/base/core/java/android/hardware/camera2/marshal/impl/
MarshalQueryableArray.java 25 import java.nio.ByteBuffer;
64 public void marshal(T value, ByteBuffer buffer) {
72 public T unmarshal(ByteBuffer buffer) {
151 ByteBuffer buffer, Object array, int index) {
  /frameworks/base/core/java/android/hardware/usb/
UsbRequest.java 21 import java.nio.ByteBuffer;
45 private ByteBuffer mBuffer;
135 public boolean queue(ByteBuffer buffer, int length) {
182 private native boolean native_queue_direct(ByteBuffer buffer, int length, boolean out);
  /frameworks/base/core/jni/
android_hardware_SerialPort.cpp 197 jniThrowException(env, "java/lang/IllegalArgumentException", "ByteBuffer not direct");
231 jniThrowException(env, "java/lang/IllegalArgumentException", "ByteBuffer not direct");
252 {"native_read_direct", "(Ljava/nio/ByteBuffer;I)I",
256 {"native_write_direct", "(Ljava/nio/ByteBuffer;I)V",
  /frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DisplaySourceService.java 36 import java.nio.ByteBuffer;
82 public void onMessageReceived(int service, int what, ByteBuffer content) {
229 ByteBuffer[] buffers = null;
237 ByteBuffer buffer = buffers[index];
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
histogram.h 17 // Native function to extract histogram from image (handed down as ByteBuffer).
  /frameworks/native/opengl/tools/glgen/stubs/gles11/
glGetDebugMessageLogKHR.java 28 java.nio.ByteBuffer messageLog);
  /libcore/luni/src/main/java/java/nio/charset/
CharsetDecoder.java 21 import java.nio.ByteBuffer;
29 * {@link java.nio.ByteBuffer ByteBuffer} and the output character sequence is a
35 * <li>invoking the {@link #decode(ByteBuffer, CharBuffer, boolean) decode}
39 * <li>invoking the {@link #decode(ByteBuffer, CharBuffer, boolean) decode}
46 * The {@link #decode(ByteBuffer, CharBuffer, boolean) decode} method will
74 * {@link #decodeLoop(ByteBuffer, CharBuffer) decodeLoop} method for the basic
179 public final CharBuffer decode(ByteBuffer in) throws CharacterCodingException {
277 * {@link #decodeLoop(ByteBuffer, CharBuffer) decodeLoop} method to
292 * if the {@link #decodeLoop(ByteBuffer, CharBuffer) decodeLoop
    [all...]
CharsetDecoderICU.java 17 import java.nio.ByteBuffer;
129 @Override protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
183 private int getArray(ByteBuffer in) {
213 private void setPosition(ByteBuffer in) {
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
FatFile.java 26 import java.nio.ByteBuffer;
76 * {@link #write(long, java.nio.ByteBuffer) writing} to the file will grow
111 public void read(long offset, ByteBuffer dest) throws IOException {
144 public void write(long offset, ByteBuffer srcBuf)
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
SpriteTextRenderer.java 21 import java.nio.ByteBuffer;
292 ByteBuffer vbb = ByteBuffer.allocateDirect(VERTS * 3 * 4);
296 ByteBuffer tbb = ByteBuffer.allocateDirect(VERTS * 2 * 4);
300 ByteBuffer ibb = ByteBuffer.allocateDirect(VERTS * 2);
  /external/chromium_org/third_party/libjingle/source/talk/media/devices/
filevideocapturer.cc 30 #include "talk/base/bytebuffer.h"
68 // Convert the frame header to bytebuffer.
69 talk_base::ByteBuffer buffer;
79 // Write the bytebuffer to file.
281 // buffer, then construct a bytebuffer from the memory buffer, and finally
282 // read the frame header from the bytebuffer.
297 talk_base::ByteBuffer buffer(header, CapturedFrame::kFrameHeaderSize);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
EC3TrackImpl.java 13 import java.nio.ByteBuffer;
36 private List<ByteBuffer> samples;
121 samples = new LinkedList<ByteBuffer>();
128 public List<ByteBuffer> getSamples() {
176 ByteBuffer bb = ByteBuffer.wrap(data);
400 samples.add(ByteBuffer.wrap(data));
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
ESDescriptor.java 23 import java.nio.ByteBuffer;
84 public void parseDetail(ByteBuffer bb) throws IOException {
177 public ByteBuffer serialize() {
178 ByteBuffer out = ByteBuffer.allocate(serializedSize()); // Usually is around 30 bytes, so 200 should be enough...
195 ByteBuffer dec = decoderConfigDescriptor.serialize();
196 ByteBuffer sl = slConfigDescriptor.serialize();
  /frameworks/base/media/java/android/media/
MediaExtractor.java 30 import java.nio.ByteBuffer;
51 * ByteBuffer inputBuffer = ByteBuffer.allocate(...)
224 ByteBuffer rawpssh = (ByteBuffer) formatMap.get("pssh");
228 // parse the flat pssh bytebuffer into something more manageable
307 public native int readSampleData(ByteBuffer byteBuf, int offset);
  /libcore/luni/src/main/java/libcore/io/
BlockGuardOs.java 32 import java.nio.ByteBuffer;
203 @Override public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException, InterruptedIOException {
213 @Override public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException, InterruptedIOException {
223 @Override public int read(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException, InterruptedIOException {
243 @Override public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException {
268 @Override public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException {
306 @Override public int write(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException, InterruptedIOException {

Completed in 6191 milliseconds

<<11121314151617181920>>