Home
last modified time | relevance | path

Searched refs:getNativeHandle (Results 1 – 25 of 35) 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()
DEvsCamera.cpp438 ALOGD("Delivered %p as id %d", buff.memHandle.getNativeHandle(), buff.bufferId); in generateFrames()
/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/interfaces/sensors/common/vts/utils/
DGrallocWrapper.cpp73 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer()
139 ALOGE("Failed to import buffer %p", rawHandle.getNativeHandle()); in importBuffer()
203 auto fenceHandle = tmpReleaseFence.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()
169 auto handle = fenceHandle.getNativeHandle(); in getFenceFd()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp68 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer()
142 << "failed to import buffer %p" << rawHandle.getNativeHandle(); in importBuffer()
226 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()
157 << "failed to import buffer %p" << rawHandle.getNativeHandle(); in importBuffer()
248 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()
DCameraDevice.cpp280 if (handle.getNativeHandle() == nullptr) { in dumpState()
/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.cpp749 if (result.v3_2.inputBuffer.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences_3_4()
751 result.v3_2.inputBuffer.releaseFence.getNativeHandle()); in freeReleaseFences_3_4()
756 if (buf.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences_3_4()
758 buf.releaseFence.getNativeHandle()); in freeReleaseFences_3_4()
/hardware/interfaces/audio/effect/all-versions/default/
DEffectsFactory.cpp197 if (fd.getNativeHandle() != nullptr && fd->numFds == 1) { in debug()
/hardware/interfaces/cas/1.1/default/
DDescramblerImpl.cpp154 const_cast<native_handle_t*>(dstBuffer.secureMemory.getNativeHandle()); in descramble()
/hardware/interfaces/cas/1.0/default/
DDescramblerImpl.cpp164 dstBuffer.secureMemory.getNativeHandle()); in descramble()
/hardware/interfaces/drm/1.0/default/
DCryptoPlugin.cpp163 destination.secureMemory.getNativeHandle()); in decrypt()
/hardware/interfaces/camera/device/1.0/default/
DCameraDevice.cpp167 buffer_handle_t importedBuf = buf.getNativeHandle(); in sDequeueBuffer()
622 if (handle.getNativeHandle() == nullptr) { in dumpState()
885 memId, bufferIndex, frame.getNativeHandle()); in releaseRecordingFrameHandle()
895 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/graphics/composer/2.2/utils/vts/
DComposerVts.cpp144 const native_handle_t* nativeFenceHandle = tmpHandle.getNativeHandle(); in getReadbackBufferFence()
/hardware/interfaces/camera/device/3.5/default/
DExternalCameraDeviceSession.cpp216 hBuf.bufferId, hBuf.buffer.getNativeHandle(), in threadLoop()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMem.h261 native_handle_t *getNativeHandle(uint32_t index, bool metadata = true);
/hardware/interfaces/audio/core/all-versions/default/
DStream.cpp315 if (fd.getNativeHandle() != nullptr && fd->numFds == 1) { in debug()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DCompilationCachingTests.cpp524 ASSERT_EQ(write(modelCache[i].getNativeHandle()->data[0], &dummyBytes, in TEST_P()
530 write(dataCache[i].getNativeHandle()->data[0], &dummyBytes, sizeof(dummyBytes)), in TEST_P()
547 ASSERT_GE(read(modelCache[i].getNativeHandle()->data[0], &dummyByte, 1), 0); in TEST_P()
550 ASSERT_GE(read(dataCache[i].getNativeHandle()->data[0], &dummyByte, 1), 0); in TEST_P()

12