Home
last modified time | relevance | path

Searched refs:memHandle (Results 1 – 11 of 11) sorted by relevance

/hardware/interfaces/automotive/evs/1.1/default/
DEvsDisplay.cpp77 if (mBuffer.memHandle) { in forceShutdown()
85 alloc.free(mBuffer.memHandle); in forceShutdown()
86 mBuffer.memHandle = nullptr; in forceShutdown()
174 if (!mBuffer.memHandle) { in getTargetBuffer()
195 mBuffer.memHandle = handle; in getTargetBuffer()
198 mBuffer.memHandle.getNativeHandle(), mBuffer.stride); in getTargetBuffer()
217 mBuffer.memHandle.getNativeHandle(), mBuffer.bufferId); in getTargetBuffer()
228 …splay::returnTargetBufferForDisplayImpl(const uint32_t bufferId, const buffer_handle_t memHandle) { in returnTargetBufferForDisplayImpl() argument
229 ALOGD("returnTargetBufferForDisplay %p", memHandle); in returnTargetBufferForDisplayImpl()
233 if (!memHandle) { in returnTargetBufferForDisplayImpl()
[all …]
DEvsCamera.cpp174 returnBuffer(buffer.bufferId, buffer.memHandle); in doneWithFrame()
414 buffer_handle_t memHandle = nullptr; in increaseAvailableFrames_Locked() local
416 &memHandle, &mStride, 0, "EvsCamera"); in increaseAvailableFrames_Locked()
421 if (!memHandle) { in increaseAvailableFrames_Locked()
431 rec.handle = memHandle; in increaseAvailableFrames_Locked()
439 mBuffers.emplace_back(memHandle); in increaseAvailableFrames_Locked()
647 newBufDesc.buffer.nativeHandle = buff.memHandle; in fillTestFrame()
655 void EvsCamera::returnBuffer(const uint32_t bufferId, const buffer_handle_t memHandle) { in returnBuffer() argument
658 if (memHandle == nullptr) { in returnBuffer()
DEvsDisplay.h58 const buffer_handle_t memHandle);
DEvsCamera.h114 void returnBuffer(const uint32_t bufferId, const buffer_handle_t memHandle);
/hardware/interfaces/automotive/evs/1.0/default/
DEvsDisplay.cpp68 if (mBuffer.memHandle) { in forceShutdown()
76 alloc.free(mBuffer.memHandle); in forceShutdown()
77 mBuffer.memHandle = nullptr; in forceShutdown()
165 if (!mBuffer.memHandle) { in getTargetBuffer()
186 mBuffer.memHandle = handle; in getTargetBuffer()
189 mBuffer.memHandle.getNativeHandle(), mBuffer.stride); in getTargetBuffer()
208 mBuffer.memHandle.getNativeHandle(), mBuffer.bufferId); in getTargetBuffer()
220 ALOGD("returnTargetBufferForDisplay %p", buffer.memHandle.getNativeHandle()); in returnTargetBufferForDisplay()
224 if (!buffer.memHandle.getNativeHandle()) { in returnTargetBufferForDisplay()
260 mapper.lock(mBuffer.memHandle, in returnTargetBufferForDisplay()
[all …]
DEvsCamera.cpp180 if (buffer.memHandle == nullptr) { in doneWithFrame()
313 buffer_handle_t memHandle = nullptr; in increaseAvailableFrames_Locked() local
315 &memHandle, &mStride, 0, "EvsCamera"); in increaseAvailableFrames_Locked()
320 if (!memHandle) { in increaseAvailableFrames_Locked()
330 rec.handle = memHandle; in increaseAvailableFrames_Locked()
338 mBuffers.emplace_back(memHandle); in increaseAvailableFrames_Locked()
430 buff.memHandle = mBuffers[idx].handle; in generateFrames()
438 ALOGD("Delivered %p as id %d", buff.memHandle.getNativeHandle(), buff.bufferId); in generateFrames()
481 mapper.lock(buff.memHandle, in fillTestFrame()
516 mapper.unlock(buff.memHandle); in fillTestFrame()
/hardware/interfaces/automotive/evs/1.0/vts/functional/
DFrameHandler.cpp131 ALOGD("Received a frame from the camera (%p)", bufferArg.memHandle.getNativeHandle()); in deliverFrame()
136 if (bufferArg.memHandle.getNativeHandle() == nullptr) { in deliverFrame()
154 if (tgtBuffer.memHandle == nullptr) { in deliverFrame()
226 tgtBuffer.memHandle, android::GraphicBuffer::CLONE_HANDLE, in copyBufferContents()
230 srcBuffer.memHandle, android::GraphicBuffer::CLONE_HANDLE, in copyBufferContents()
DVtsHalEvsV1_0TargetTest.cpp270 EXPECT_NE(tgtBuffer.memHandle, nullptr); in TEST_P()
/hardware/interfaces/automotive/evs/1.1/vts/functional/
DFrameHandler.cpp168 if (tgtBuffer.memHandle == nullptr) { in deliverFrame_1_1()
253 sp<android::GraphicBuffer> tgt = new android::GraphicBuffer(tgtBuffer.memHandle, in copyBufferContents()
DVtsHalEvsV1_1TargetTest.cpp2295 buffer_handle_t memHandle = nullptr; in TEST_P() local
2299 /* layerCount = */ 1, usage, &memHandle, &pixelsPerLine, in TEST_P()
2319 buf.buffer.nativeHandle = memHandle; in TEST_P()
/hardware/interfaces/automotive/evs/1.0/
Dtypes.hal93 handle memHandle;