Home
last modified time | relevance | path

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

/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.1/default/
DEvsDisplay.cpp77 if (mBuffer.memHandle) { in forceShutdown()
85 alloc.free(mBuffer.memHandle); in forceShutdown()
86 mBuffer.memHandle = nullptr; in forceShutdown()
185 if (!mBuffer.memHandle) { in getTargetBuffer()
219 mBuffer.memHandle = handle; in getTargetBuffer()
221 ALOGD("Allocated new buffer %p with stride %u", mBuffer.memHandle.getNativeHandle(), in getTargetBuffer()
239 ALOGD("Providing display buffer handle %p as id %d", mBuffer.memHandle.getNativeHandle(), in getTargetBuffer()
251 const buffer_handle_t memHandle) { in returnTargetBufferForDisplayImpl() argument
252 ALOGD("returnTargetBufferForDisplay %p", memHandle); in returnTargetBufferForDisplayImpl()
256 if (!memHandle) { in returnTargetBufferForDisplayImpl()
[all …]
DEvsCamera.cpp173 returnBufferLocked(buffer.bufferId, buffer.memHandle); in doneWithFrame()
391 buffer_handle_t memHandle = nullptr; in importExternalBuffers() local
394 pDesc->format, pDesc->usage, pDesc->stride, &memHandle); in importExternalBuffers()
395 if (result != android::NO_ERROR || !memHandle) { in importExternalBuffers()
404 rec.handle = memHandle; in importExternalBuffers()
414 mBuffers.emplace_back(memHandle); in importExternalBuffers()
473 buffer_handle_t memHandle = nullptr; in increaseAvailableFrames_Locked() local
474 status_t result = alloc.allocate(mWidth, mHeight, mFormat, 1, mUsage, &memHandle, &mStride, in increaseAvailableFrames_Locked()
480 if (!memHandle) { in increaseAvailableFrames_Locked()
490 rec.handle = memHandle; in increaseAvailableFrames_Locked()
[all …]
DEvsDisplay.h49 const buffer_handle_t memHandle);
DEvsCamera.h93 void returnBufferLocked(const uint32_t bufferId, const buffer_handle_t memHandle);
DGlWrapper.cpp343 .nativeHandle = buffer.memHandle, in updateImageTexture()
/hardware/interfaces/automotive/evs/1.0/vts/functional/
DFrameHandler.cpp131 ALOGD("Received a frame from the camera (%p)", bufferArg.memHandle.getNativeHandle()); in deliverFrame()
139 if (bufferArg.memHandle.getNativeHandle() == nullptr) { in deliverFrame()
157 if (tgtBuffer.memHandle == nullptr) { in deliverFrame()
230 tgtBuffer.memHandle, android::GraphicBuffer::CLONE_HANDLE, in copyBufferContents()
234 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.cpp2302 buffer_handle_t memHandle = nullptr; in TEST_P() local
2306 /* layerCount = */ 1, usage, &memHandle, &pixelsPerLine, in TEST_P()
2326 buf.buffer.nativeHandle = memHandle; in TEST_P()
/hardware/interfaces/automotive/evs/1.0/
Dtypes.hal93 handle memHandle;
/hardware/interfaces/automotive/evs/aidl/vts/
DVtsHalEvsTargetTest.cpp2000 buffer_handle_t memHandle = nullptr; in TEST_P() local
2004 /* layerCount = */ 1, usage, &memHandle, &pixelsPerLine, in TEST_P()
2024 buf.buffer.handle = ::android::dupToAidl(memHandle); in TEST_P()