/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) {
|
/packages/apps/Nfc/src/com/android/nfc/ |
NfcWifiProtectedSetup.java | 30 import java.nio.ByteBuffer; 99 ByteBuffer payload = ByteBuffer.wrap(record.getPayload()); 112 private static WifiConfiguration parseCredential(ByteBuffer payload, short size) {
|
/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/app/webrtc/java/src/org/webrtc/ |
MediaCodecVideoEncoder.java | 40 import java.nio.ByteBuffer; 57 private ByteBuffer[] outputBuffers; 156 private ByteBuffer[] initEncode(int width, int height, int kbps, int fps) { 187 ByteBuffer[] inputBuffers = mediaCodec.getInputBuffers(); 266 int index, ByteBuffer buffer, boolean isKeyFrame, 275 private final ByteBuffer buffer; 291 ByteBuffer outputBuffer = outputBuffers[result].duplicate();
|
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
filevideocapturer.cc | 30 #include "webrtc/base/bytebuffer.h" 68 // Convert the frame header to bytebuffer. 69 rtc::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 rtc::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();
|
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/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/java/nio/channels/ |
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 {
|
/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 {
|
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/beam/ |
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) {
|
/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...] |
/cts/tests/tests/media/src/android/media/cts/ |
CodecState.java | 24 import java.nio.ByteBuffer; 39 private ByteBuffer[] mCodecInputBuffers; 40 private ByteBuffer[] mCodecOutputBuffers; 205 ByteBuffer codecData = mCodecInputBuffers[index]; 329 ByteBuffer buffer = mCodecOutputBuffers[index];
|
/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, rtc::ByteBuffer* buf) const; 67 bool ReadFromByteBuffer(rtc::ByteBuffer* buf); 84 void WriteToByteBuffer(rtc::ByteBuffer* buf) const; 85 bool ReadFromByteBuffer(rtc::ByteBuffer* buf);
|
/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);
|