/hardware/interfaces/graphics/composer/2.1/utils/resources/ |
D | ComposerResources.cpp | 47 Error ComposerHandleImporter::importBuffer(const native_handle_t* rawHandle, in importBuffer() argument 49 if (!rawHandle || (!rawHandle->numFds && !rawHandle->numInts)) { in importBuffer() 57 mMapper2->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBufferHandle) { in importBuffer() 67 mMapper3->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBufferHandle) { in importBuffer() 77 mMapper4->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBufferHandle) { in importBuffer() 102 Error ComposerHandleImporter::importStream(const native_handle_t* rawHandle, in importStream() argument 105 if (rawHandle) { in importStream() 106 streamHandle = native_handle_clone(rawHandle); in importStream() 354 const native_handle_t* rawHandle, in getDisplayClientTarget() argument 357 return getHandle(display, 0, slot, Cache::CLIENT_TARGET, fromCache, rawHandle, outBufferHandle, in getDisplayClientTarget() [all …]
|
/hardware/interfaces/graphics/mapper/4.0/utils/vts/include/mapper-vts/4.0/ |
D | MapperVts.h | 90 const native_handle_t* importBuffer(const hidl_handle& rawHandle, enum Tolerance tolerance); 91 const native_handle_t* importBuffer(const hidl_handle& rawHandle) { in importBuffer() argument 92 return importBuffer(rawHandle, Tolerance::kToleranceStrict); in importBuffer() 137 const native_handle_t* cloneBuffer(const hidl_handle& rawHandle, enum Tolerance tolerance); 138 const native_handle_t* cloneBuffer(const hidl_handle& rawHandle) { in cloneBuffer() argument 139 return cloneBuffer(rawHandle, Tolerance::kToleranceStrict); in cloneBuffer()
|
/hardware/interfaces/graphics/composer/2.1/utils/resources/include/composer-resources/2.1/ |
D | ComposerResources.h | 47 Error importBuffer(const native_handle_t* rawHandle, const native_handle_t** outBufferHandle); 49 Error importStream(const native_handle_t* rawHandle, const native_handle_t** outStreamHandle); 212 const native_handle_t* rawHandle, 217 const native_handle_t* rawHandle, 222 const native_handle_t* rawHandle, const native_handle_t** outBufferHandle, 225 Error getLayerSidebandStream(Display display, Layer layer, const native_handle_t* rawHandle, 251 const native_handle_t* rawHandle, const native_handle_t** outHandle,
|
/hardware/interfaces/graphics/mapper/2.0/utils/vts/ |
D | MapperVts.cpp | 65 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/composer/2.2/utils/resources/ |
D | ComposerResources.cpp | 47 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/2.0/utils/vts/include/mapper-vts/2.0/ |
D | MapperVts.h | 65 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/ |
D | MapperVts.cpp | 80 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/4.0/utils/vts/ |
D | MapperVts.cpp | 74 const native_handle_t* Gralloc::cloneBuffer(const hidl_handle& rawHandle, in cloneBuffer() argument 76 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer() 160 const native_handle_t* Gralloc::importBuffer(const hidl_handle& rawHandle, in importBuffer() argument 163 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() 166 << "failed to import buffer %p" << rawHandle.getNativeHandle(); in importBuffer()
|
/hardware/interfaces/graphics/composer/2.2/utils/resources/include/composer-resources/2.2/ |
D | ComposerResources.h | 61 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/ |
D | Mapper.h | 57 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()
|
D | MapperHal.h | 38 virtual Error importBuffer(const native_handle_t* rawHandle,
|
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/ |
D | ComposerCommandEngine.h | 216 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/sensors/common/vts/utils/ |
D | GrallocWrapper.cpp | 128 native_handle_t* importBuffer(const hidl_handle& rawHandle); 186 const hidl_handle& rawHandle) { in importBuffer() argument 189 mMapper->importBuffer(rawHandle, [&](auto error, void* tmpBuffer) { in importBuffer() 191 ALOGE("Failed to import buffer %p: %" PRId32, rawHandle.getNativeHandle(), in importBuffer()
|
/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/ |
D | Gralloc1Hal.h | 66 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/ |
D | VtsHalGraphicsMapperV2_0TargetTest.cpp | 196 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/ |
D | VtsHalGraphicsMapperV3_0TargetTest.cpp | 196 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/ |
D | Gralloc0Hal.h | 76 Error importBuffer(const native_handle_t* rawHandle, in importBuffer() argument 78 native_handle_t* bufferHandle = native_handle_clone(rawHandle); in importBuffer()
|
D | Gralloc1Hal.h | 96 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/ |
D | gralloc1.h | 814 gralloc1_device_t* device, const buffer_handle_t rawHandle,
|
/hardware/interfaces/graphics/mapper/2.0/ |
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/4.0/vts/functional/ |
D | VtsHalGraphicsMapperV4_0TargetTest.cpp | 500 const native_handle_t* rawHandle; in TEST_P() local 501 ASSERT_NO_FATAL_FAILURE(rawHandle = mGralloc->allocate(mDummyDescriptorInfo, false)); in TEST_P() 504 mGralloc->getMapper()->importBuffer(rawHandle, [&](const auto& tmpError, const auto& buffer) { in TEST_P() 516 ASSERT_NO_FATAL_FAILURE(mGralloc->freeBuffer(rawHandle)); in TEST_P() 977 const native_handle_t* rawHandle; in TEST_P() local 979 ASSERT_NO_FATAL_FAILURE(rawHandle = mGralloc->allocate(mDummyDescriptorInfo, false, in TEST_P() 984 ASSERT_NO_FATAL_FAILURE(writeBufferHandle = mGralloc->importBuffer(rawHandle)); in TEST_P() 985 ASSERT_NO_FATAL_FAILURE(readBufferHandle = mGralloc->importBuffer(rawHandle)); in TEST_P()
|
/hardware/interfaces/graphics/mapper/3.0/ |
D | IMapper.hal | 108 * @param rawHandle Raw buffer handle to import. 117 importBuffer(handle rawHandle) generates (Error error, pointer buffer);
|
/hardware/interfaces/graphics/mapper/4.0/ |
D | IMapper.hal | 122 * @param rawHandle Raw buffer handle to import. 131 importBuffer(handle rawHandle) generates (Error error, pointer buffer);
|