Home
last modified time | relevance | path

Searched refs:hidl_cb (Results 1 – 9 of 9) sorted by relevance

/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapper.h50 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/wifi/1.2/default/
Dhidl_return_util.h45 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/
DComposerClient.h52 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/
DHAL.cpp255 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/
DComposerClient.h132 IComposerClient::createVirtualDisplay_cb hidl_cb) override { in createVirtualDisplay() argument
139 hidl_cb(err, display, formatHint); in createVirtualDisplay()
153 IComposerClient::createLayer_cb hidl_cb) override { in createLayer() argument
167 hidl_cb(err, layer); in createLayer()
181 IComposerClient::getActiveConfig_cb hidl_cb) override { in getActiveConfig() argument
184 hidl_cb(err, config); in getActiveConfig()
195 IComposerClient::getColorModes_cb hidl_cb) override { in getColorModes() argument
198 hidl_cb(err, modes); in getColorModes()
204 IComposerClient::getDisplayAttribute_cb hidl_cb) override { in getDisplayAttribute() argument
207 hidl_cb(err, value); in getDisplayAttribute()
[all …]
DComposer.h56 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
84 hidl_cb(Error::NO_RESOURCES, nullptr); in createClient()
90 hidl_cb(Error::NO_RESOURCES, nullptr); in createClient()
95 hidl_cb(Error::NONE, client); in createClient()
/hardware/interfaces/graphics/allocator/2.0/utils/hal/include/allocator-hal/2.0/
DAllocator.h52 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/
DMapper.h52 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.1/
DNfc.cpp134 Return<void> Nfc::getConfig(getConfig_cb hidl_cb) { in getConfig() argument
137 hidl_cb(nfcVendorConfig); in getConfig()