Home
last modified time | relevance | path

Searched refs:rawHandle (Results 1 – 18 of 18) sorted by relevance

/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() argument
56 if (!rawHandle || (!rawHandle->numFds && !rawHandle->numInts)) { in importBuffer()
65 rawHandle, [&](const auto& tmpError, const auto& tmpBufferHandle) { in importBuffer()
76 rawHandle, [&](const auto& tmpError, const auto& tmpBufferHandle) { in importBuffer()
101 Error importStream(const native_handle_t* rawHandle, const native_handle_t** outStreamHandle) { in importStream() argument
103 if (rawHandle) { in importStream()
104 streamHandle = native_handle_clone(rawHandle); in importStream()
402 const native_handle_t* rawHandle, in getDisplayClientTarget() argument
405 return getHandle<Cache::CLIENT_TARGET>(display, 0, slot, fromCache, rawHandle, in getDisplayClientTarget()
410 const native_handle_t* rawHandle, in getDisplayOutputBuffer() argument
[all …]
DComposerCommandEngine.h191 auto rawHandle = readHandle(&useCache); in executeSetClientTarget() local
199 auto err = mResources->getDisplayClientTarget(mCurrentDisplay, slot, useCache, rawHandle, in executeSetClientTarget()
367 auto rawHandle = readHandle(&useCache); in executeSetLayerBuffer() local
374 rawHandle, &buffer, &replacedBuffer); in executeSetLayerBuffer()
489 auto rawHandle = readHandle(); in executeSetLayerSidebandStream() local
493 auto err = mResources->getLayerSidebandStream(mCurrentDisplay, mCurrentLayer, rawHandle, in executeSetLayerSidebandStream()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp65 const native_handle_t* Gralloc::cloneBuffer(const hidl_handle& rawHandle) { in cloneBuffer() argument
66 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer()
136 const native_handle_t* Gralloc::importBuffer(const hidl_handle& rawHandle) { in importBuffer() argument
138 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer()
140 << "failed to import buffer %p" << rawHandle.getNativeHandle(); in importBuffer()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp80 const native_handle_t* Gralloc::cloneBuffer(const hidl_handle& rawHandle) { in cloneBuffer() argument
81 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer()
151 const native_handle_t* Gralloc::importBuffer(const hidl_handle& rawHandle) { in importBuffer() argument
153 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer()
155 << "failed to import buffer %p" << rawHandle.getNativeHandle(); in importBuffer()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/
DMapperVts.h65 const native_handle_t* importBuffer(const hidl_handle& rawHandle);
79 const native_handle_t* cloneBuffer(const hidl_handle& rawHandle);
/hardware/interfaces/graphics/mapper/3.0/utils/vts/include/mapper-vts/3.0/
DMapperVts.h66 const native_handle_t* importBuffer(const hidl_handle& rawHandle);
91 const native_handle_t* cloneBuffer(const hidl_handle& rawHandle);
/hardware/interfaces/sensors/common/vts/utils/
DGrallocWrapper.cpp105 native_handle_t* importBuffer(const hidl_handle& rawHandle);
169 const hidl_handle& rawHandle) { in importBuffer() argument
172 mMapper->importBuffer(rawHandle, [&](auto error, void* tmpBuffer) { in importBuffer()
174 ALOGE("Failed to import buffer %p: %" PRId32, rawHandle.getNativeHandle(), in importBuffer()
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerResources.h61 Error getDisplayReadbackBuffer(Display display, const native_handle_t* rawHandle, in getDisplayReadbackBuffer() argument
66 Error error = mImporter.importBuffer(rawHandle, &importedHandle); in getDisplayReadbackBuffer()
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapper.h57 Return<void> importBuffer(const hidl_handle& rawHandle, in importBuffer() argument
59 if (!rawHandle.getNativeHandle()) { in importBuffer()
65 Error error = mHal->importBuffer(rawHandle.getNativeHandle(), &bufferHandle); in importBuffer()
DMapperHal.h38 virtual Error importBuffer(const native_handle_t* rawHandle,
/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/
DGralloc1Hal.h66 Error importBuffer(const native_handle_t* rawHandle, in importBuffer() argument
69 mDevice, rawHandle, const_cast<const native_handle_t**>(outBufferHandle)); in importBuffer()
/hardware/interfaces/graphics/mapper/2.0/vts/functional/
DVtsHalGraphicsMapperV2_0TargetTest.cpp196 const native_handle_t* rawHandle; in TEST_P() local
197 ASSERT_NO_FATAL_FAILURE(rawHandle = mGralloc->allocate(mDummyDescriptorInfo, false)); in TEST_P()
200 mGralloc->getMapper()->importBuffer(rawHandle, [&](const auto& tmpError, const auto& buffer) { in TEST_P()
212 ASSERT_NO_FATAL_FAILURE(mGralloc->freeBuffer(rawHandle)); in TEST_P()
/hardware/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp196 const native_handle_t* rawHandle; in TEST_P() local
197 ASSERT_NO_FATAL_FAILURE(rawHandle = mGralloc->allocate(mDummyDescriptorInfo, false)); in TEST_P()
200 mGralloc->getMapper()->importBuffer(rawHandle, [&](const auto& tmpError, const auto& buffer) { in TEST_P()
212 ASSERT_NO_FATAL_FAILURE(mGralloc->freeBuffer(rawHandle)); in TEST_P()
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc0Hal.h76 Error importBuffer(const native_handle_t* rawHandle, in importBuffer() argument
78 native_handle_t* bufferHandle = native_handle_clone(rawHandle); in importBuffer()
DGralloc1Hal.h96 Error importBuffer(const native_handle_t* rawHandle, in importBuffer() argument
98 native_handle_t* bufferHandle = native_handle_clone(rawHandle); in importBuffer()
/hardware/libhardware/include/hardware/
Dgralloc1.h814 gralloc1_device_t* device, const buffer_handle_t rawHandle,
/hardware/interfaces/graphics/mapper/2.0/
DIMapper.hal106 * @param rawHandle is the raw buffer handle to import.
116 importBuffer(handle rawHandle) generates (Error error, pointer buffer);
/hardware/interfaces/graphics/mapper/3.0/
DIMapper.hal108 * @param rawHandle Raw buffer handle to import.
117 importBuffer(handle rawHandle) generates (Error error, pointer buffer);