Home
last modified time | relevance | path

Searched refs:memHandle (Results 1 – 5 of 5) 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.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.cpp291 EXPECT_NE(tgtBuffer.memHandle, nullptr); in TEST_F()
/hardware/interfaces/automotive/evs/1.0/
Dtypes.hal66 handle memHandle; // gralloc memory buffer handle