/hardware/google/gchips/gralloc4/src/4.x/ |
D | GrallocMapper.cpp | 44 …ocMapper::createDescriptor(const BufferDescriptorInfo &descriptorInfo, createDescriptor_cb hidl_cb) in createDescriptor() argument 48 hidl_cb(hidl::Error::NONE, common::grallocEncodeBufferDescriptor<uint8_t>(descriptorInfo)); in createDescriptor() 53 hidl_cb(hidl::Error::BAD_VALUE, BufferDescriptor()); in createDescriptor() 59 Return<void> GrallocMapper::importBuffer(const hidl_handle &rawHandle, importBuffer_cb hidl_cb) in importBuffer() argument 62 hidl_cb(hidl::Error::BAD_BUFFER, nullptr); in importBuffer() 72 hidl_cb(err, static_cast<void*>(const_cast<native_handle_t*>(outHandle))); in importBuffer() 108 const hidl_handle &acquireFence, lock_cb hidl_cb) in lock() argument 113 hidl_cb(hidl::Error::BAD_VALUE, nullptr); in lock() 121 hidl_cb(err, outData); in lock() 143 Return<void> GrallocMapper::unlock(void *buffer, unlock_cb hidl_cb) in unlock() argument [all …]
|
D | GrallocMapper.h | 49 …createDescriptor(const BufferDescriptorInfo &descriptorInfo, createDescriptor_cb hidl_cb) override; 51 Return<void> importBuffer(const hidl_handle &rawHandle, importBuffer_cb hidl_cb) override; 61 const hidl_handle &acquireFence, lock_cb hidl_cb) override; 63 Return<void> unlock(void *buffer, unlock_cb hidl_cb) override; 65 Return<void> flushLockedBuffer(void *buffer, flushLockedBuffer_cb hidl_cb) override; 69 …Return<void> isSupported(const IMapper::BufferDescriptorInfo &description, isSupported_cb hidl_cb)… 71 Return<void> get(void *buffer, const MetadataType &metadataType, IMapper::get_cb hidl_cb) override; 76 getFromBufferDescriptorInfo_cb hidl_cb) override;
|
/hardware/qcom/sm7250/display/gralloc/ |
D | QtiMapperExtensions.cpp | 51 getMapSecureBufferFlag_cb hidl_cb) { in getMapSecureBufferFlag() argument 62 hidl_cb(err, map_secure_buffer != 0); in getMapSecureBufferFlag() 66 Return<void> QtiMapperExtensions::getInterlacedFlag(void *buffer, getInterlacedFlag_cb hidl_cb) { in getInterlacedFlag() argument 77 hidl_cb(err, interlaced_flag != 0); in getInterlacedFlag() 82 getCustomDimensions_cb hidl_cb) { in getCustomDimensions() argument 93 hidl_cb(err, stride, height); in getCustomDimensions() 97 Return<void> QtiMapperExtensions::getRgbDataAddress(void *buffer, getRgbDataAddress_cb hidl_cb) { in getRgbDataAddress() argument 106 hidl_cb(err, rgb_data); in getRgbDataAddress() 112 calculateBufferAttributes_cb hidl_cb) { in calculateBufferAttributes() argument 117 hidl_cb(Error::NONE, alignedw, alignedh, ubwc_enabled); in calculateBufferAttributes() [all …]
|
D | QtiMapper.cpp | 81 createDescriptor_cb hidl_cb) { in createDescriptor() argument 91 hidl_cb(err, descriptor); in createDescriptor() 95 Return<void> QtiMapper::importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) { in importBuffer() argument 98 hidl_cb(Error::BAD_BUFFER, nullptr); in importBuffer() 105 hidl_cb(Error::NO_RESOURCES, nullptr); in importBuffer() 116 hidl_cb(error, nullptr); in importBuffer() 121 hidl_cb(Error::NONE, buffer_handle); in importBuffer() 179 const hidl_handle &acquire_fence, lock_cb hidl_cb) { in lock() argument 182 hidl_cb(err, nullptr, -1, -1); in lock() 189 hidl_cb(err, out_data, bytes_per_pixel, hnd->width * bytes_per_pixel); in lock() [all …]
|
D | QtiMapper4.cpp | 88 createDescriptor_cb hidl_cb) { in createDescriptor() argument 98 hidl_cb(err, descriptor); in createDescriptor() 102 Return<void> QtiMapper::importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) { in importBuffer() argument 105 hidl_cb(Error::BAD_BUFFER, nullptr); in importBuffer() 112 hidl_cb(Error::NO_RESOURCES, nullptr); in importBuffer() 123 hidl_cb(error, nullptr); in importBuffer() 128 hidl_cb(Error::NONE, buffer_handle); in importBuffer() 191 const hidl_handle &acquire_fence, lock_cb hidl_cb) { in lock() argument 194 hidl_cb(err, nullptr); in lock() 201 hidl_cb(err, out_data); in lock() [all …]
|
D | QtiAllocator.cpp | 74 Return<void> QtiAllocator::dumpDebugInfo(dumpDebugInfo_cb hidl_cb) { in dumpDebugInfo() argument 79 hidl_cb(reply); in dumpDebugInfo() 84 allocate_cb hidl_cb) { in allocate() argument 91 hidl_cb(static_cast<IMapper_3_0_Error>(err), 0, hidl_vec<hidl_handle>()); in allocate() 113 hidl_cb(static_cast<IMapper_3_0_Error>(err), stride, hidl_buffers); in allocate() 151 allocate_cb hidl_cb) { in allocate() argument 158 hidl_cb(static_cast<IMapper_4_0_Error>(err), 0, hidl_vec<hidl_handle>()); in allocate() 180 hidl_cb(static_cast<IMapper_4_0_Error>(err), stride, hidl_buffers); in allocate()
|
D | QtiMapper.h | 79 createDescriptor_cb hidl_cb) override; 80 Return<void> importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) override; 83 const hidl_handle &acquire_fence, lock_cb hidl_cb) override; 85 const hidl_handle &acquire_fence, lockYCbCr_cb hidl_cb) override; 86 Return<void> unlock(void *buffer, unlock_cb hidl_cb) override; 91 Return<void> getTransportSize(void *buffer, IMapper_3_0::getTransportSize_cb hidl_cb) override; 94 IMapper_3_0::isSupported_cb hidl_cb) override; 96 Return<void> getMapperExtensions(getMapperExtensions_cb hidl_cb);
|
/hardware/qcom/sm8150/display/gralloc/ |
D | QtiMapperExtensions.cpp | 51 getMapSecureBufferFlag_cb hidl_cb) { in getMapSecureBufferFlag() argument 62 hidl_cb(err, map_secure_buffer != 0); in getMapSecureBufferFlag() 66 Return<void> QtiMapperExtensions::getInterlacedFlag(void *buffer, getInterlacedFlag_cb hidl_cb) { in getInterlacedFlag() argument 77 hidl_cb(err, interlaced_flag != 0); in getInterlacedFlag() 82 getCustomDimensions_cb hidl_cb) { in getCustomDimensions() argument 93 hidl_cb(err, stride, height); in getCustomDimensions() 97 Return<void> QtiMapperExtensions::getRgbDataAddress(void *buffer, getRgbDataAddress_cb hidl_cb) { in getRgbDataAddress() argument 106 hidl_cb(err, rgb_data); in getRgbDataAddress() 112 calculateBufferAttributes_cb hidl_cb) { in calculateBufferAttributes() argument 117 hidl_cb(Error::NONE, alignedw, alignedh, ubwc_enabled); in calculateBufferAttributes() [all …]
|
D | QtiMapper.cpp | 81 createDescriptor_cb hidl_cb) { in createDescriptor() argument 91 hidl_cb(err, descriptor); in createDescriptor() 95 Return<void> QtiMapper::importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) { in importBuffer() argument 98 hidl_cb(Error::BAD_BUFFER, nullptr); in importBuffer() 105 hidl_cb(Error::NO_RESOURCES, nullptr); in importBuffer() 116 hidl_cb(error, nullptr); in importBuffer() 121 hidl_cb(Error::NONE, buffer_handle); in importBuffer() 179 const hidl_handle &acquire_fence, lock_cb hidl_cb) { in lock() argument 182 hidl_cb(err, nullptr, -1, -1); in lock() 188 hidl_cb(err, out_data, gralloc::GetBpp(hnd->format), in lock() [all …]
|
D | QtiMapper4.cpp | 88 createDescriptor_cb hidl_cb) { in createDescriptor() argument 98 hidl_cb(err, descriptor); in createDescriptor() 102 Return<void> QtiMapper::importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) { in importBuffer() argument 105 hidl_cb(Error::BAD_BUFFER, nullptr); in importBuffer() 112 hidl_cb(Error::NO_RESOURCES, nullptr); in importBuffer() 123 hidl_cb(error, nullptr); in importBuffer() 128 hidl_cb(Error::NONE, buffer_handle); in importBuffer() 191 const hidl_handle &acquire_fence, lock_cb hidl_cb) { in lock() argument 194 hidl_cb(err, nullptr); in lock() 201 hidl_cb(err, out_data); in lock() [all …]
|
D | QtiAllocator.cpp | 74 Return<void> QtiAllocator::dumpDebugInfo(dumpDebugInfo_cb hidl_cb) { in dumpDebugInfo() argument 79 hidl_cb(reply); in dumpDebugInfo() 84 allocate_cb hidl_cb) { in allocate() argument 91 hidl_cb(static_cast<IMapper_3_0_Error>(err), 0, hidl_vec<hidl_handle>()); in allocate() 113 hidl_cb(static_cast<IMapper_3_0_Error>(err), stride, hidl_buffers); in allocate() 151 allocate_cb hidl_cb) { in allocate() argument 158 hidl_cb(static_cast<IMapper_4_0_Error>(err), 0, hidl_vec<hidl_handle>()); in allocate() 180 hidl_cb(static_cast<IMapper_4_0_Error>(err), stride, hidl_buffers); in allocate()
|
D | QtiMapper.h | 79 createDescriptor_cb hidl_cb) override; 80 Return<void> importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) override; 83 const hidl_handle &acquire_fence, lock_cb hidl_cb) override; 85 const hidl_handle &acquire_fence, lockYCbCr_cb hidl_cb) override; 86 Return<void> unlock(void *buffer, unlock_cb hidl_cb) override; 91 Return<void> getTransportSize(void *buffer, IMapper_3_0::getTransportSize_cb hidl_cb) override; 94 IMapper_3_0::isSupported_cb hidl_cb) override; 96 Return<void> getMapperExtensions(getMapperExtensions_cb hidl_cb);
|
D | QtiMapper4.h | 84 createDescriptor_cb hidl_cb) override; 85 Return<void> importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) override; 88 const hidl_handle &acquire_fence, lock_cb hidl_cb) override; 89 Return<void> unlock(void *buffer, unlock_cb hidl_cb) override; 94 Return<void> getTransportSize(void *buffer, getTransportSize_cb hidl_cb) override; 97 isSupported_cb hidl_cb) override; 99 Return<void> getMapperExtensions(getMapperExtensions_cb hidl_cb); 103 Return<void> get(void *buffer, const MetadataType &metadataType, get_cb hidl_cb) override; 108 getFromBufferDescriptorInfo_cb hidl_cb) override; 109 Return<void> flushLockedBuffer(void *buffer, flushLockedBuffer_cb hidl_cb); [all …]
|
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/ |
D | Mapper.h | 50 IMapper::createDescriptor_cb hidl_cb) override { in createDescriptor() argument 53 hidl_cb(error, descriptor); in createDescriptor() 58 IMapper::importBuffer_cb hidl_cb) override { in importBuffer() argument 60 hidl_cb(Error::BAD_BUFFER, nullptr); in importBuffer() 67 hidl_cb(error, nullptr); in importBuffer() 74 hidl_cb(Error::NO_RESOURCES, nullptr); in importBuffer() 78 hidl_cb(error, buffer); in importBuffer() 92 const hidl_handle& acquireFence, IMapper::lock_cb hidl_cb) override { in lock() argument 95 hidl_cb(Error::BAD_BUFFER, nullptr); in lock() 102 hidl_cb(error, nullptr); in lock() [all …]
|
/hardware/interfaces/graphics/composer/2.3/utils/hal/include/composer-hal/2.3/ |
D | ComposerClient.h | 42 Display display, IComposerClient::getPerFrameMetadataKeys_2_3_cb hidl_cb) override { in getPerFrameMetadataKeys_2_3() argument 45 hidl_cb(error, keys); in getPerFrameMetadataKeys_2_3() 54 IComposerClient::getRenderIntents_2_3_cb hidl_cb) override { in getRenderIntents_2_3() argument 57 hidl_cb(err, intents); in getRenderIntents_2_3() 62 IComposerClient::getColorModes_2_3_cb hidl_cb) override { in getColorModes_2_3() argument 65 hidl_cb(err, modes); in getColorModes_2_3() 70 Display display, IComposerClient::getReadbackBufferAttributes_2_3_cb hidl_cb) override { in getReadbackBufferAttributes_2_3() argument 74 hidl_cb(error, format, dataspace); in getReadbackBufferAttributes_2_3() 79 Display display, IComposerClient::getHdrCapabilities_2_3_cb hidl_cb) override { in getHdrCapabilities_2_3() argument 86 hidl_cb(err, types, max_lumi, max_avg_lumi, min_lumi); in getHdrCapabilities_2_3() [all …]
|
D | Composer.h | 48 Return<void> createClient_2_3(IComposer::createClient_2_3_cb hidl_cb) override { in createClient_2_3() argument 51 hidl_cb(Error::NO_RESOURCES, nullptr); in createClient_2_3() 57 hidl_cb(Error::NO_RESOURCES, nullptr); in createClient_2_3() 65 hidl_cb(Error::NONE, client); in createClient_2_3()
|
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/ |
D | ComposerClient.h | 52 Display display, IComposerClient::getPerFrameMetadataKeys_cb hidl_cb) override { in getPerFrameMetadataKeys() argument 55 hidl_cb(error, keys); in getPerFrameMetadataKeys() 60 Display display, IComposerClient::getReadbackBufferAttributes_cb hidl_cb) override { in getReadbackBufferAttributes() argument 64 hidl_cb(error, format, dataspace); in getReadbackBufferAttributes() 69 Display display, IComposerClient::getReadbackBufferFence_cb hidl_cb) override { in getReadbackBufferFence() argument 73 hidl_cb(error, nullptr); in getReadbackBufferFence() 78 hidl_cb(error, getFenceHandle(fenceFd, fenceStorage)); in getReadbackBufferFence() 104 IComposerClient::createVirtualDisplay_2_2_cb hidl_cb) override { in createVirtualDisplay_2_2() argument 111 hidl_cb(err, display, formatHint); in createVirtualDisplay_2_2() 126 IComposerClient::getColorModes_2_2_cb hidl_cb) override { in getColorModes_2_2() argument [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/ |
D | HAL.cpp | 255 setHandles_cb hidl_cb in setHandles() argument 261 hidl_cb(res.success, res.errMsg); in setHandles() 270 hidl_cb(res.success, res.errMsg); in setHandles() 318 hidl_cb(res.success, res.errMsg); in setHandles() 330 initOffload_cb hidl_cb in initOffload() argument 336 hidl_cb(res.success, res.errMsg); in initOffload() 344 hidl_cb(res.success, res.errMsg); in initOffload() 354 stopOffload_cb hidl_cb in stopOffload() argument 360 hidl_cb(res.success, res.errMsg); in stopOffload() 389 hidl_cb(res.success, res.errMsg); in stopOffload() [all …]
|
/hardware/qcom/sm8150/data/ipacfg-mgr/hal/src/ |
D | HAL.cpp | 257 setHandles_cb hidl_cb in setHandles() argument 263 hidl_cb(res.success, res.errMsg); in setHandles() 272 hidl_cb(res.success, res.errMsg); in setHandles() 320 hidl_cb(res.success, res.errMsg); in setHandles() 332 initOffload_cb hidl_cb in initOffload() argument 338 hidl_cb(res.success, res.errMsg); in initOffload() 346 hidl_cb(res.success, res.errMsg); in initOffload() 356 stopOffload_cb hidl_cb in stopOffload() argument 362 hidl_cb(res.success, res.errMsg); in stopOffload() 391 hidl_cb(res.success, res.errMsg); in stopOffload() [all …]
|
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/ |
D | ComposerClient.h | 143 IComposerClient::createVirtualDisplay_cb hidl_cb) override { in createVirtualDisplay() argument 150 hidl_cb(err, display, formatHint); in createVirtualDisplay() 164 IComposerClient::createLayer_cb hidl_cb) override { in createLayer() argument 178 hidl_cb(err, layer); in createLayer() 192 IComposerClient::getActiveConfig_cb hidl_cb) override { in getActiveConfig() argument 195 hidl_cb(err, config); in getActiveConfig() 206 IComposerClient::getColorModes_cb hidl_cb) override { in getColorModes() argument 209 hidl_cb(err, modes); in getColorModes() 215 IComposerClient::getDisplayAttribute_cb hidl_cb) override { in getDisplayAttribute() argument 218 hidl_cb(err, value); in getDisplayAttribute() [all …]
|
D | Composer.h | 56 Return<void> getCapabilities(IComposer::getCapabilities_cb hidl_cb) override { in getCapabilities() argument 80 hidl_cb(caps_reply); in getCapabilities() 84 Return<void> dumpDebugInfo(IComposer::dumpDebugInfo_cb hidl_cb) override { in dumpDebugInfo() argument 85 hidl_cb(mHal->dumpDebugInfo()); in dumpDebugInfo() 89 Return<void> createClient(IComposer::createClient_cb hidl_cb) override { in createClient() argument 92 hidl_cb(Error::NO_RESOURCES, nullptr); in createClient() 98 hidl_cb(Error::NO_RESOURCES, nullptr); in createClient() 103 hidl_cb(Error::NONE, client); in createClient()
|
/hardware/interfaces/graphics/composer/2.4/utils/hal/include/composer-hal/2.4/ |
D | ComposerClient.h | 117 Display display, IComposerClient::getDisplayCapabilities_2_4_cb hidl_cb) override { in getDisplayCapabilities_2_4() argument 120 hidl_cb(error, capabilities); in getDisplayCapabilities_2_4() 125 Display display, IComposerClient::getDisplayConnectionType_cb hidl_cb) override { in getDisplayConnectionType() argument 128 hidl_cb(error, type); in getDisplayConnectionType() 134 IComposerClient::getDisplayAttribute_2_4_cb hidl_cb) override { in getDisplayAttribute_2_4() argument 137 hidl_cb(error, value); in getDisplayAttribute_2_4() 142 IComposerClient::getDisplayVsyncPeriod_cb hidl_cb) override { in getDisplayVsyncPeriod() argument 145 hidl_cb(error, vsyncPeriods); in getDisplayVsyncPeriod() 152 IComposerClient::setActiveConfigWithConstraints_cb hidl_cb) override { in setActiveConfigWithConstraints() argument 156 hidl_cb(error, timeline); in setActiveConfigWithConstraints() [all …]
|
D | Composer.h | 48 Return<void> createClient_2_4(IComposer::createClient_2_4_cb hidl_cb) override { in createClient_2_4() argument 51 hidl_cb(Error::NO_RESOURCES, nullptr); in createClient_2_4() 57 hidl_cb(Error::NO_RESOURCES, nullptr); in createClient_2_4() 65 hidl_cb(Error::NONE, client); in createClient_2_4()
|
/hardware/interfaces/graphics/allocator/2.0/utils/hal/include/allocator-hal/2.0/ |
D | Allocator.h | 52 Return<void> dumpDebugInfo(IAllocator::dumpDebugInfo_cb hidl_cb) override { in dumpDebugInfo() argument 53 hidl_cb(mHal->dumpDebugInfo()); in dumpDebugInfo() 58 IAllocator::allocate_cb hidl_cb) override { in allocate() argument 63 hidl_cb(error, 0, hidl_vec<hidl_handle>()); in allocate() 68 hidl_cb(Error::NONE, stride, hidlBuffers); in allocate()
|
/hardware/interfaces/graphics/mapper/2.1/utils/hal/include/mapper-hal/2.1/ |
D | Mapper.h | 52 Return<void> getTransportSize(void* buffer, IMapper::getTransportSize_cb hidl_cb) { in getTransportSize() argument 55 hidl_cb(Error::BAD_BUFFER, 0, 0); in getTransportSize() 62 hidl_cb(error, numFds, numInts); in getTransportSize() 67 IMapper::createDescriptor_2_1_cb hidl_cb) override { in createDescriptor_2_1() argument 70 hidl_cb(error, descriptor); in createDescriptor_2_1()
|