Home
last modified time | relevance | path

Searched refs:getNativeHandle (Results 1 – 25 of 71) sorted by relevance

123

/hardware/qcom/sm7250/display/gralloc/
DQtiAllocator.cpp110 stride = static_cast<uint32_t>(PRIV_HANDLE_CONST(buffers[0].getNativeHandle())->width); in allocate()
116 buf_mgr_->ReleaseBuffer(PRIV_HANDLE_CONST(b.getNativeHandle())); in allocate()
177 stride = static_cast<uint32_t>(PRIV_HANDLE_CONST(buffers[0].getNativeHandle())->width); in allocate()
183 buf_mgr_->ReleaseBuffer(PRIV_HANDLE_CONST(b.getNativeHandle())); in allocate()
DQtiMapper.cpp96 if (!raw_handle.getNativeHandle()) { in importBuffer()
102 native_handle_t *buffer_handle = native_handle_clone(raw_handle.getNativeHandle()); in importBuffer()
133 auto handle = fence_handle.getNativeHandle(); in GetFenceFd()
DQtiMapper4.cpp103 if (!raw_handle.getNativeHandle()) { in importBuffer()
109 native_handle_t *buffer_handle = native_handle_clone(raw_handle.getNativeHandle()); in importBuffer()
140 auto handle = fence_handle.getNativeHandle(); in GetFenceFd()
/hardware/qcom/sm8150/display/gralloc/
DQtiAllocator.cpp110 stride = static_cast<uint32_t>(PRIV_HANDLE_CONST(buffers[0].getNativeHandle())->width); in allocate()
116 buf_mgr_->ReleaseBuffer(PRIV_HANDLE_CONST(b.getNativeHandle())); in allocate()
177 stride = static_cast<uint32_t>(PRIV_HANDLE_CONST(buffers[0].getNativeHandle())->width); in allocate()
183 buf_mgr_->ReleaseBuffer(PRIV_HANDLE_CONST(b.getNativeHandle())); in allocate()
DQtiMapper.cpp96 if (!raw_handle.getNativeHandle()) { in importBuffer()
102 native_handle_t *buffer_handle = native_handle_clone(raw_handle.getNativeHandle()); in importBuffer()
133 auto handle = fence_handle.getNativeHandle(); in GetFenceFd()
DQtiMapper4.cpp103 if (!raw_handle.getNativeHandle()) { in importBuffer()
109 native_handle_t *buffer_handle = native_handle_clone(raw_handle.getNativeHandle()); in importBuffer()
140 auto handle = fence_handle.getNativeHandle(); in GetFenceFd()
/hardware/interfaces/automotive/evs/1.0/default/
DEvsDisplay.cpp189 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()
/hardware/google/camera/common/sensor_listener/
Dgoog_gralloc_wrapper.cc80 native_handle_clone(raw_handle.getNativeHandle()); in CloneBuffer()
158 raw_handle.getNativeHandle()); in ImportBuffer()
232 auto fence_handle = tmp_release_fence.getNativeHandle(); in Unlock()
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapper.h59 if (!rawHandle.getNativeHandle()) { in importBuffer()
65 Error error = mHal->importBuffer(rawHandle.getNativeHandle(), &bufferHandle); in importBuffer()
173 auto handle = fenceHandle.getNativeHandle(); in getFenceFd()
/hardware/interfaces/tv/tuner/1.1/default/
DFilter.cpp212 (mSharedAvMemHandle.getNativeHandle()->numFds > 0) && in releaseAvHandle()
213 (avMemory.getNativeHandle()->numFds > 0) && in releaseAvHandle()
214 (sameFile(avMemory.getNativeHandle()->data[0], in releaseAvHandle()
215 mSharedAvMemHandle.getNativeHandle()->data[0]))) { in releaseAvHandle()
255 if (mSharedAvMemHandle.getNativeHandle() != nullptr) { in getAvSharedHandle()
483 ::close(mFilterEvent.events[i].media().avMemory.getNativeHandle()->data[0]); in freeAvHandle()
485 mFilterEvent.events[i].media().avMemory.getNativeHandle())); in freeAvHandle()
493 ::close(mSharedAvMemHandle.getNativeHandle()->data[0]); in freeSharedAvHandle()
494 native_handle_delete(const_cast<native_handle_t*>(mSharedAvMemHandle.getNativeHandle())); in freeSharedAvHandle()
743 if (mSharedAvMemHandle.getNativeHandle() == nullptr) { in createMediaFilterEventWithIon()
[all …]
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp66 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer()
140 << "failed to import buffer %p" << rawHandle.getNativeHandle(); in importBuffer()
224 auto fenceHandle = tmpReleaseFence.getNativeHandle(); in unlock()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp83 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer()
161 << "failed to import buffer %p" << rawHandle.getNativeHandle(); in importBuffer()
252 auto fenceHandle = tmpReleaseFence.getNativeHandle(); in unlock()
/hardware/interfaces/graphics/mapper/4.0/utils/vts/
DMapperVts.cpp90 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer()
196 << "failed to import buffer %p" << rawHandle.getNativeHandle(); in importBuffer()
258 auto fenceHandle = tmpReleaseFence.getNativeHandle(); in unlock()
280 auto fenceHandle = tmpReleaseFence.getNativeHandle(); in flushLockedBuffer()
/hardware/google/gchips/gralloc4/src/4.x/
DGrallocMapper.cpp61 if (!rawHandle.getNativeHandle()) { in importBuffer()
66 auto *inHandle = const_cast<native_handle_t *>(rawHandle.getNativeHandle()); in importBuffer()
96 auto const handle = fenceHandle.getNativeHandle(); in getFenceFd()
/hardware/google/gfxstream/guest/android/
DGrallocMinigbm.h37 const native_handle_t* getNativeHandle(const AHardwareBuffer* ahb) override;
DGrallocGoldfish.h37 const native_handle_t* getNativeHandle(const AHardwareBuffer* ahb) override;
DGrallocEmulated.h85 const native_handle_t* getNativeHandle(const AHardwareBuffer* ahb) override;
DGrallocGoldfish.cpp69 const native_handle_t* GoldfishGralloc::getNativeHandle(const AHardwareBuffer* ahb) { in getNativeHandle() function in gfxstream::GoldfishGralloc
/hardware/interfaces/tests/bar/1.0/default/
DBar.cpp168 ALOGI("SERVER(Bar) h = %p, xyz.z = %p", h.getNativeHandle(), xyz.z.getNativeHandle()); in expectNullHandle()
/hardware/interfaces/tv/tuner/1.1/vts/functional/
DFilterTests.cpp75 event.media().avMemory.getNativeHandle()->numFds); in readFilterEventData()
127 if (handle.getNativeHandle()->numFds == 0) { in dumpAvData()
134 int av_fd = handle.getNativeHandle()->data[0]; in dumpAvData()
/hardware/google/gfxstream/guest/android/include/gfxstream/guest/
DGralloc.h72 virtual const native_handle_t* getNativeHandle(const AHardwareBuffer* ahb) = 0;
/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()
/hardware/interfaces/automotive/evs/1.1/default/
DEvsDisplay.cpp221 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()
/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp328 allBufs[i] = request.outputBuffers[i].buffer.getNativeHandle(); in importRequestImpl()
334 allBufs[numOutputBufs] = request.inputBuffer.buffer.getNativeHandle(); in importRequestImpl()
487 if (result.inputBuffer.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences()
489 result.inputBuffer.releaseFence.getNativeHandle()); in freeReleaseFences()
494 if (buf.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences()
496 buf.releaseFence.getNativeHandle()); in freeReleaseFences()
507 const native_handle_t* handle = src.releaseFence.getNativeHandle(); in moveStreamBuffer()
511 if (handle != dst.releaseFence.getNativeHandle()) { in moveStreamBuffer()
519 const native_handle_t* handle = src.releaseFence.getNativeHandle(); in pushStreamBuffer()
523 if (handle != dst.back().releaseFence.getNativeHandle()) { in pushStreamBuffer()
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerClient.h93 error = resources->getDisplayReadbackBuffer(display, buffer.getNativeHandle(), in setReadbackBuffer()
184 auto handle = fenceHandle.getNativeHandle(); in getFenceFd()

123