/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 | 80 createDescriptor_cb hidl_cb) { in createDescriptor() argument 90 hidl_cb(err, descriptor); in createDescriptor() 94 Return<void> QtiMapper::importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) { in importBuffer() argument 97 hidl_cb(Error::BAD_BUFFER, nullptr); in importBuffer() 104 hidl_cb(Error::NO_RESOURCES, nullptr); in importBuffer() 114 hidl_cb(error, nullptr); in importBuffer() 119 hidl_cb(Error::NONE, buffer_handle); in importBuffer() 177 const hidl_handle &acquire_fence, lock_cb hidl_cb) { in lock() argument 180 hidl_cb(err, nullptr, -1, -1); in lock() 186 hidl_cb(err, out_data, gralloc::GetBpp(hnd->format), hnd->width); in lock() [all …]
|
D | QtiMapper.h | 75 createDescriptor_cb hidl_cb) override; 76 Return<void> importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) override; 79 const hidl_handle &acquire_fence, lock_cb hidl_cb) override; 81 const hidl_handle &acquire_fence, lockYCbCr_cb hidl_cb) override; 82 Return<void> unlock(void *buffer, unlock_cb hidl_cb) override; 87 Return<void> getTransportSize(void *buffer, IMapper_3_0::getTransportSize_cb hidl_cb) override; 90 IMapper_3_0::isSupported_cb hidl_cb) override; 92 Return<void> getMapperExtensions(getMapperExtensions_cb hidl_cb);
|
D | QtiAllocator.cpp | 54 Return<void> QtiAllocator::dumpDebugInfo(dumpDebugInfo_cb hidl_cb) { in dumpDebugInfo() argument 59 hidl_cb(reply); in dumpDebugInfo() 64 allocate_cb hidl_cb) { in allocate() argument 70 hidl_cb(err, 0, hidl_vec<hidl_handle>()); in allocate() 92 hidl_cb(err, stride, hidl_buffers); in allocate()
|
/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() 96 const hidl_handle& acquireFence, IMapper::lock_cb hidl_cb) override { in lock() argument 99 hidl_cb(Error::BAD_BUFFER, nullptr); in lock() 106 hidl_cb(error, nullptr); in lock() [all …]
|
/hardware/qcom/sdm845/display/gralloc/ |
D | QtiMapper.cpp | 80 createDescriptor_cb hidl_cb) { in createDescriptor() argument 90 hidl_cb(err, descriptor); in createDescriptor() 94 Return<void> QtiMapper::importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) { in importBuffer() argument 97 hidl_cb(Error::BAD_BUFFER, nullptr); in importBuffer() 104 hidl_cb(Error::NO_RESOURCES, nullptr); in importBuffer() 114 hidl_cb(error, nullptr); in importBuffer() 119 hidl_cb(Error::NONE, buffer_handle); in importBuffer() 177 const hidl_handle &acquire_fence, lock_cb hidl_cb) { in lock() argument 180 hidl_cb(err, nullptr); in lock() 186 hidl_cb(Error::NONE, out_data); in lock() [all …]
|
D | QtiAllocator.cpp | 54 Return<void> QtiAllocator::dumpDebugInfo(dumpDebugInfo_cb hidl_cb) { in dumpDebugInfo() argument 59 hidl_cb(reply); in dumpDebugInfo() 64 allocate_cb hidl_cb) { in allocate() argument 70 hidl_cb(err, 0, hidl_vec<hidl_handle>()); in allocate() 92 hidl_cb(err, stride, hidl_buffers); in allocate()
|
D | QtiMapper.h | 73 createDescriptor_cb hidl_cb) override; 74 Return<void> importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) override; 77 const hidl_handle &acquire_fence, lock_cb hidl_cb) override; 79 const hidl_handle &acquire_fence, lockYCbCr_cb hidl_cb) override; 80 Return<void> unlock(void *buffer, unlock_cb hidl_cb) override; 86 Return<void> getTransportSize(void* buffer, IMapper_2_1::getTransportSize_cb hidl_cb) override;
|
/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/wifi/1.3/default/ |
D | hidl_return_util.h | 45 const std::function<void(const WifiStatus&)>& hidl_cb, Args&&... args) { in validateAndCall() argument 48 hidl_cb((obj->*work)(std::forward<Args>(args)...)); in validateAndCall() 50 hidl_cb(createWifiStatus(status_code_if_invalid)); in validateAndCall() 61 const std::function<void(const WifiStatus&)>& hidl_cb, Args&&... args) { in validateAndCallWithLock() argument 64 hidl_cb((obj->*work)(&lock, std::forward<Args>(args)...)); in validateAndCallWithLock() 66 hidl_cb(createWifiStatus(status_code_if_invalid)); in validateAndCallWithLock() 76 const std::function<void(const WifiStatus&, ReturnT)>& hidl_cb, in validateAndCall() argument 83 hidl_cb(status, ret_value); in validateAndCall() 85 hidl_cb(createWifiStatus(status_code_if_invalid), in validateAndCall() 97 const std::function<void(const WifiStatus&, ReturnT1, ReturnT2)>& hidl_cb, in validateAndCall() argument [all …]
|
/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/sdm845/data/ipacfg-mgr/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/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/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/ |
D | ComposerClient.h | 133 IComposerClient::createVirtualDisplay_cb hidl_cb) override { in createVirtualDisplay() argument 140 hidl_cb(err, display, formatHint); in createVirtualDisplay() 154 IComposerClient::createLayer_cb hidl_cb) override { in createLayer() argument 168 hidl_cb(err, layer); in createLayer() 182 IComposerClient::getActiveConfig_cb hidl_cb) override { in getActiveConfig() argument 185 hidl_cb(err, config); in getActiveConfig() 196 IComposerClient::getColorModes_cb hidl_cb) override { in getColorModes() argument 199 hidl_cb(err, modes); in getColorModes() 205 IComposerClient::getDisplayAttribute_cb hidl_cb) override { in getDisplayAttribute() argument 208 hidl_cb(err, value); in getDisplayAttribute() [all …]
|
D | Composer.h | 56 Return<void> getCapabilities(IComposer::getCapabilities_cb hidl_cb) override { in getCapabilities() argument 72 hidl_cb(caps_reply); in getCapabilities() 76 Return<void> dumpDebugInfo(IComposer::dumpDebugInfo_cb hidl_cb) override { in dumpDebugInfo() argument 77 hidl_cb(mHal->dumpDebugInfo()); in dumpDebugInfo() 81 Return<void> createClient(IComposer::createClient_cb hidl_cb) override { in createClient() argument 85 hidl_cb(Error::NO_RESOURCES, nullptr); in createClient() 91 hidl_cb(Error::NO_RESOURCES, nullptr); in createClient() 96 hidl_cb(Error::NONE, client); in createClient()
|
/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()
|
/hardware/nxp/nfc/1.2/ |
D | Nfc.cpp | 133 Return<void> Nfc::getConfig(getConfig_cb hidl_cb) { in getConfig() argument 136 hidl_cb(nfcVendorConfig); in getConfig() 141 Return<void> Nfc::getConfig_1_2(getConfig_1_2_cb hidl_cb) { in getConfig_1_2() argument 144 hidl_cb(nfcVendorConfig); in getConfig_1_2()
|
/hardware/interfaces/bluetooth/audio/2.0/vts/functional/ |
D | VtsHalBluetoothAudioV2_0TargetTest.cpp | 156 auto hidl_cb = [& temp_capabilities = this->temp_provider_capabilities_]( in GetProviderCapabilitiesHelper() local 162 providers_factory_->getProviderCapabilities(session_type, hidl_cb); in GetProviderCapabilitiesHelper() 220 auto hidl_cb = [&cb_status, &local_provider = this->audio_provider_]( in OpenProviderHelper() local 226 auto hidl_retval = providers_factory_->openProvider(session_type, hidl_cb); in OpenProviderHelper() 335 auto hidl_cb = [&is_codec_config_valid, &tempDataMQ]( in TEST_P() local 358 audio_provider_->startSession(audio_port_, audio_config, hidl_cb); in TEST_P() 620 auto hidl_cb = [](BluetoothAudioStatus status, in TEST_P() local 629 audio_provider_->startSession(audio_port_, audio_config, hidl_cb); in TEST_P() 655 auto hidl_cb = [](BluetoothAudioStatus status, in TEST_P() local 664 audio_provider_->startSession(audio_port_, audio_config, hidl_cb); in TEST_P() [all …]
|
/hardware/st/nfc/1.2/ |
D | Nfc.cpp | 139 Return<void> Nfc::getConfig(getConfig_cb hidl_cb) { in getConfig() argument 142 hidl_cb(nfcVendorConfig); in getConfig() 146 Return<void> Nfc::getConfig_1_2(getConfig_1_2_cb hidl_cb) { in getConfig_1_2() argument 149 hidl_cb(nfcVendorConfig); in getConfig_1_2()
|
/hardware/nxp/nfc/1.1/ |
D | Nfc.cpp | 134 Return<void> Nfc::getConfig(getConfig_cb hidl_cb) { in getConfig() argument 137 hidl_cb(nfcVendorConfig); in getConfig()
|
/hardware/st/nfc/1.1/ |
D | Nfc.cpp | 138 Return<void> Nfc::getConfig(getConfig_cb hidl_cb) { in getConfig() argument 141 hidl_cb(nfcVendorConfig); in getConfig()
|