/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
AbstractBufferTest.java | 20 import java.nio.ByteBuffer; 34 baseBuf = ByteBuffer.allocate(10);
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaCodecTest.java | 35 import java.nio.ByteBuffer; 569 ByteBuffer buffer = mediaCodec.getInputBuffers()[bufferIndex]; [all...] |
/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();
|
/frameworks/base/core/java/android/nfc/ |
NdefRecord.java | 25 import java.nio.ByteBuffer; 506 ByteBuffer buffer = ByteBuffer.allocate(1 + languageCodeBytes.length + textBytes.length); 590 ByteBuffer buffer = ByteBuffer.wrap(data); 659 ByteBuffer buffer = ByteBuffer.allocate(getByteLength()); 779 * @param buffer ByteBuffer to read from 784 static NdefRecord[] parse(ByteBuffer buffer, boolean ignoreMbMe) throws FormatException { [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/core/java/android/hardware/camera2/impl/ |
CameraMetadataNative.java | 66 import java.nio.ByteBuffer; 459 ByteBuffer buffer = ByteBuffer.wrap(values).order(ByteOrder.nativeOrder()); [all...] |
/libcore/luni/src/main/java/android/system/ |
Os.java | 41 import java.nio.ByteBuffer; 339 public static int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException, InterruptedIOException { return Libcore.os.pread(fd, buffer, offset); } 349 public static int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException, InterruptedIOException { return Libcore.os.pwrite(fd, buffer, offset); } 359 public static int read(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException, InterruptedIOException { return Libcore.os.read(fd, buffer); } 379 public static int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { return Libcore.os.recvfrom(fd, buffer, flags, srcAddress); } 404 public static int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException { return Libcore.os.sendto(fd, buffer, flags, inetAddress, port); } 528 public static int write(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException, InterruptedIOException { return Libcore.os.write(fd, buffer); }
|
/frameworks/base/media/java/android/media/audiofx/ |
AudioEffect.java | 27 import java.nio.ByteBuffer; [all...] |
Virtualizer.java | 27 import java.nio.ByteBuffer; 201 ByteBuffer paramsConverter = ByteBuffer.allocate(3 /* param + mask + device*/ * 4); 221 ByteBuffer resultConverter = ByteBuffer.wrap(result);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
MediaAudioEffectTest.java | 40 import java.nio.ByteBuffer; [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
CameraMetadataTest.java | 53 import java.nio.ByteBuffer; 223 ByteBuffer colorCorrectionGainsByteBuffer = 224 ByteBuffer.wrap(colorCorrectionGainsAsByteArray).order(ByteOrder.nativeOrder()); 627 ByteBuffer bf = ByteBuffer.wrap(availableFormatValues).order(ByteOrder.nativeOrder()); [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothSocket.java | 33 import java.nio.ByteBuffer; 491 ByteBuffer bb = ByteBuffer.wrap(sig); 525 ByteBuffer bb = ByteBuffer.wrap(ibytes);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
SurfaceTextureRenderer.java | 39 import java.nio.ByteBuffer; 75 private ByteBuffer mPBufferPixels; 152 mTriangleVertices = ByteBuffer.allocateDirect(sBackCameraTriangleVertices.length * 156 mTriangleVertices = ByteBuffer.allocateDirect(sFrontCameraTriangleVertices.length * 439 mPBufferPixels = ByteBuffer.allocateDirect(maxLength * PBUFFER_PIXEL_BYTES)
|
/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; 176 ByteBuffer appParamBuf = ByteBuffer.wrap(appParams); 405 ByteBuffer appParamBuf = ByteBuffer.allocate(getParamMaxLength()); [all...] |
/external/chromium_org/ui/file_manager/file_manager/foreground/js/metadata/ |
id3_parser.js | 266 * Reads last 128 bytes of file in bytebuffer, 277 * Attempts to extract ID3v1 tag from 128 bytes long ByteBuffer 344 * Extracts all ID3v2 frames from given bytebuffer.
|
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/ |
WebSocketFrame.java | 7 import java.nio.ByteBuffer; 287 return TEXT_DECODER.decode(ByteBuffer.wrap(payload)).toString(); 291 return TEXT_DECODER.decode(ByteBuffer.wrap(payload, offset, length)).toString();
|
/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);
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
ExifOutputStream.java | 25 import java.nio.ByteBuffer; 82 private ByteBuffer mBuffer = ByteBuffer.allocate(4);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
ExifOutputStream.java | 25 import java.nio.ByteBuffer; 82 private ByteBuffer mBuffer = ByteBuffer.allocate(4);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
ExifOutputStream.java | 25 import java.nio.ByteBuffer; 82 private ByteBuffer mBuffer = ByteBuffer.allocate(4);
|