Searched refs:buffer (Results 276 - 300 of 1380) sorted by relevance

<<11121314151617181920>>

/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Darray_wrapper.h32 ArrayWrapper(pointer buffer, size_type capacity, size_type size) argument
33 : buffer_(&buffer[0]),
37 ArrayWrapper(pointer buffer, size_type size) argument
38 : ArrayWrapper(buffer, size, size) {}
103 ArrayWrapper<T> WrapArray(T* buffer, SizeType size) { argument
104 return ArrayWrapper<T>(buffer, size);
/frameworks/native/services/surfaceflinger/EventLog/
H A DEventLog.cpp36 EventLog::TagBuffer buffer(LOGTAG_SF_FRAME_DUR);
37 buffer.startList(1 + numDurations);
38 buffer.writeString8(window);
40 buffer.writeInt32(durations[i]);
42 buffer.endList();
43 buffer.log();
64 // purge the buffer
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4ElementaryAssembler.cpp229 sp<ABuffer> buffer = *queue->begin(); local
233 mNextExpectedSeqNo = (uint32_t)buffer->int32Data();
234 } else if ((uint32_t)buffer->int32Data() != mNextExpectedSeqNo) {
241 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
249 mPackets.push_back(buffer);
251 // hexdump(buffer->data(), buffer->size());
252 if (buffer->size() < 2) {
256 unsigned AU_headers_length = U16_AT(buffer->data()); // in bits
258 if (buffer
[all...]
H A DAAVCAssembler.h51 void addSingleNALUnit(const sp<ABuffer> &buffer);
53 bool addSingleTimeAggregationPacket(const sp<ABuffer> &buffer);
/frameworks/av/media/extractors/midi/
H A DMidiExtractor.cpp48 MediaBufferBase **buffer, const ReadOptions *options = NULL);
121 MediaBufferBase *buffer; local
131 buffer = mEngine.readBuffer();
132 *outBuffer = buffer;
134 return buffer != NULL ? (status_t) OK : (status_t) ERROR_END_OF_STREAM;
210 ALOGV("using %d byte buffer", bufsize);
233 MediaBufferBase *buffer; local
234 status_t err = mGroup->acquire_buffer(&buffer);
236 ALOGE("readBuffer: no buffer");
242 buffer
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiDiagnostics.java67 /** ring buffer flags; keep these consistent with wifi_logger.h */
91 /** minimum buffer size for each of the log levels */
173 if (DBG) mLog.tC("There is no per packet ring buffer");
182 if (DBG) mLog.tC("There is no per packet ring buffer");
323 builder.append("ring-buffer = ").append(ringName).append("\n");
330 byte[] buffer = new byte[size];
333 System.arraycopy(buffers[i], 0, buffer, index, buffers[i].length);
337 builder.append(compressToBase64(buffer));
396 public void onRingBufferData(WifiNative.RingBufferStatus status, byte[] buffer) {
397 WifiDiagnostics.this.onRingBufferData(status, buffer);
406 onRingBufferData(WifiNative.RingBufferStatus status, byte[] buffer) argument
413 onWifiAlert(int errorCode, @NonNull byte[] buffer) argument
483 startLoggingRingBuffer(WifiNative.RingBufferStatus buffer) argument
497 stopLoggingRingBuffer(WifiNative.RingBufferStatus buffer) argument
[all...]
/frameworks/native/libs/gui/
H A DIGraphicBufferProducer.cpp164 ALOGE("IGBP::dequeueBuffer failed to read buffer age: %d", result);
231 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer) { argument
234 data.write(*buffer.get());
450 sp<GraphicBuffer> buffer; variable
452 buffer = new GraphicBuffer();
453 result = reply.read(*buffer);
459 ALOGE("getLastQueuedBuffer failed to read buffer: %d", result);
468 *outBuffer = buffer;
569 int* outSlot, const sp<GraphicBuffer>& buffer) override {
570 return mBase->attachBuffer(outSlot, buffer);
739 sp<GraphicBuffer> buffer; local
795 sp<GraphicBuffer> buffer; local
813 sp<GraphicBuffer> buffer = new GraphicBuffer(); local
1038 flatten( void*& buffer, size_t& size, int*& fds, size_t& count) const argument
1066 unflatten( void const*& buffer, size_t& size, int const*& fds, size_t& count) argument
1113 flatten( void*& buffer, size_t& size, int*& fds, size_t& count) const argument
1130 unflatten( void const*& buffer, size_t& size, int const*& fds, size_t& count) argument
[all...]
H A DFrameTimestamps.cpp260 // If there isn't an acquire fence, assume that buffer was
543 status_t FrameEventsDelta::flatten(void*& buffer, size_t& size, int*& fds,
554 FlattenableUtils::write(buffer, size, mFrameNumber);
557 FlattenableUtils::write(buffer, size, static_cast<uint16_t>(mIndex));
559 buffer, size, static_cast<uint8_t>(mAddPostCompositeCalled));
561 buffer, size, static_cast<uint8_t>(mAddReleaseCalled));
563 FlattenableUtils::write(buffer, size, mPostedTime);
564 FlattenableUtils::write(buffer, size, mRequestedPresentTime);
565 FlattenableUtils::write(buffer, size, mLatchTime);
566 FlattenableUtils::write(buffer, siz
[all...]
/frameworks/av/include/media/audiohal/
H A DEffectHalInterface.h30 // Set the input buffer.
31 virtual status_t setInBuffer(const sp<EffectBufferHalInterface>& buffer) = 0;
33 // Set the output buffer.
34 virtual status_t setOutBuffer(const sp<EffectBufferHalInterface>& buffer) = 0;
37 // in input buffer descriptor and output processed samples as specified
38 // in output buffer descriptor.
/frameworks/av/include/media/nbaio/
H A DSourceAudioBufferProvider.h34 virtual status_t getNextBuffer(Buffer *buffer);
35 virtual void releaseBuffer(Buffer *buffer);
49 size_t mGetCount; // buffer.frameCount of the most recent getNextBuffer
/frameworks/av/media/libaudiohal/include/media/audiohal/
H A DEffectHalInterface.h30 // Set the input buffer.
31 virtual status_t setInBuffer(const sp<EffectBufferHalInterface>& buffer) = 0;
33 // Set the output buffer.
34 virtual status_t setOutBuffer(const sp<EffectBufferHalInterface>& buffer) = 0;
37 // in input buffer descriptor and output processed samples as specified
38 // in output buffer descriptor.
/frameworks/av/media/libnbaio/
H A DMonoPipeReader.cpp46 ssize_t MonoPipeReader::read(void *buffer, size_t count) argument
49 ssize_t actual = mFifoReader.read(buffer, count);
/frameworks/av/media/libnbaio/include/media/nbaio/
H A DSourceAudioBufferProvider.h34 virtual status_t getNextBuffer(Buffer *buffer);
35 virtual void releaseBuffer(Buffer *buffer);
49 size_t mGetCount; // buffer.frameCount of the most recent getNextBuffer
/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.java290 StringBuilder buffer = new StringBuilder(mSize * 28);
291 buffer.append('{');
294 buffer.append(", ");
297 buffer.append(key);
298 buffer.append('=');
300 buffer.append(value);
302 buffer.append('}');
303 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();
H A DSparseLongArray.java261 StringBuilder buffer = new StringBuilder(mSize * 28);
262 buffer.append('{');
265 buffer.append(", ");
268 buffer.append(key);
269 buffer.append('=');
271 buffer.append(value);
273 buffer.append('}');
274 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/libs/hwui/
H A DImage.cpp25 Image::Image(sp<GraphicBuffer> buffer) { argument
28 EGLClientBuffer clientBuffer = (EGLClientBuffer)buffer->getNativeBuffer();
/frameworks/base/libs/hwui/tests/unit/
H A DMeshStateTests.cpp34 GLuint buffer = 0; local
35 renderThread.renderState().meshState().genOrUpdateMeshBuffer(&buffer, 10, nullptr,
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DGraphicBufferCompat.java24 * Wraps the internal graphic buffer.
30 public GraphicBufferCompat(GraphicBuffer buffer) { argument
31 mBuffer = 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/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DParserFactory.java117 // create the initial buffer and read it.
118 byte[] buffer = new byte[avail];
119 int read = stream.read(buffer);
123 return new ByteArrayInputStream(buffer);
129 if (read + avail > buffer.length) {
133 System.arraycopy(buffer, 0, moreBuffer, 0, read);
134 buffer = moreBuffer;
137 read += stream.read(buffer, read, avail);
140 // return a new stream encapsulating this buffer.
141 return new ByteArrayInputStream(buffer);
[all...]

Completed in 125 milliseconds

<<11121314151617181920>>