Home
last modified time | relevance | path

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

12

/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/qcom/sdm845/display/gralloc/
DQtiAllocator.cpp89 stride = static_cast<uint32_t>(PRIV_HANDLE_CONST(buffers[0].getNativeHandle())->width); in allocate()
95 buf_mgr_->ReleaseBuffer(PRIV_HANDLE_CONST(b.getNativeHandle())); in allocate()
DQtiMapper.cpp95 if (!raw_handle.getNativeHandle()) { in importBuffer()
101 native_handle_t *buffer_handle = native_handle_clone(raw_handle.getNativeHandle()); in importBuffer()
131 auto handle = fence_handle.getNativeHandle(); in GetFenceFd()
/hardware/qcom/sm8150/display/gralloc/
DQtiAllocator.cpp89 stride = static_cast<uint32_t>(PRIV_HANDLE_CONST(buffers[0].getNativeHandle())->width); in allocate()
95 buf_mgr_->ReleaseBuffer(PRIV_HANDLE_CONST(b.getNativeHandle())); in allocate()
DQtiMapper.cpp95 if (!raw_handle.getNativeHandle()) { in importBuffer()
101 native_handle_t *buffer_handle = native_handle_clone(raw_handle.getNativeHandle()); in importBuffer()
131 auto handle = fence_handle.getNativeHandle(); in GetFenceFd()
/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()
177 auto handle = fenceHandle.getNativeHandle(); in getFenceFd()
/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.cpp81 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer()
155 << "failed to import buffer %p" << rawHandle.getNativeHandle(); in importBuffer()
246 auto fenceHandle = tmpReleaseFence.getNativeHandle(); in unlock()
/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/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()
/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()
/hardware/interfaces/camera/device/3.4/default/
DCameraDeviceSession.cpp750 if (result.v3_2.inputBuffer.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences_3_4()
752 result.v3_2.inputBuffer.releaseFence.getNativeHandle()); in freeReleaseFences_3_4()
757 if (buf.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences_3_4()
759 buf.releaseFence.getNativeHandle()); in freeReleaseFences_3_4()
/hardware/interfaces/cas/1.0/default/
DDescramblerImpl.cpp165 dstBuffer.secureMemory.getNativeHandle()); in descramble()
/hardware/interfaces/cas/1.1/default/
DDescramblerImpl.cpp155 const_cast<native_handle_t*>(dstBuffer.secureMemory.getNativeHandle()); in descramble()
/hardware/interfaces/cas/1.2/default/
DDescramblerImpl.cpp155 const_cast<native_handle_t*>(dstBuffer.secureMemory.getNativeHandle()); in descramble()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DValidateRequest.cpp146 ASSERT_EQ(handle.getNativeHandle(), nullptr); in validate()
DVtsHalNeuralnetworks.cpp142 ASSERT_EQ(handle.getNativeHandle(), nullptr); in validateExecuteFenced()
/hardware/interfaces/drm/1.0/default/
DCryptoPlugin.cpp163 destination.secureMemory.getNativeHandle()); in decrypt()
/hardware/interfaces/audio/effect/all-versions/default/
DEffectsFactory.cpp215 if (fd.getNativeHandle() != nullptr && fd->numFds == 1) { in debug()
/hardware/interfaces/camera/device/1.0/default/
DCameraDevice.cpp170 buffer_handle_t importedBuf = buf.getNativeHandle(); in sDequeueBuffer()
627 if (handle.getNativeHandle() == nullptr) { in dumpState()
890 memId, bufferIndex, frame.getNativeHandle()); in releaseRecordingFrameHandle()
900 msg.data, msg.bufferIndex, msg.frameData.getNativeHandle()); in releaseRecordingFrameHandleBatch()
/hardware/interfaces/camera/common/1.0/default/
DHandleImporter.cpp120 auto fenceHandle = tmpReleaseFence.getNativeHandle(); in unlockInternal()
/hardware/interfaces/sensors/common/vts/utils/
DGrallocWrapper.cpp174 ALOGE("Failed to import buffer %p: %" PRId32, rawHandle.getNativeHandle(), in importBuffer()
/hardware/interfaces/sensors/2.0/multihal/tests/fake_subhal/
DSensorsSubHal.cpp129 if (fd.getNativeHandle() == nullptr || fd->numFds < 1) { in debug()
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp144 const native_handle_t* nativeFenceHandle = tmpHandle.getNativeHandle(); in getReadbackBufferFence()

12