/hardware/interfaces/graphics/composer/2.1/utils/resources/ |
D | ComposerResources.cpp | 36 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/ |
D | ComposerResources.h | 46 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/ |
D | MapperVts.h | 122 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/ |
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/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/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/3.0/utils/vts/ |
D | MapperVts.cpp | 82 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/ |
D | MapperVts.h | 66 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/ |
D | ComposerResources.h | 63 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/ |
D | IResourceManager.h | 66 const buffer_handle_t rawHandle, 70 const buffer_handle_t rawHandle,
|
/hardware/google/graphics/common/hwc3/impl/ |
D | ResourceManager.h | 68 const buffer_handle_t rawHandle, 72 const buffer_handle_t rawHandle,
|
D | ResourceManager.cpp | 213 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/ |
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/mapper/4.0/utils/vts/ |
D | MapperVts.cpp | 88 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/ |
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/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/google/gchips/gralloc4/src/4.x/ |
D | GrallocMapper.cpp | 59 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()
|
D | GrallocMapper.h | 51 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/ |
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/interfaces/graphics/mapper/3.0/vts/functional/ |
D | VtsHalGraphicsMapperV3_0TargetTest.cpp | 197 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/ |
D | GrallocWrapper.h | 51 Error importBuffer(const hardware::hidl_handle& rawHandle,
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/fuzzer/ |
D | VehicleManager_fuzzer.cpp | 180 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()
|