Home
last modified time | relevance | path

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

12

/hardware/interfaces/graphics/composer/2.1/utils/resources/
DComposerResources.cpp36 Error ComposerHandleImporter::importBuffer(const native_handle_t* rawHandle, in importBuffer() argument
38 if (!rawHandle || (!rawHandle->numFds && !rawHandle->numInts)) { in importBuffer()
43 status_t status = mMapper.importBufferNoValidate(rawHandle, outBufferHandle); in importBuffer()
57 Error ComposerHandleImporter::importStream(const native_handle_t* rawHandle, in importStream() argument
60 if (rawHandle) { in importStream()
61 streamHandle = native_handle_clone(rawHandle); in importStream()
345 const native_handle_t* rawHandle, in getDisplayClientTarget() argument
348 return getHandle(display, 0, slot, Cache::CLIENT_TARGET, fromCache, rawHandle, outBufferHandle, in getDisplayClientTarget()
353 const native_handle_t* rawHandle, in getDisplayOutputBuffer() argument
356 return getHandle(display, 0, slot, Cache::OUTPUT_BUFFER, fromCache, rawHandle, outBufferHandle, in getDisplayOutputBuffer()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/resources/include/composer-resources/2.1/
DComposerResources.h46 Error importBuffer(const native_handle_t* rawHandle, const native_handle_t** outBufferHandle);
48 Error importStream(const native_handle_t* rawHandle, const native_handle_t** outStreamHandle);
215 const native_handle_t* rawHandle,
220 const native_handle_t* rawHandle,
225 const native_handle_t* rawHandle, const native_handle_t** outBufferHandle,
228 Error getLayerSidebandStream(Display display, Layer layer, const native_handle_t* rawHandle,
254 const native_handle_t* rawHandle, const native_handle_t** outHandle,
/hardware/interfaces/graphics/mapper/4.0/utils/vts/include/mapper-vts/4.0/
DMapperVts.h122 const native_handle_t* importBuffer(const hidl_handle& rawHandle, enum Tolerance tolerance);
123 const native_handle_t* importBuffer(const hidl_handle& rawHandle) { in importBuffer() argument
124 return importBuffer(rawHandle, Tolerance::kToleranceStrict); in importBuffer()
176 const native_handle_t* cloneBuffer(const hidl_handle& rawHandle, enum Tolerance tolerance);
177 const native_handle_t* cloneBuffer(const hidl_handle& rawHandle) { in cloneBuffer() argument
178 return cloneBuffer(rawHandle, Tolerance::kToleranceStrict); in cloneBuffer()
/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/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/composer/2.2/utils/resources/
DComposerResources.cpp47 Error ComposerResources::getDisplayReadbackBuffer(Display display, const native_handle_t* rawHandle, in getDisplayReadbackBuffer() argument
52 Error error = mImporter.importBuffer(rawHandle, &importedHandle); in getDisplayReadbackBuffer()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp82 const native_handle_t* Gralloc::cloneBuffer(const hidl_handle& rawHandle) { in cloneBuffer() argument
83 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer()
157 const native_handle_t* Gralloc::importBuffer(const hidl_handle& rawHandle) { in importBuffer() argument
159 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer()
161 << "failed to import buffer %p" << rawHandle.getNativeHandle(); in importBuffer()
/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/graphics/composer/2.2/utils/resources/include/composer-resources/2.2/
DComposerResources.h63 Error getDisplayReadbackBuffer(Display display, const native_handle_t* rawHandle, in getDisplayReadbackBuffer() argument
68 Error error = mImporter.importBuffer(rawHandle, &importedHandle); in getDisplayReadbackBuffer()
/hardware/google/graphics/common/hwc3/include/
DIResourceManager.h66 const buffer_handle_t rawHandle,
70 const buffer_handle_t rawHandle,
/hardware/google/graphics/common/hwc3/impl/
DResourceManager.h68 const buffer_handle_t rawHandle,
72 const buffer_handle_t rawHandle,
DResourceManager.cpp213 bool fromCache, const buffer_handle_t rawHandle, in getLayerBuffer() argument
224 rawHandle, &outBufferHandle, in getLayerBuffer()
233 const buffer_handle_t rawHandle, in getLayerSidebandStream() argument
243 Error hwcErr = mResources->getLayerSidebandStream(hwcDisplay, hwcLayer, rawHandle, in getLayerSidebandStream()
/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/4.0/utils/vts/
DMapperVts.cpp88 const native_handle_t* Gralloc::cloneBuffer(const hidl_handle& rawHandle, in cloneBuffer() argument
90 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer()
190 const native_handle_t* Gralloc::importBuffer(const hidl_handle& rawHandle, in importBuffer() argument
193 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer()
196 << "failed to import buffer %p" << rawHandle.getNativeHandle(); in importBuffer()
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerCommandEngine.h216 auto rawHandle = readHandle(&useCache); in executeSetClientTarget() local
224 auto err = mResources->getDisplayClientTarget(mCurrentDisplay, slot, useCache, rawHandle, in executeSetClientTarget()
364 auto rawHandle = readHandle(&useCache); in executeSetLayerBuffer() local
371 rawHandle, &buffer, &replacedBuffer); in executeSetLayerBuffer()
486 auto rawHandle = readHandle(); in executeSetLayerSidebandStream() local
490 auto err = mResources->getLayerSidebandStream(mCurrentDisplay, mCurrentLayer, rawHandle, in executeSetLayerSidebandStream()
/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/google/gchips/gralloc4/src/4.x/
DGrallocMapper.cpp59 Return<void> GrallocMapper::importBuffer(const hidl_handle &rawHandle, importBuffer_cb hidl_cb) in importBuffer() argument
61 if (!rawHandle.getNativeHandle()) { in importBuffer()
66 auto *inHandle = const_cast<native_handle_t *>(rawHandle.getNativeHandle()); in importBuffer()
DGrallocMapper.h51 Return<void> importBuffer(const hidl_handle &rawHandle, importBuffer_cb hidl_cb) override;
/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/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp197 const native_handle_t* rawHandle; in TEST_P() local
198 ASSERT_NO_FATAL_FAILURE(rawHandle = mGralloc->allocate(mDummyDescriptorInfo, false)); in TEST_P()
201 mGralloc->getMapper()->importBuffer(rawHandle, [&](const auto& tmpError, const auto& buffer) { in TEST_P()
213 ASSERT_NO_FATAL_FAILURE(mGralloc->freeBuffer(rawHandle)); in TEST_P()
/hardware/google/gchips/include/
DGrallocWrapper.h51 Error importBuffer(const hardware::hidl_handle& rawHandle,
/hardware/interfaces/automotive/vehicle/2.0/default/tests/fuzzer/
DVehicleManager_fuzzer.cpp180 native_handle_t* rawHandle = native_handle_create(/*numFds=*/1, /*numInts=*/0); in invokeDebug() local
181 fd.setTo(native_handle_clone(rawHandle), /*shouldOwn=*/true); in invokeDebug()
204 native_handle_delete(rawHandle); in invokeDebug()

12