/hardware/interfaces/sensors/1.0/vts/functional/ |
H A D | GrallocWrapper.h | 55 const native_handle_t* importBuffer(const hardware::hidl_handle& rawHandle); 68 const native_handle_t* cloneBuffer(const hardware::hidl_handle& rawHandle);
|
H A D | GrallocWrapper.cpp | 72 const hardware::hidl_handle& rawHandle) { 74 native_handle_clone(rawHandle.getNativeHandle()); 139 const hardware::hidl_handle& rawHandle) { 142 rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { 144 ALOGE("Failed to import buffer %p", rawHandle.getNativeHandle()); 71 cloneBuffer( const hardware::hidl_handle& rawHandle) argument 138 importBuffer( const hardware::hidl_handle& rawHandle) argument
|
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/ |
H A D | ComposerResources.h | 47 Error importBuffer(const native_handle_t* rawHandle, const native_handle_t** outBufferHandle) { argument 48 if (!rawHandle || (!rawHandle->numFds && !rawHandle->numInts)) { 55 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBufferHandle) { 73 Error importStream(const native_handle_t* rawHandle, const native_handle_t** outStreamHandle) { argument 75 if (rawHandle) { 76 streamHandle = native_handle_clone(rawHandle); 363 const native_handle_t* rawHandle, 366 return getHandle<Cache::CLIENT_TARGET>(display, 0, slot, fromCache, rawHandle, 362 getDisplayClientTarget(Display display, uint32_t slot, bool fromCache, const native_handle_t* rawHandle, const native_handle_t** outBufferHandle, ReplacedBufferHandle* outReplacedBuffer) argument 370 getDisplayOutputBuffer(Display display, uint32_t slot, bool fromCache, const native_handle_t* rawHandle, const native_handle_t** outBufferHandle, ReplacedBufferHandle* outReplacedBuffer) argument 378 getLayerBuffer(Display display, Layer layer, uint32_t slot, bool fromCache, const native_handle_t* rawHandle, const native_handle_t** outBufferHandle, ReplacedBufferHandle* outReplacedBuffer) argument 385 getLayerSidebandStream(Display display, Layer layer, const native_handle_t* rawHandle, const native_handle_t** outStreamHandle, ReplacedStreamHandle* outReplacedStream) argument 454 getHandle(Display display, Layer layer, uint32_t slot, bool fromCache, const native_handle_t* rawHandle, const native_handle_t** outHandle, ReplacedHandle<isBuffer>* outReplacedHandle) argument [all...] |
H A D | ComposerCommandEngine.h | 191 auto rawHandle = readHandle(&useCache); local 199 auto err = mResources->getDisplayClientTarget(mCurrentDisplay, slot, useCache, rawHandle, 363 auto rawHandle = readHandle(&useCache); local 370 rawHandle, &buffer, &replacedBuffer); 485 auto rawHandle = readHandle(); local 489 auto err = mResources->getLayerSidebandStream(mCurrentDisplay, mCurrentLayer, rawHandle,
|
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/ |
H A D | MapperVts.h | 64 const native_handle_t* importBuffer(const hidl_handle& rawHandle); 78 const native_handle_t* cloneBuffer(const hidl_handle& rawHandle);
|
/hardware/interfaces/graphics/mapper/2.0/utils/vts/ |
H A D | MapperVts.cpp | 67 const native_handle_t* Gralloc::cloneBuffer(const hidl_handle& rawHandle) { argument 68 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); 138 const native_handle_t* Gralloc::importBuffer(const hidl_handle& rawHandle) { argument 140 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { 142 << "failed to import buffer %p" << rawHandle.getNativeHandle();
|
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/ |
H A D | ComposerResources.h | 61 Error getDisplayReadbackBuffer(Display display, const native_handle_t* rawHandle, argument 66 Error error = mImporter.importBuffer(rawHandle, &importedHandle);
|
/hardware/interfaces/graphics/mapper/2.0/ |
H A D | IMapper.hal | 106 * @param rawHandle is the raw buffer handle to import. 116 importBuffer(handle rawHandle) generates (Error error, pointer buffer);
|
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/ |
H A D | MapperHal.h | 38 virtual Error importBuffer(const native_handle_t* rawHandle,
|
H A D | Mapper.h | 57 Return<void> importBuffer(const hidl_handle& rawHandle, 59 if (!rawHandle.getNativeHandle()) { 65 Error error = mHal->importBuffer(rawHandle.getNativeHandle(), &bufferHandle);
|
/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/ |
H A D | Gralloc1Hal.h | 66 Error importBuffer(const native_handle_t* rawHandle, 69 mDevice, rawHandle, const_cast<const native_handle_t**>(outBufferHandle));
|
/hardware/interfaces/graphics/mapper/2.0/vts/functional/ |
H A D | VtsHalGraphicsMapperV2_0TargetTest.cpp | 176 const native_handle_t* rawHandle; local 177 ASSERT_NO_FATAL_FAILURE(rawHandle = mGralloc->allocate(mDummyDescriptorInfo, false)); 180 mGralloc->getMapper()->importBuffer(rawHandle, [&](const auto& tmpError, const auto& buffer) { 194 ASSERT_NO_FATAL_FAILURE(mGralloc->freeBuffer(rawHandle));
|
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/ |
H A D | Gralloc0Hal.h | 76 Error importBuffer(const native_handle_t* rawHandle, 78 native_handle_t* bufferHandle = native_handle_clone(rawHandle);
|
H A D | Gralloc1Hal.h | 96 Error importBuffer(const native_handle_t* rawHandle, 98 native_handle_t* bufferHandle = native_handle_clone(rawHandle);
|
/hardware/libhardware/include/hardware/ |
H A D | gralloc1.h | 788 /* importBuffer(..., rawHandle, outBuffer); 807 * rawHandle - the raw buffer handle to import 816 gralloc1_device_t* device, const buffer_handle_t rawHandle,
|