Searched defs:rawHandle (Results 1 - 6 of 6) sorted by relevance

/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/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/sensors/1.0/vts/functional/
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/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.1/utils/hal/include/composer-hal/2.1/
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,
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...]

Completed in 123 milliseconds