Home
last modified time | relevance | path

Searched refs:mBuffer (Results 1 – 16 of 16) sorted by relevance

/device/generic/goldfish/gnss/
DGnssHwListener.cpp78 mBuffer.reserve(256); in GnssHwListener()
95 if (c == '$' || !mBuffer.empty()) { in consume1()
96 mBuffer.push_back(c); in consume1()
106 if (parse(mBuffer.data() + 1, mBuffer.data() + mBuffer.size() - 2, in consume1()
108 mSink.onGnssNmeaCb(timestampMs, std::string(mBuffer.data(), mBuffer.size())); in consume1()
110 mBuffer.back() = 0; in consume1()
112 __func__, __LINE__, mBuffer.data()); in consume1()
114 mBuffer.clear(); in consume1()
115 } else if (mBuffer.size() >= 1024) { in consume1()
117 mBuffer.clear(); in consume1()
DGnssHwListener.h53 std::vector<char> mBuffer; variable
/device/generic/goldfish-opengl/system/hwc3/
DDrmSwapchain.cpp26 : mBuffer(buffer), mDrmBuffer(drmBuffer) {} in Image()
29 : mBuffer(std::move(other.mBuffer)), in Image()
32 other.mBuffer = nullptr; in Image()
36 if (mBuffer) { in ~Image()
37 ::android::GraphicBufferAllocator::get().free(mBuffer); in ~Image()
60 const native_handle_t* DrmSwapchain::Image::getBuffer() { return mBuffer; } in getBuffer()
DFencedBuffer.h28 FencedBuffer() : mBuffer(nullptr) {} in FencedBuffer()
31 mBuffer = buffer; in set()
35 buffer_handle_t getBuffer() const { return mBuffer; } in getBuffer()
53 buffer_handle_t mBuffer; variable
DLayer.cpp60 mBuffer.set(buffer, fence); in setBuffer()
67 return mBuffer; in getBuffer()
73 ::android::base::unique_fd fence = mBuffer.getFence(); in waitAndGetBuffer()
81 return mBuffer.getBuffer(); in waitAndGetBuffer()
DDrmSwapchain.h40 const native_handle_t* mBuffer = nullptr; variable
DLayer.h100 FencedBuffer mBuffer; variable
/device/generic/goldfish/camera/
DCachedStreamBuffer.cpp99 : mBuffer(importAidlNativeHandle(sb.buffer)) in CachedStreamBuffer()
103 LOG_ALWAYS_FATAL_IF(!mBuffer); in CachedStreamBuffer()
109 : mBuffer(std::exchange(rhs.mBuffer, nullptr)) in CachedStreamBuffer()
114 LOG_ALWAYS_FATAL_IF(!mBuffer);
122 LOG_ALWAYS_FATAL_IF(!mBuffer); in ~CachedStreamBuffer()
123 LOG_ALWAYS_FATAL_IF(GraphicBufferMapper::get().freeBuffer(mBuffer) != NO_ERROR); in ~CachedStreamBuffer()
DCachedStreamBuffer.h41 const native_handle_t* getBuffer() const { return mBuffer; } in getBuffer()
55 const native_handle_t* mBuffer; // owned by this class
/device/google/contexthub/sensorhal/
Ddirectchannel.cpp28 return mBuffer != nullptr; in isValid()
37 mBuffer->write(ev, 1); in write()
62 mBuffer = std::unique_ptr<LockfreeBuffer>(new LockfreeBuffer(mBase, mSize)); in AshmemDirectChannel()
63 if (!mBuffer) { in AshmemDirectChannel()
70 mBuffer = nullptr; in ~AshmemDirectChannel()
304 mBuffer = std::make_unique<LockfreeBuffer>(mBase, mSize); in GrallocDirectChannel()
305 if (!mBuffer) { in GrallocDirectChannel()
316 mBuffer = nullptr; in ~GrallocDirectChannel()
Ddirectchannel.h42 std::unique_ptr<LockfreeBuffer> mBuffer; variable
/device/generic/goldfish/audio/
Dring_buffer.cpp27 : mBuffer(new uint8_t[capacity]) in RingBuffer()
71 chunk.data = &mBuffer[mProducePos]; in getProduceChunk()
102 void *dst = &mBuffer[mProducePos]; in produce()
131 chunk.data = &mBuffer[mConsumePos]; in getConsumeChunk()
Dring_buffer.h88 std::unique_ptr<uint8_t[]> mBuffer;
/device/google/atv/audio_proxy/
DOutputStreamImpl.cpp64 const std::unique_ptr<int8_t[]> mBuffer; member in audio_proxy::__anonaf206e460111::WriteThread
77 mBuffer(new int8_t[mDataMQ->getQuantumCount()]) {} in WriteThread()
87 if (!mDataMQ->read(&mBuffer[0], availToRead)) { in doWrite()
91 return mStream->write(&mBuffer[0], availToRead); in doWrite()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/hevcdec/
DC2GoldfishHevcDec.cpp611 : mFlags(flags), mOrdinal(ordinal), mBuffer(buffer) {} in finishWork()
620 if (mBuffer) { in finishWork()
621 work->worklets.front()->output.buffers.push_back(mBuffer); in finishWork()
625 mBuffer ? "" : "o"); in finishWork()
631 const std::shared_ptr<C2Buffer> mBuffer; in finishWork() member in android::C2GoldfishHevcDec::finishWork::FillWork
/device/generic/goldfish-opengl/system/codecs/c2/decoders/avcdec/
DC2GoldfishAvcDec.cpp665 : mFlags(flags), mOrdinal(ordinal), mBuffer(buffer) {} in finishWork()
674 if (mBuffer) { in finishWork()
675 work->worklets.front()->output.buffers.push_back(mBuffer); in finishWork()
679 mBuffer ? "" : "o"); in finishWork()
685 const std::shared_ptr<C2Buffer> mBuffer; in finishWork() member in android::C2GoldfishAvcDec::finishWork::FillWork