Searched refs:buffer (Results 201 - 225 of 922) sorted by relevance

1234567891011>>

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiLogger.java66 /** ring buffer flags; keep these consistent with wifi_logger.h */
89 /** minimum buffer size for each of the log levels */
158 if (DBG) Log.d(TAG, "There is no per packet ring buffer");
167 if (DBG) Log.d(TAG, "There is no per packet ring buffer");
287 builder.append("ring-buffer = ").append(ringName).append("\n");
294 byte[] buffer = new byte[size];
297 System.arraycopy(buffers[i], 0, buffer, index, buffers[i].length);
301 builder.append(compressToBase64(buffer));
360 public void onRingBufferData(WifiNative.RingBufferStatus status, byte[] buffer) {
361 WifiLogger.this.onRingBufferData(status, buffer);
370 onRingBufferData(WifiNative.RingBufferStatus status, byte[] buffer) argument
377 onWifiAlert(int errorCode, byte[] buffer) argument
449 startLoggingRingBuffer(WifiNative.RingBufferStatus buffer) argument
463 stopLoggingRingBuffer(WifiNative.RingBufferStatus buffer) argument
[all...]
/frameworks/av/include/media/stagefright/
H A DSkipCutBuffer.h38 // some of the data in the buffer, or it may add data to it.
39 // After this, the caller should continue processing the buffer as usual.
40 void submit(MediaBuffer *buffer);
41 void submit(const sp<ABuffer>& buffer); // same as above, but with an ABuffer
43 size_t size(); // how many bytes are currently stored in the buffer
H A DAudioSource.h55 MediaBuffer **buffer, const ReadOptions *options = NULL);
57 status_t dataCallback(const AudioRecord::Buffer& buffer);
58 virtual void signalBufferReturned(MediaBuffer *buffer);
105 void queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs);
/frameworks/av/media/libstagefright/rtsp/
H A DAAVCAssembler.h51 void addSingleNALUnit(const sp<ABuffer> &buffer);
53 bool addSingleTimeAggregationPacket(const sp<ABuffer> &buffer);
/frameworks/base/core/java/android/hardware/camera2/marshal/
H A DMarshaler.java69 * Marshal the specified object instance (value) into a byte buffer.
74 * @param value the value of type T that we wish to write into the byte buffer
75 * @param buffer the byte buffer into which the marshaled object will be written
77 public abstract void marshal(T value, ByteBuffer buffer); argument
81 * into a byte buffer using the given {@code nativeType}.
83 * <p>If the size of this {@code T} instance when serialized into a buffer is always constant,
89 * @param value the value of type T that we wish to write into the byte buffer
90 * @return the size that would need to be written to the byte buffer
103 * Unmarshal a new object instance from the byte buffer int
111 unmarshal(ByteBuffer buffer) argument
[all...]
/frameworks/base/core/java/android/speech/
H A DIRecognitionListener.aidl50 * @param buffer the byte buffer containing a sequence of 16-bit shorts.
52 void onBufferReceived(in byte[] buffer);
/frameworks/base/core/java/android/util/
H A DLogWriter.java48 * Same as above, but buffer is one of the LOG_ID_ constants from android.util.Log.
50 public LogWriter(int priority, String tag, int buffer) { argument
53 mBuffer = buffer;
H A DSparseBooleanArray.java286 StringBuilder buffer = new StringBuilder(mSize * 28);
287 buffer.append('{');
290 buffer.append(", ");
293 buffer.append(key);
294 buffer.append('=');
296 buffer.append(value);
298 buffer.append('}');
299 return buffer.toString();
H A DSparseIntArray.java266 StringBuilder buffer = new StringBuilder(mSize * 28);
267 buffer.append('{');
270 buffer.append(", ");
273 buffer.append(key);
274 buffer.append('=');
276 buffer.append(value);
278 buffer.append('}');
279 return buffer.toString();
/frameworks/base/core/java/com/android/internal/util/
H A DSizedInputStream.java49 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { argument
56 final int n = mWrapped.read(buffer, byteOffset, byteCount);
/frameworks/base/core/jni/
H A Dandroid_net_TrafficStats.cpp83 char buffer[384]; local
88 while (fgets(buffer, sizeof(buffer), fp) != NULL) {
89 int matched = sscanf(buffer, "%31s %" SCNu64 " %" SCNu64 " %" SCNu64
127 char buffer[384]; local
132 while (fgets(buffer, sizeof(buffer), fp) != NULL) {
133 if (sscanf(buffer,
H A Dandroid_nio_utils.cpp31 void* android::nio_getPointer(JNIEnv *_env, jobject buffer, jarray *array) { argument
39 gNioJNI.getBasePointerID, buffer);
46 gNioJNI.getBaseArrayID, buffer);
48 gNioJNI.getBaseArrayOffsetID, buffer);
/frameworks/base/libs/hwui/
H A DImage.cpp25 Image::Image(sp<GraphicBuffer> buffer) { argument
28 EGLClientBuffer clientBuffer = (EGLClientBuffer) buffer->getNativeBuffer();
H A DImage.h37 * Creates a new image from the specified graphic buffer. If the image
41 Image(sp<GraphicBuffer> buffer);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DParserFactory.java119 // create the initial buffer and read it.
120 byte[] buffer = new byte[avail];
121 int read = stream.read(buffer);
125 return new ByteArrayInputStream(buffer);
131 if (read + avail > buffer.length) {
135 System.arraycopy(buffer, 0, moreBuffer, 0, read);
136 buffer = moreBuffer;
139 read += stream.read(buffer, read, avail);
142 // return a new stream encapsulating this buffer.
143 return new ByteArrayInputStream(buffer);
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/io/
H A DBridgeBufferIterator.java31 public BridgeBufferIterator(long size, ByteBuffer buffer) { argument
33 mByteBuffer = buffer;
/frameworks/compile/libbcc/bcinfo/Wrap/
H A Dfile_wrapper_input.cpp35 size_t FileWrapperInput::Read(uint8_t* buffer, size_t wanted) { argument
36 size_t found = fread((char*) buffer, 1, wanted, _file);
/frameworks/av/media/libstagefright/
H A DWAVExtractor.cpp71 MediaBuffer **buffer, const ReadOptions *options = NULL);
384 // As a temporary buffer for 8->16 bit conversion.
437 MediaBuffer *buffer; local
438 status_t err = mGroup->acquire_buffer(&buffer);
470 mCurrentPos, buffer->data(),
474 buffer->release();
475 buffer = NULL;
480 buffer->set_range(0, n);
487 // Create new buffer with 2 byte wide samples
492 memcpy_to_i16_from_u8((int16_t *)tmp->data(), (const uint8_t *)buffer
[all...]
/frameworks/base/media/java/android/media/
H A DMediaCodec.java51 alt="MediaCodec buffer flow diagram"></object></center>
55 (or receive) an empty input buffer, fill it up with data and send it to the codec for
57 Finally, you request (or receive) a filled output buffer, consume its contents and release it
79 this requirement is slightly relaxed in that a buffer may contain multiple encoded access units
214 state you can process data through the buffer queue manipulation described above.
218 as the first input buffer is dequeued, the codec moves to the Running sub-state, where it spends
219 most of its life. When you queue an input buffer with the {@linkplain #BUFFER_FLAG_END_OF_STREAM
301 codec-specific data and submit it as a single codec-config buffer.
312 <th>CSD buffer #0</th>
313 <th>CSD buffer #
2766 setByteBuffer(@ullable ByteBuffer buffer) argument
2871 freeByteBuffer(@ullable ByteBuffer buffer) argument
3486 MediaImage( @onNull ByteBuffer buffer, @NonNull ByteBuffer info, boolean readOnly, long timestamp, int xOffset, int yOffset, @Nullable Rect cropRect) argument
3561 MediaPlane(@onNull ByteBuffer buffer, int rowInc, int colInc) argument
[all...]
/frameworks/av/drm/libdrmframework/include/
H A DReadWriteUtils.h50 * Reads the data into the given buffer from the file path provided
53 * @param[out] buffer Data read from the file
56 static int readBytes(const String8& filePath, char** buffer);
/frameworks/av/include/media/nbaio/
H A DLibsndfileSource.h46 virtual ssize_t read(void *buffer, size_t count);
H A DMonoPipeReader.h50 virtual ssize_t read(void *buffer, size_t count);
/frameworks/av/media/libstagefright/codecs/mp3dec/test/
H A Dmp3reader.h36 bool getFrame(void *buffer, uint32_t *size);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.h42 MediaBuffer **buffer, const ReadOptions *options = NULL);
62 void queueAccessUnit(const sp<ABuffer> &buffer);
71 status_t dequeueAccessUnit(sp<ABuffer> *buffer);
72 void requeueAccessUnit(const sp<ABuffer> &buffer);
/frameworks/av/services/audioflinger/
H A DSpdifStreamOut.cpp117 ssize_t SpdifStreamOut::writeDataBurst(const void* buffer, size_t bytes) argument
119 return AudioStreamOut::write(buffer, bytes);
122 ssize_t SpdifStreamOut::write(const void* buffer, size_t numBytes) argument
125 return mSpdifEncoder.write(buffer, numBytes);

Completed in 739 milliseconds

1234567891011>>