HomeSort by relevance Sort by last modified time
    Searched full:bytebuffer (Results 526 - 550 of 994) sorted by null

<<21222324252627282930>>

  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiParser.java 24 import java.nio.ByteBuffer;
88 ByteBuffer buf = ByteBuffer.wrap(ie.data);
199 ByteBuffer buf = ByteBuffer.wrap(ie.data);
  /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/nio/channels/
SocketChannelTest.java 27 import java.nio.ByteBuffer;
54 ByteBuffer readOnly = ByteBuffer.allocate(1).asReadOnlyBuffer();
64 sc.read(new ByteBuffer[] { readOnly });
69 sc.read(new ByteBuffer[] { readOnly }, 0, 1);
  /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);
  /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 25 import java.nio.ByteBuffer;
181 public abstract SocketAddress receive(ByteBuffer target) throws IOException;
219 public abstract int send(ByteBuffer source, SocketAddress address) throws IOException;
231 * @see java.nio.channels.ReadableByteChannel#read(java.nio.ByteBuffer)
250 public abstract int read(ByteBuffer target) throws IOException;
262 * @see java.nio.channels.ScatteringByteChannel#read(java.nio.ByteBuffer[],
290 public abstract long read(ByteBuffer[] targets, int offset, int length)
303 * @see java.nio.channels.ScatteringByteChannel#read(java.nio.ByteBuffer[])
322 public synchronized final long read(ByteBuffer[] targets)
335 * @see java.nio.channels.WritableByteChannel#write(java.nio.ByteBuffer)
    [all...]
  /libcore/luni/src/main/java/javax/net/ssl/
SSLEngine.java 20 import java.nio.ByteBuffer;
948 public abstract SSLEngineResult unwrap(ByteBuffer src,
949 ByteBuffer[] dsts,
982 public abstract SSLEngineResult wrap(ByteBuffer[] srcs, int offset, int length, ByteBuffer dst)
1005 public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer dst) throws SSLException {
1006 return unwrap(src, new ByteBuffer[] { dst }, 0, 1);
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLEngineTest.java 20 import java.nio.ByteBuffer;
94 ByteBuffer input = ByteBuffer.allocate(1024);
96 ByteBuffer output = ByteBuffer.allocate(1024);
108 ByteBuffer input = ByteBuffer.allocate(1024);
110 ByteBuffer output = ByteBuffer.allocate(1024);
267 ByteBuffer sourceOut = ByteBuffer.wrap(sourceBytes)
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
NativeDecoderTest.java 45 import java.nio.ByteBuffer;
141 ByteBuffer buf = ByteBuffer.allocate(1024*1024);
237 ByteBuffer[][] inbuffers = new ByteBuffer[numtracks][];
238 ByteBuffer[][] outbuffers = new ByteBuffer[numtracks][];
266 ByteBuffer buf = inbuffers[t][bufidx];
351 ByteBuffer buf, int size, MediaFormat format) throws IOException{
DecodeEditEncodeTest.java 31 import java.nio.ByteBuffer;
256 ByteBuffer[] encoderOutputBuffers = encoder.getOutputBuffers();
313 ByteBuffer encodedData = encoderOutputBuffers[encoderStatus];
324 // Adjust the ByteBuffer values to match BufferInfo.
380 * If we recognize the decoded format we can do this in Java code using the ByteBuffer[]
453 ByteBuffer[] decoderInputBuffers = decoder.getInputBuffers();
454 ByteBuffer[] encoderOutputBuffers = encoder.getOutputBuffers();
478 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex];
516 ByteBuffer encodedData = encoderOutputBuffers[encoderStatus];
540 // 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);
AdaptivePlaybackTest.java 38 import java.nio.ByteBuffer;
199 public void bytebuffer() { ex(H264(SW), new EarlyEosTest().byteBuffer()); } method in class:AdaptivePlaybackTest
    [all...]
CodecUtils.java 24 import java.nio.ByteBuffer;
102 public ByteBuffer getBuffer() {
  /external/chromium_org/components/cronet/android/java/src/org/chromium/net/
ChromiumUrlRequest.java 17 import java.nio.ByteBuffer;
185 public ByteBuffer getByteBuffer() {
251 * {@link #appendChunk(ByteBuffer, boolean)} after {@link #start()}.
275 public void appendChunk(ByteBuffer chunk, boolean isLastChunk)
545 * @param byteBuffer The ByteBuffer to append. Must be a direct buffer, and
550 private void onBytesRead(ByteBuffer buffer) {
644 private int readFromUploadChannel(ByteBuffer dest) {
680 ByteBuffer chunk, int chunkSize, boolean isLastChunk);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
ServerSocketChannelTest.java 26 import java.nio.ByteBuffer;
406 ByteBuffer buf = ByteBuffer.allocate(CAPACITY_NORMAL);
445 ByteBuffer buf = ByteBuffer.allocate(CAPACITY_NORMAL);
505 ByteBuffer buf = ByteBuffer.allocate(CAPACITY_64KB);
525 ByteBuffer buffer;
528 public WriteChannelThread(SocketChannel channel, ByteBuffer buffer) {
550 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 
jython-standalone-2.5.3.jar 
  /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 25 import java.nio.ByteBuffer;
43 * ByteBuffer inputBuffer = ByteBuffer.allocate(bufferSize);
94 int trackIndex, ByteBuffer byteBuf,
305 public void writeSampleData(int trackIndex, ByteBuffer byteBuf,
312 throw new IllegalArgumentException("byteBuffer must not be null");
  /packages/screensavers/Basic/src/com/android/dreams/basic/
ColorsGLRenderer.java 34 import java.nio.ByteBuffer;
361 ByteBuffer bb = ByteBuffer.allocateDirect(
369 bb = ByteBuffer.allocateDirect(vertexCount * colorStride);
374 ByteBuffer dlb = ByteBuffer.allocateDirect(
  /prebuilts/tools/common/m2/repository/org/python/jython-standalone/2.5.3/
jython-standalone-2.5.3.jar 
  /external/chromium_org/third_party/webrtc/base/
socketadapters.cc 27 #include "webrtc/base/bytebuffer.h"
545 ByteBuffer response(data, *len);
637 ByteBuffer request;
652 ByteBuffer request;
668 ByteBuffer request;
703 ByteBuffer response(data, *len);
717 void AsyncSocksProxyServerSocket::DirectSend(const ByteBuffer& buf) {
721 void AsyncSocksProxyServerSocket::HandleHello(ByteBuffer* request) {
753 ByteBuffer response;
759 void AsyncSocksProxyServerSocket::HandleAuth(ByteBuffer* request)
    [all...]
  /external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/bindings/
ReadAndDispatchMessageTest.java 20 import java.nio.ByteBuffer;
32 private ByteBuffer mData;
  /external/chromium_org/third_party/libjingle/source/talk/media/base/
testutils.cc 36 #include "webrtc/base/bytebuffer.h"
50 uint32 in_ssrc, rtc::ByteBuffer *buf) const {
61 bool RawRtpPacket::ReadFromByteBuffer(rtc::ByteBuffer* buf) {
87 void RawRtcpPacket::WriteToByteBuffer(rtc::ByteBuffer *buf) const {
96 bool RawRtcpPacket::ReadFromByteBuffer(rtc::ByteBuffer* buf) {
144 rtc::ByteBuffer buf;
178 rtc::ByteBuffer buf(reinterpret_cast<const char*>(&packet.data[0]),
208 rtc::ByteBuffer buf;

Completed in 1248 milliseconds

<<21222324252627282930>>