Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/mapper/2.0/default/
DGrallocMapper.cpp116 const BufferDescriptorInfo& descriptorInfo, createDescriptor_cb hidl_cb) { in createDescriptor() argument
118 hidl_cb(Error::NONE, grallocEncodeBufferDescriptor(descriptorInfo)); in createDescriptor()
120 hidl_cb(Error::BAD_VALUE, BufferDescriptor()); in createDescriptor()
127 importBuffer_cb hidl_cb) { in importBuffer() argument
132 hidl_cb(Error::BAD_BUFFER, nullptr); in importBuffer()
139 hidl_cb(Error::NO_RESOURCES, nullptr); in importBuffer()
148 hidl_cb(error, nullptr); in importBuffer()
164 hidl_cb(Error::NO_RESOURCES, nullptr); in importBuffer()
168 hidl_cb(Error::NONE, bufferHandle); in importBuffer()
226 lock_cb hidl_cb) { in lock() argument
[all …]
DGrallocMapper.h37 createDescriptor_cb hidl_cb) override;
39 importBuffer_cb hidl_cb) override;
44 lock_cb hidl_cb) override;
48 lockYCbCr_cb hidl_cb) override;
49 Return<void> unlock(void* buffer, unlock_cb hidl_cb) override;
/hardware/interfaces/wifi/1.0/default/
Dhidl_return_util.h46 const std::function<void(const WifiStatus&)>& hidl_cb, in validateAndCall() argument
50 hidl_cb((obj->*work)(std::forward<Args>(args)...)); in validateAndCall()
52 hidl_cb(createWifiStatus(status_code_if_invalid)); in validateAndCall()
64 const std::function<void(const WifiStatus&, ReturnT)>& hidl_cb, in validateAndCall() argument
71 hidl_cb(status, ret_value); in validateAndCall()
73 hidl_cb(createWifiStatus(status_code_if_invalid), in validateAndCall()
90 const std::function<void(const WifiStatus&, ReturnT1, ReturnT2)>& hidl_cb, in validateAndCall() argument
98 hidl_cb(status, ret_value1, ret_value2); in validateAndCall()
100 hidl_cb(createWifiStatus(status_code_if_invalid), in validateAndCall()
/hardware/interfaces/graphics/composer/2.1/default/
DComposerClient.h71 createVirtualDisplay_cb hidl_cb) override;
74 createLayer_cb hidl_cb) override;
77 getActiveConfig_cb hidl_cb) override;
82 getColorModes_cb hidl_cb) override;
85 getDisplayAttribute_cb hidl_cb) override;
87 getDisplayConfigs_cb hidl_cb) override;
89 getDisplayName_cb hidl_cb) override;
91 getDisplayType_cb hidl_cb) override;
93 getDozeSupport_cb hidl_cb) override;
95 getHdrCapabilities_cb hidl_cb) override;
[all …]
DComposerClient.cpp267 createVirtualDisplay_cb hidl_cb) in createVirtualDisplay() argument
279 hidl_cb(err, display, formatHint); in createVirtualDisplay()
296 uint32_t bufferSlotCount, createLayer_cb hidl_cb) in createLayer() argument
308 hidl_cb(err, layer); in createLayer()
326 getActiveConfig_cb hidl_cb) in getActiveConfig() argument
331 hidl_cb(err, config); in getActiveConfig()
345 getColorModes_cb hidl_cb) in getColorModes() argument
350 hidl_cb(err, modes); in getColorModes()
356 getDisplayAttribute_cb hidl_cb) in getDisplayAttribute() argument
361 hidl_cb(err, value); in getDisplayAttribute()
[all …]
DHwc.h61 Return<void> getCapabilities(getCapabilities_cb hidl_cb) override;
62 Return<void> dumpDebugInfo(dumpDebugInfo_cb hidl_cb) override;
63 Return<void> createClient(createClient_cb hidl_cb) override;
DHwc.cpp186 Return<void> HwcHal::getCapabilities(getCapabilities_cb hidl_cb) in getCapabilities() argument
193 hidl_cb(caps_reply); in getCapabilities()
198 Return<void> HwcHal::dumpDebugInfo(dumpDebugInfo_cb hidl_cb) in dumpDebugInfo() argument
210 hidl_cb(buf_reply); in dumpDebugInfo()
215 Return<void> HwcHal::createClient(createClient_cb hidl_cb) in createClient() argument
233 hidl_cb(err, client); in createClient()
/hardware/interfaces/graphics/allocator/2.0/default/
DGralloc0Allocator.cpp50 Return<void> Gralloc0Allocator::dumpDebugInfo(dumpDebugInfo_cb hidl_cb) { in dumpDebugInfo() argument
57 hidl_cb(hidl_string(buf)); in dumpDebugInfo()
63 uint32_t count, allocate_cb hidl_cb) { in allocate() argument
66 hidl_cb(Error::BAD_DESCRIPTOR, 0, hidl_vec<hidl_handle>()); in allocate()
102 hidl_cb(error, stride, hidl_buffers); in allocate()
DGralloc0Allocator.h41 Return<void> dumpDebugInfo(dumpDebugInfo_cb hidl_cb) override;
43 allocate_cb hidl_cb) override;
DGralloc1Allocator.cpp103 Return<void> Gralloc1Allocator::dumpDebugInfo(dumpDebugInfo_cb hidl_cb) { in dumpDebugInfo() argument
114 hidl_cb(reply); in dumpDebugInfo()
120 uint32_t count, allocate_cb hidl_cb) { in allocate() argument
123 hidl_cb(Error::BAD_DESCRIPTOR, 0, hidl_vec<hidl_handle>()); in allocate()
130 hidl_cb(error, 0, hidl_vec<hidl_handle>()); in allocate()
167 hidl_cb(error, stride, hidl_buffers); in allocate()
DGralloc1Allocator.h41 Return<void> dumpDebugInfo(dumpDebugInfo_cb hidl_cb) override;
43 allocate_cb hidl_cb) override;