Home
last modified time | relevance | path

Searched refs:importBuffer (Results 1 – 25 of 35) sorted by relevance

12

/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/
DGralloc1Hal.h66 Error importBuffer(const native_handle_t* rawHandle, in importBuffer() function
68 int32_t error = mDispatch.importBuffer( in importBuffer()
93 !initDispatch(GRALLOC1_FUNCTION_IMPORT_BUFFER, &mDispatch.importBuffer)) { in initDispatch()
103 GRALLOC1_PFN_IMPORT_BUFFER importBuffer; member
/hardware/interfaces/sensors/common/vts/utils/
DGrallocWrapper.cpp96 bufferHandles.push_back(importBuffer(tmpBuffers[i])); in allocate()
135 const native_handle_t* GrallocWrapper::importBuffer(const hardware::hidl_handle& rawHandle) { in importBuffer() function in android::GrallocWrapper
137 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer()
/hardware/interfaces/graphics/mapper/2.0/vts/functional/
DVtsHalGraphicsMapperV2_0TargetTest.cpp198 ASSERT_NO_FATAL_FAILURE(importedBufferHandles[0] = mGralloc->importBuffer(clonedBufferHandle)); in TEST_F()
199 ASSERT_NO_FATAL_FAILURE(importedBufferHandles[1] = mGralloc->importBuffer(clonedBufferHandle)); in TEST_F()
214 mGralloc->getMapper()->importBuffer(rawHandle, [&](const auto& tmpError, const auto& buffer) { in TEST_F()
250 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_F()
256 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_F()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp91 ASSERT_NO_FATAL_FAILURE(bufferHandles.push_back(importBuffer(tmpBuffers[i]))); in allocate()
138 const native_handle_t* Gralloc::importBuffer(const hidl_handle& rawHandle) { in importBuffer() function in android::hardware::graphics::mapper::V2_0::vts::Gralloc
140 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer()
/hardware/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp198 ASSERT_NO_FATAL_FAILURE(importedBufferHandles[0] = mGralloc->importBuffer(clonedBufferHandle)); in TEST_F()
199 ASSERT_NO_FATAL_FAILURE(importedBufferHandles[1] = mGralloc->importBuffer(clonedBufferHandle)); in TEST_F()
214 mGralloc->getMapper()->importBuffer(rawHandle, [&](const auto& tmpError, const auto& buffer) { in TEST_F()
250 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_F()
256 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_F()
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapperHal.h38 virtual Error importBuffer(const native_handle_t* rawHandle,
DMapper.h57 Return<void> importBuffer(const hidl_handle& rawHandle, in importBuffer() function
65 Error error = mHal->importBuffer(rawHandle.getNativeHandle(), &bufferHandle); in importBuffer()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp106 ASSERT_NO_FATAL_FAILURE(bufferHandles.push_back(importBuffer(tmpBuffers[i]))); in allocate()
153 const native_handle_t* Gralloc::importBuffer(const hidl_handle& rawHandle) { in importBuffer() function in android::hardware::graphics::mapper::V3_0::vts::Gralloc
155 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer()
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DGrallocWrapper.h54 const native_handle_t* importBuffer(const hardware::hidl_handle& rawHandle);
/hardware/interfaces/camera/common/1.0/default/include/
DHandleImporter.h43 bool importBuffer(buffer_handle_t& handle);
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/
DMapperVts.h64 const native_handle_t* importBuffer(const hidl_handle& rawHandle);
/hardware/interfaces/camera/common/1.0/default/
DHandleImporter.cpp65 auto ret = mapper->importBuffer( in importBufferInternal()
143 bool HandleImporter::importBuffer(buffer_handle_t& handle) { in importBuffer() function in android::hardware::camera::common::V1_0::helper::HandleImporter
/hardware/interfaces/graphics/mapper/3.0/utils/vts/include/mapper-vts/3.0/
DMapperVts.h65 const native_handle_t* importBuffer(const hidl_handle& rawHandle);
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerResources.h55 Error importBuffer(const native_handle_t* rawHandle, const native_handle_t** outBufferHandle) { in importBuffer() function
64 mMapper2->importBuffer( in importBuffer()
75 mMapper3->importBuffer( in importBuffer()
518 error = (isBuffer) ? mImporter.importBuffer(rawHandle, &importedHandle) in getHandle()
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerResources.h66 Error error = mImporter.importBuffer(rawHandle, &importedHandle); in getDisplayReadbackBuffer()
/hardware/interfaces/graphics/mapper/2.0/
DIMapper.hal101 * may actually have been imported in the process. importBuffer must treat
116 importBuffer(handle rawHandle) generates (Error error, pointer buffer);
119 * Frees a buffer handle. Buffer handles returned by importBuffer must be
122 * This function must free up all resources allocated by importBuffer for
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_device_impl.h129 static gralloc1_error_t importBuffer(gralloc1_device_t *device, buffer_handle_t raw_handle,
Dgr_device_impl.cpp174 return reinterpret_cast<gralloc1_function_pointer_t>(importBuffer); in GetFunction()
543 gralloc1_error_t GrallocImpl::importBuffer(gralloc1_device_t *device, const buffer_handle_t raw_han… in importBuffer() function in gralloc1::GrallocImpl
/hardware/qcom/sdm845/display/gralloc/
DQtiMapper.h74 Return<void> importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) override;
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_device_impl.h129 static gralloc1_error_t importBuffer(gralloc1_device_t *device, buffer_handle_t raw_handle,
Dgr_device_impl.cpp180 return reinterpret_cast<gralloc1_function_pointer_t>(importBuffer); in GetFunction()
562 gralloc1_error_t GrallocImpl::importBuffer(gralloc1_device_t *device, const buffer_handle_t raw_han… in importBuffer() function in gralloc1::GrallocImpl
/hardware/interfaces/graphics/mapper/3.0/
DIMapper.hal103 * may actually have been imported in the process. importBuffer() must treat
117 importBuffer(handle rawHandle) generates (Error error, pointer buffer);
120 * Frees a buffer handle. Buffer handles returned by importBuffer() must be
123 * This function must free up all resources allocated by importBuffer() for
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc0Hal.h76 Error importBuffer(const native_handle_t* rawHandle, in importBuffer() function
DGralloc1Hal.h96 Error importBuffer(const native_handle_t* rawHandle, in importBuffer() function
/hardware/interfaces/camera/device/3.5/default/
DExternalCameraDeviceSession.cpp215 Status s = parent->importBuffer(streamId, in threadLoop()

12