Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/evs/1.0/default/
DEvsDisplay.cpp42 mBuffer.width = 320; in EvsDisplay()
43 mBuffer.height = 240; in EvsDisplay()
44 mBuffer.format = HAL_PIXEL_FORMAT_RGBA_8888; in EvsDisplay()
45 mBuffer.usage = GRALLOC_USAGE_HW_RENDER | GRALLOC_USAGE_HW_COMPOSER; in EvsDisplay()
46 mBuffer.bufferId = 0x3870; // Arbitrary magic number for self recognition in EvsDisplay()
47 mBuffer.pixelSize = 4; in EvsDisplay()
68 if (mBuffer.memHandle) { in forceShutdown()
76 alloc.free(mBuffer.memHandle); in forceShutdown()
77 mBuffer.memHandle = nullptr; in forceShutdown()
165 if (!mBuffer.memHandle) { in getTargetBuffer()
[all …]
DEvsDisplay.h48 BufferDesc mBuffer = {}; // A graphics buffer into which we'll store images variable
/hardware/interfaces/camera/common/1.0/default/
DCameraMetadata.cpp37 mBuffer(NULL), mLocked(false) { in CameraMetadata()
43 mBuffer = allocate_camera_metadata(entryCapacity, dataCapacity); in CameraMetadata()
48 mBuffer = clone_camera_metadata(other.mBuffer); in CameraMetadata()
52 mBuffer(NULL), mLocked(false) { in CameraMetadata()
57 return operator=(other.mBuffer); in operator =()
66 if (CC_LIKELY(buffer != mBuffer)) { in operator =()
69 mBuffer = newBuffer; in operator =()
81 return mBuffer; in getAndLock()
89 if (buffer != mBuffer) { in unlock()
103 camera_metadata_t *released = mBuffer; in release()
[all …]
/hardware/akm/AK8975_FS/libsensors/
DInputEventReader.cpp37 : mBuffer(new input_event[numEvents * 2]), in InputEventCircularReader()
38 mBufferEnd(mBuffer + numEvents), in InputEventCircularReader()
39 mHead(mBuffer), in InputEventCircularReader()
40 mCurr(mBuffer), in InputEventCircularReader()
47 delete [] mBuffer; in ~InputEventCircularReader()
66 memcpy(mBuffer, mBufferEnd, s * sizeof(input_event)); in fill()
67 mHead = mBuffer + s; in fill()
78 ssize_t available = (mBufferEnd - mBuffer) - mFreeSpace; in readEvent()
87 mCurr = mBuffer; in next()
DInputEventReader.h31 struct input_event* const mBuffer; variable
/hardware/invensense/6515/libsensors_iio/
DInputEventReader.cpp39 : mBuffer(new input_event[numEvents * 2]), in InputEventCircularReader()
40 mBufferEnd(mBuffer + numEvents), in InputEventCircularReader()
41 mHead(mBuffer), in InputEventCircularReader()
42 mCurr(mBuffer), in InputEventCircularReader()
50 delete [] mBuffer; in ~InputEventCircularReader()
84 memcpy(mBuffer, mBufferEnd, s * sizeof(input_event)); in fill()
85 mHead = mBuffer + s; in fill()
98 ssize_t available = (mBufferEnd - mBuffer) - mFreeSpace; in readEvent()
109 mCurr = mBuffer; in next()
111 ssize_t available = (mBufferEnd - mBuffer) - mFreeSpace; in next()
DInputEventReader.h33 struct input_event* const mBuffer; variable
/hardware/invensense/65xx/libsensors_iio/
DInputEventReader.cpp39 : mBuffer(new input_event[numEvents * 2]), in InputEventCircularReader()
40 mBufferEnd(mBuffer + numEvents), in InputEventCircularReader()
41 mHead(mBuffer), in InputEventCircularReader()
42 mCurr(mBuffer), in InputEventCircularReader()
50 delete [] mBuffer; in ~InputEventCircularReader()
84 memcpy(mBuffer, mBufferEnd, s * sizeof(input_event)); in fill()
85 mHead = mBuffer + s; in fill()
98 ssize_t available = (mBufferEnd - mBuffer) - mFreeSpace; in readEvent()
109 mCurr = mBuffer; in next()
111 ssize_t available = (mBufferEnd - mBuffer) - mFreeSpace; in next()
DInputEventReader.h33 struct input_event* const mBuffer; variable
/hardware/intel/common/utils/ISV/include/
Disv_bufmanager.h79 mBuffer(buffer), in ISVBuffer()
96 mBuffer(buffer), in ISVBuffer()
117 unsigned long getHandle() { return mBuffer; } in getHandle()
127 unsigned long mBuffer; variable
/hardware/interfaces/audio/2.0/default/
DStreamIn.cpp54 mBuffer(nullptr) {} in ReadThread()
56 mBuffer.reset(new (std::nothrow) uint8_t[mDataMQ->getQuantumCount()]); in init()
57 return mBuffer != nullptr; in init()
68 std::unique_ptr<uint8_t[]> mBuffer; member in android::hardware::audio::V2_0::implementation::__anoneb236e170111::ReadThread
88 ssize_t readResult = mStream->read(mStream, &mBuffer[0], requestedToRead); in doRead()
93 if (!mDataMQ->write(&mBuffer[0], readResult)) { in doRead()
DStreamOut.cpp53 mBuffer(nullptr) {} in WriteThread()
55 mBuffer.reset(new (std::nothrow) uint8_t[mDataMQ->getQuantumCount()]); in init()
56 return mBuffer != nullptr; in init()
67 std::unique_ptr<uint8_t[]> mBuffer; member in android::hardware::audio::V2_0::implementation::__anon329826380111::WriteThread
81 if (mDataMQ->read(&mBuffer[0], availToRead)) { in doWrite()
82 ssize_t writeResult = mStream->write(mStream, &mBuffer[0], availToRead); in doWrite()
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp232 char* mBuffer; member in SensorsTestSharedMemory
248 return mBuffer; in getBuffer()
266 int64_t atomicCounter = *reinterpret_cast<uint32_t *>(mBuffer + offset + kOffsetAtomicCounter); in parseEvents()
271 int32_t size = *reinterpret_cast<int32_t *>(mBuffer + offset + kOffsetSize); in parseEvents()
278 int32_t token = *reinterpret_cast<int32_t *>(mBuffer + offset + kOffsetToken); in parseEvents()
279 int32_t type = *reinterpret_cast<int32_t *>(mBuffer + offset + kOffsetType); in parseEvents()
280 int64_t timestamp = *reinterpret_cast<int64_t *>(mBuffer + offset + kOffsetTimestamp); in parseEvents()
291 (reinterpret_cast<float*>(mBuffer + offset + kOffsetData)); in parseEvents()
303 : mType(type), mSize(0), mBuffer(nullptr) { in SensorsTestSharedMemory()
337 mBuffer = buffer; in SensorsTestSharedMemory()
[all …]
/hardware/intel/common/utils/ISV/base/
Disv_bufmanager.cpp49 reinterpret_cast<VideoDecoderOutputMetaData*>(mBuffer); in initBufferInfo()
69 mGrallocHandle = mBuffer; in initBufferInfo()
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.h156 FencedBuffer() : mBuffer(nullptr), mFence(Fence::NO_FENCE) {} in FencedBuffer()
158 void setBuffer(buffer_handle_t buffer) { mBuffer = buffer; } in setBuffer()
161 buffer_handle_t getBuffer() const { return mBuffer; } in getBuffer()
165 buffer_handle_t mBuffer;
560 FencedBuffer mBuffer; variable
DHWC2On1Adapter.cpp1979 mBuffer(), in Layer()
2006 mBuffer.setBuffer(buffer); in setBuffer()
2007 mBuffer.setFence(acquireFence); in setBuffer()
2175 output << " Buffer: " << mBuffer.getBuffer() << "/" << in dump()
2176 mBuffer.getFence() << '\n'; in dump()
2281 hwc1Layer.handle = mBuffer.getBuffer(); in applyBufferState()
2282 hwc1Layer.acquireFenceFd = mBuffer.getFence(); in applyBufferState()
/hardware/interfaces/camera/common/1.0/default/include/
DCameraMetadata.h203 camera_metadata_t *mBuffer;
/hardware/libhardware/tests/keymaster/
Dkeymaster_test.cpp141 mBuffer = buffer; in UniqueReadOnlyBlob()
145 munmap(mBuffer, mBufferSize); in ~UniqueReadOnlyBlob()
149 return mBuffer; in get()
157 uint8_t* mBuffer; member in android::UniqueReadOnlyBlob