Searched refs:rawHandle (Results 1 - 15 of 15) sorted by relevance

/hardware/interfaces/sensors/1.0/vts/functional/
H A DGrallocWrapper.h55 const native_handle_t* importBuffer(const hardware::hidl_handle& rawHandle);
68 const native_handle_t* cloneBuffer(const hardware::hidl_handle& rawHandle);
H A DGrallocWrapper.cpp72 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 DComposerResources.h47 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 DComposerCommandEngine.h191 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 DMapperVts.h64 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 DMapperVts.cpp67 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 DComposerResources.h61 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 DIMapper.hal106 * @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 DMapperHal.h38 virtual Error importBuffer(const native_handle_t* rawHandle,
H A DMapper.h57 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 DGralloc1Hal.h66 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 DVtsHalGraphicsMapperV2_0TargetTest.cpp176 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 DGralloc0Hal.h76 Error importBuffer(const native_handle_t* rawHandle,
78 native_handle_t* bufferHandle = native_handle_clone(rawHandle);
H A DGralloc1Hal.h96 Error importBuffer(const native_handle_t* rawHandle,
98 native_handle_t* bufferHandle = native_handle_clone(rawHandle);
/hardware/libhardware/include/hardware/
H A Dgralloc1.h788 /* importBuffer(..., rawHandle, outBuffer);
807 * rawHandle - the raw buffer handle to import
816 gralloc1_device_t* device, const buffer_handle_t rawHandle,

Completed in 300 milliseconds