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

<<21222324252627282930>>

  /system/extras/verity/
VerityVerifier.java 21 import java.nio.ByteBuffer;
48 byte[] bytes = ByteBuffer.allocate(4).putInt(value).array();
49 return ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN).getInt();
  /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/
DecoderTest.java 42 import java.nio.ByteBuffer;
112 mFormat.setByteBuffer("csd-0", ByteBuffer.wrap( new byte [] {0x13, 0x10} ));
218 ByteBuffer[] buf = dec.getInputBuffers();
267 ByteBuffer buf1 = ByteBuffer.allocate(1024*1024);
452 ByteBuffer buf1 = ByteBuffer.allocate(1024*1024);
453 ByteBuffer buf2 = ByteBuffer.allocate(1024*1024);
601 ByteBuffer[] codecInputBuffers
    [all...]
EncodeDecodeTest.java 29 import java.nio.ByteBuffer;
487 ByteBuffer[] encoderInputBuffers = encoder.getInputBuffers();
488 ByteBuffer[] encoderOutputBuffers = encoder.getOutputBuffers();
489 ByteBuffer[] decoderInputBuffers = null;
490 ByteBuffer[] decoderOutputBuffers = null;
555 ByteBuffer inputBuf = encoderInputBuffers[inputBufIndex];
593 ByteBuffer encodedData = encoderOutputBuffers[encoderStatus];
598 // It's usually necessary to adjust the ByteBuffer values to match BufferInfo.
638 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex];
658 // 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);
  /external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/
BaseDexBufferTest.java 38 import java.nio.ByteBuffer;
216 ByteBuffer byteBuf = ByteBuffer.allocateDirect(4).order(ByteOrder.LITTLE_ENDIAN);
250 ByteBuffer byteBuf = ByteBuffer.allocateDirect(8).order(ByteOrder.LITTLE_ENDIAN);
  /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);
  /frameworks/base/services/core/java/com/android/server/
PersistentDataBlockService.java 42 import java.nio.ByteBuffer;
284 ByteBuffer data = ByteBuffer.allocate(1);
342 ByteBuffer headerAndData = ByteBuffer.allocate(data.length + HEADER_SIZE);
  /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) {
  /external/lzma/CPP/7zip/UI/Common/
OpenArchive.cpp 147 CByteBuffer byteBuffer;
149 byteBuffer.SetCapacity(kBufferSize);
152 RINOK(ReadStream(stream, byteBuffer, &processedSize));
156 const Byte *buf = byteBuffer;
215 CByteBuffer byteBuffer;
217 byteBuffer.SetCapacity(kBufferSize);
218 Byte *buffer = byteBuffer;
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
AC3TrackImpl.java 12 import java.nio.ByteBuffer;
36 private List<ByteBuffer> samples;
83 samples = new LinkedList<ByteBuffer>();
90 public List<ByteBuffer> getSamples() {
138 ByteBuffer bb = ByteBuffer.wrap(data);
269 samples.add(ByteBuffer.wrap(data));
  /libcore/luni/src/main/java/libcore/io/
ForwardingOs.java 41 import java.nio.ByteBuffer;
120 public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException, InterruptedIOException { return os.pread(fd, buffer, offset); }
122 public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException, InterruptedIOException { return os.pwrite(fd, buffer, offset); }
124 public int read(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException, InterruptedIOException { return os.read(fd, buffer); }
128 public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { return os.recvfrom(fd, buffer, flags, srcAddress); }
133 public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException { return os.sendto(fd, buffer, flags, inetAddress, port); }
164 public int write(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException, InterruptedIOException { return os.write(fd, buffer); }
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
CharsetTest.java 19 import java.nio.ByteBuffer;
280 ByteBuffer out = cs.encode(s);
287 ByteBuffer in = ByteBuffer.wrap(toByteArray(byteInts));
654 ByteBuffer bb = c1.encode(CharBuffer.wrap("abcdefg"));
662 ByteBuffer bb = c1.encode(CharBuffer.wrap("abcd\u5D14efg"));
687 ByteBuffer bb = c1.encode("abcdefg");
695 ByteBuffer bb = c1.encode("abcd\u5D14efg");
720 CharBuffer cb = c1.decode(ByteBuffer.wrap("abcdefg".getBytes("iso8859-1")));
722 cb = c1.decode(ByteBuffer.wrap("".getBytes("iso8859-1")))
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
ItsService.java 71 import java.nio.ByteBuffer;
138 private volatile BlockingQueue<ByteBuffer> mSocketWriteQueue =
139 new LinkedBlockingDeque<ByteBuffer>();
397 ByteBuffer b = mSocketWriteQueue.take();
555 public void sendResponse(String tag, String str, JSONObject obj, ByteBuffer bbuf)
569 ByteBuffer bstr = ByteBuffer.wrap(
596 public void sendResponseCaptureBuffer(String tag, ByteBuffer bbuf)
    [all...]
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
MacTest.java 24 import java.nio.ByteBuffer;
302 ByteBuffer bBuf = ByteBuffer.wrap(buf, 0, 10);
604 * Test for <code>update(ByteBuffer input)</code>
620 ByteBuffer byteNull = null;
621 ByteBuffer byteBuff = ByteBuffer.allocate(0);
648 * Test for <code>update(ByteBuffer input)</code>
665 ByteBuffer byteBuf;
669 byteBuf = ByteBuffer.allocate(5)
    [all...]
  /frameworks/base/core/jni/
android_net_LocalSocketImpl.cpp 666 jbyte* byteBuffer;
690 byteBuffer = env->GetByteArrayElements(buffer, NULL);
692 if (NULL == byteBuffer) {
698 fd, byteBuffer + off, len);
702 env->ReleaseByteArrayElements(buffer, byteBuffer, 0);
734 jbyte* byteBuffer;
752 byteBuffer = env->GetByteArrayElements(buffer,NULL);
754 if (NULL == byteBuffer) {
760 byteBuffer + off, len);
764 env->ReleaseByteArrayElements(buffer, byteBuffer, JNI_ABORT)
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/media/base/
rtpdump.cc 56 void RtpDumpFileHeader::WriteToByteBuffer(rtc::ByteBuffer* buf) {
133 rtc::ByteBuffer buf(header, sizeof(header));
177 rtc::ByteBuffer buf(header, sizeof(header));
310 rtc::ByteBuffer buffer;
346 rtc::ByteBuffer buf;
373 rtc::ByteBuffer buf;
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
TextureTestRenderer.java 25 import java.nio.ByteBuffer;
67 mVertices = ByteBuffer.allocateDirect(mVerticesData.length
121 IntBuffer pixel = ByteBuffer.allocateDirect(4).asIntBuffer();
  /external/chromium_org/third_party/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
WebRtcAudioTrack.java 13 import java.nio.ByteBuffer;
29 private ByteBuffer _playBuffer;
44 _playBuffer = ByteBuffer.allocateDirect(2 * 480); // Max 10 ms @ 48
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
ImageHeaderParser.java 7 import java.nio.ByteBuffer;
267 private final ByteBuffer data;
270 this.data = ByteBuffer.wrap(data);
  /external/guava/guava-tests/test/com/google/common/hash/
AbstractStreamingHasherTest.java 13 import java.nio.ByteBuffer;
174 @Override protected void process(ByteBuffer bb) {
183 @Override protected void processRemaining(ByteBuffer bb) {

Completed in 803 milliseconds

<<21222324252627282930>>