/libcore/luni/src/main/java/libcore/io/ |
Os.java | 41 import java.nio.ByteBuffer; 113 public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException, InterruptedIOException; 115 public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException, InterruptedIOException; 117 public int read(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException, InterruptedIOException; 121 public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException; 125 public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException; 157 public int write(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException, InterruptedIOException;
|
/packages/apps/Nfc/src/com/android/nfc/ |
FireflyRenderer.java | 29 import java.nio.ByteBuffer; 104 ByteBuffer vbb = ByteBuffer.allocateDirect(mVertices.length * 4); // Float => 4 bytes 110 ByteBuffer ibb = ByteBuffer.allocateDirect(mIndices.length * 2); // Short => 2 bytes 116 ByteBuffer tbb = ByteBuffer.allocateDirect(mTextCoords.length * 4);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/ |
PairingUtils.java | 19 import java.nio.ByteBuffer; 193 public static String getString(ByteBuffer msg) { 202 * Append the length of the given string as an integer into the ByteBuffer followed by the 204 * @param buffer ByteBuffer to add this string to 208 public static ByteBuffer putString(ByteBuffer buffer, String toAdd) { 214 public static byte[] getByteArray(ByteBuffer msg) {
|
/cts/tests/tests/media/src/android/media/cts/ |
ImageReaderDecoderTest.java | 43 import java.nio.ByteBuffer; 69 private ByteBuffer[] mInputBuffers; 70 private ByteBuffer[] mOutputBuffers; 160 ByteBuffer[] decoderInputBuffers; 161 ByteBuffer[] decoderOutputBuffers; 195 ByteBuffer[] decoderInputBuffers; 196 ByteBuffer[] decoderOutputBuffers; 222 ByteBuffer dstBuf = decoderInputBuffers[inputBufIndex]; 424 ByteBuffer buffer = null; 432 assertNotNull("Fail to get bytebuffer from plane", buffer) [all...] |
CodecState.java | 24 import java.nio.ByteBuffer; 36 private ByteBuffer[] mCodecInputBuffers; 37 private ByteBuffer[] mCodecOutputBuffers; 187 ByteBuffer codecData = mCodecInputBuffers[index]; 295 ByteBuffer buffer = mCodecOutputBuffers[index];
|
NativeDecoderTest.java | 44 import java.nio.ByteBuffer; 140 ByteBuffer buf = ByteBuffer.allocate(1024*1024); 228 ByteBuffer[][] inbuffers = new ByteBuffer[numtracks][]; 229 ByteBuffer[][] outbuffers = new ByteBuffer[numtracks][]; 257 ByteBuffer buf = inbuffers[t][bufidx]; 338 ByteBuffer buf, int size, MediaFormat format) throws IOException{
|
DecodeEditEncodeTest.java | 31 import java.nio.ByteBuffer; 255 ByteBuffer[] encoderOutputBuffers = encoder.getOutputBuffers(); 312 ByteBuffer encodedData = encoderOutputBuffers[encoderStatus]; 323 // Adjust the ByteBuffer values to match BufferInfo. 379 * If we recognize the decoded format we can do this in Java code using the ByteBuffer[] 452 ByteBuffer[] decoderInputBuffers = decoder.getInputBuffers(); 453 ByteBuffer[] encoderOutputBuffers = encoder.getOutputBuffers(); 477 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; 515 ByteBuffer encodedData = encoderOutputBuffers[encoderStatus]; 539 // the decoder. (The output is going to a Surface, rather than a ByteBuffer, [all...] |
/frameworks/base/core/java/android/ddm/ |
DdmHandleViewDebug.java | 37 import java.nio.ByteBuffer; 124 ByteBuffer in = wrapChunk(request); 169 ByteBuffer in = wrapChunk(request); 184 ByteBuffer out = ByteBuffer.allocate(responseLength); 196 private View getRootView(ByteBuffer in) { 206 private View getTargetView(View root, ByteBuffer in) { 229 private Chunk dumpHierarchy(View rootView, ByteBuffer in) { 322 private Chunk invokeViewMethod(final View rootView, final View targetView, ByteBuffer in) { 403 private Chunk setLayoutParameter(final View rootView, final View targetView, ByteBuffer in) [all...] |
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
AudioRecordInput.java | 20 import java.nio.ByteBuffer; 40 private ByteBuffer mBuffer; 117 mBuffer = ByteBuffer.allocateDirect(bytesPerBuffer); 118 // Rather than passing the ByteBuffer with every OnData call (requiring 247 ByteBuffer buffer);
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
testutils.h | 45 class ByteBuffer; 66 void WriteToByteBuffer(uint32 in_ssrc, talk_base::ByteBuffer* buf) const; 67 bool ReadFromByteBuffer(talk_base::ByteBuffer* buf); 84 void WriteToByteBuffer(talk_base::ByteBuffer* buf) const; 85 bool ReadFromByteBuffer(talk_base::ByteBuffer* buf);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
DecoderConfigDescriptor.java | 24 import java.nio.ByteBuffer;
63 public void parseDetail(ByteBuffer bb) throws IOException {
112 public ByteBuffer serialize() {
113 ByteBuffer out = ByteBuffer.allocate(serializedSize());
|
/frameworks/base/core/java/android/nfc/ |
NdefMessage.java | 19 import java.nio.ByteBuffer; 96 ByteBuffer buffer = ByteBuffer.wrap(data); 194 ByteBuffer buffer = ByteBuffer.allocate(length);
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
BassBoostTest.java | 37 import java.nio.ByteBuffer; 210 ByteBuffer converter = ByteBuffer.wrap(valueBuf); 216 ByteBuffer converter = ByteBuffer.wrap(valueBuf);
|
PresetReverbTest.java | 37 import java.nio.ByteBuffer; 236 ByteBuffer converter = ByteBuffer.wrap(valueBuf); 242 ByteBuffer converter = ByteBuffer.wrap(valueBuf);
|
/frameworks/base/services/core/java/com/android/server/ |
PersistentDataBlockService.java | 42 import java.nio.ByteBuffer; 168 ByteBuffer headerAndData = ByteBuffer.allocate(data.length + HEADER_SIZE); 265 ByteBuffer data = ByteBuffer.allocate(1);
|
/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/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 | |