Home
last modified time | relevance | path

Searched refs:handler (Results 1 - 25 of 35) sorted by relevance

12

/drivers/hdf_core/framework/utils/src/
H A Dhdf_message_task.c43 struct IHdfMessageHandler *handler = task->messageHandler; in HdfMessageTaskDispatchMessage() local
44 if ((handler != NULL) && (handler->Dispatch != NULL)) { in HdfMessageTaskDispatchMessage()
45 handler->Dispatch(task, msg); in HdfMessageTaskDispatchMessage()
50 struct HdfMessageLooper *looper, struct IHdfMessageHandler *handler) in HdfMessageTaskConstruct()
54 inst->messageHandler = handler; in HdfMessageTaskConstruct()
49 HdfMessageTaskConstruct(struct HdfMessageTask *inst, struct HdfMessageLooper *looper, struct IHdfMessageHandler *handler) HdfMessageTaskConstruct() argument
/drivers/hdf_core/adapter/khdf/linux/model/camera/src/
H A Dcamera_buffer_manager_adapter.c60 struct VmareaHandler *handler = vma->vm_private_data; in CommonVmOpen() local
61 if (handler == NULL || handler->refCount == NULL) { in CommonVmOpen()
65 refcount_inc(handler->refCount); in CommonVmOpen()
73 struct VmareaHandler *handler = vma->vm_private_data; in CommonVmClose() local
75 if (handler == NULL || handler->arg == NULL) { in CommonVmClose()
79 handler->free(handler->arg); in CommonVmClose()
H A Dvirtual_malloc.c20 struct VmareaHandler handler; member
56 buf->handler.refCount = &buf->refCount; in VmallocMmapAlloc()
57 buf->handler.free = VmallocMmapFree; in VmallocMmapAlloc()
58 buf->handler.arg = buf; in VmallocMmapAlloc()
182 vma->vm_private_data = &buf->handler; in VmallocMmap()
H A Dsg_dma.c26 struct VmareaHandler handler; member
150 buf->handler.refCount = &buf->refCount; in SgMmapAlloc()
151 buf->handler.free = SgMmapFree; in SgMmapAlloc()
152 buf->handler.arg = buf; in SgMmapAlloc()
186 vma->vm_private_data = &buf->handler; in SgMmap()
H A Dcontig_dma.c26 struct VmareaHandler handler; member
114 buf->handler.refCount = &buf->refCount; in ContigMmapAlloc()
115 buf->handler.free = ContigMmapFree; in ContigMmapAlloc()
116 buf->handler.arg = buf; in ContigMmapAlloc()
139 vma->vm_private_data = &buf->handler; in ContigMmap()
/drivers/hdf_core/framework/core/host/src/
H A Dhdf_load_vdi.c51 void *handler = dlopen(resolvedPath, RTLD_LAZY); in HdfLoadVdi() local
52 if (handler == NULL) { in HdfLoadVdi()
58 struct HdfVdiBase **vdiBase = (struct HdfVdiBase **)dlsym(handler, "hdfVdiDesc"); in HdfLoadVdi()
61 dlclose(handler); in HdfLoadVdi()
70 vdiObj->dlHandler = (uintptr_t)handler; in HdfLoadVdi()
/drivers/external_device_manager/services/native/driver_extension/src/
H A Ddriver_extension.cpp57 std::shared_ptr<AbilityHandler> &handler, in Init()
60 ExtensionBase<DriverExtensionContext>::Init(record, application, handler, token); in Init()
67 std::shared_ptr<AbilityHandler> &handler, in CreateAndInitContext()
71 ExtensionBase<DriverExtensionContext>::CreateAndInitContext(record, application, handler, token); in CreateAndInitContext()
55 Init(const std::shared_ptr<AbilityLocalRecord> &record, const std::shared_ptr<OHOSApplication> &application, std::shared_ptr<AbilityHandler> &handler, const sptr<IRemoteObject> &token) Init() argument
64 CreateAndInitContext( const std::shared_ptr<AbilityLocalRecord> &record, const std::shared_ptr<OHOSApplication> &application, std::shared_ptr<AbilityHandler> &handler, const sptr<IRemoteObject> &token) CreateAndInitContext() argument
/drivers/hdf_core/adapter/uhdf2/hdi/src/
H A Dhdi_support.cpp80 HdiImpl() : handler(nullptr), constructor(nullptr), destructor(nullptr), useCount(0) {} in HdiImpl()
84 if (handler != nullptr) { in Unload()
85 dlclose(handler); in Unload()
88 void *handler; member
152 hdiImpl.handler = dlopen(libName.c_str(), RTLD_LAZY); in LoadHdiImpl()
153 if (hdiImpl.handler == nullptr) { in LoadHdiImpl()
158 hdiImpl.constructor = reinterpret_cast<HdiImplInstanceFunc>(dlsym(hdiImpl.handler, symName.data())); in LoadHdiImpl()
165 hdiImpl.destructor = reinterpret_cast<HdiImplReleaseFunc>(dlsym(hdiImpl.handler, desSymName.data())); in LoadHdiImpl()
/drivers/peripheral/distributed_audio/interface/audio/v1_0/
H A Di_audio_manager.h33 virtual int32_t LoadAdapter(const AudioAdapterDescriptorHAL &descriptor, AdapterHandler &handler,
36 virtual int32_t UnloadAdapter(const AdapterHandler &handler) = 0;
/drivers/peripheral/wlan/chip/hdi_service/
H A Dwifi_hal.h77 void VendorHalExit(wifiHandle handle, VendorHalExitHandler handler);
88 VendorHalRestartHandler handler);
111 WifiError (*vendorHalSetRestartHandler)(wifiHandle handle, VendorHalRestartHandler handler);
132 WifiError (*registerExtIfaceCallBack)(const char* ifName, WifiExtCallbackHandler handler);
H A Dwifi_vendor_hal.cpp377 WifiCallbackHandler handler = {OnAsyncGscanFullResult, OnAsyncRssiReport}; in RegisterIfaceCallBack() local
378 globalFuncTable_.registerIfaceCallBack(ifaceName.c_str(), handler); in RegisterIfaceCallBack()
385 WifiCallbackHandler handler = {}; in UnRegisterIfaceCallBack() local
386 globalFuncTable_.registerIfaceCallBack(ifaceName.c_str(), handler); in UnRegisterIfaceCallBack()
395 WifiExtCallbackHandler handler = {OnAsyncWifiNetlinkMsgReport}; in RegisterExtIfaceCallBack() local
396 globalFuncTable_.registerExtIfaceCallBack(ifaceName.c_str(), handler); in RegisterExtIfaceCallBack()
403 WifiExtCallbackHandler handler = {}; in UnRegisterExtIfaceCallBack() local
404 globalFuncTable_.registerExtIfaceCallBack(ifaceName.c_str(), handler); in UnRegisterExtIfaceCallBack()
/drivers/external_device_manager/services/native/driver_extension/include/
H A Ddriver_extension.h41 * @param handler the extension handler.
48 std::shared_ptr<AbilityHandler> &handler,
56 * @param handler the extension handler.
61 std::shared_ptr<AbilityHandler> &handler,
/drivers/external_device_manager/test/moduletest/bus_extension_core_mt/
H A Dbus_extension_core_mt.cpp48 void *handler = dlopen(libPath.c_str(), RTLD_LAZY); in main() local
49 if (handler == nullptr) { in main()
/drivers/hdf_core/adapter/platform/spi/
H A Dspi_bes.h60 int (*SpiDmaSend)(const void *data, uint32_t len, HAL_SPI_DMA_HANDLER_T handler);
61 int (*SpiDmaRecv)(const void *cmd, void *data, uint32_t len, HAL_SPI_DMA_HANDLER_T handler);
/drivers/hdf_core/adapter/uhdf2/host/src/
H A Dhdf_device_thread.c82 static struct IHdfMessageHandler handler = { in DeviceThreadConstruct() local
87 HdfMessageTaskConstruct(&inst->task, &inst->looper, &handler); in DeviceThreadConstruct()
H A Ddevhost_service_full.c205 static struct IHdfMessageHandler handler = {.Dispatch = DevHostServiceFullDispatchMessage}; in DevHostServiceFullConstruct() local
212 HdfMessageTaskConstruct(&inst->task, &inst->looper, &handler); in DevHostServiceFullConstruct()
/drivers/peripheral/codec/hal/src/
H A Dcodec_callback_type_stub.c240 void *handler = NULL; in LoadServiceHandler() local
241 handler = dlopen(CODEC_CALLBACK_SO_PATH, RTLD_LAZY); in LoadServiceHandler()
242 if (handler == NULL) { in LoadServiceHandler()
247 return handler; in LoadServiceHandler()
/drivers/hdf_core/framework/utils/include/
H A Dhdf_message_task.h35 struct HdfMessageLooper *looper, struct IHdfMessageHandler *handler);
/drivers/peripheral/wlan/client/src/netlink/
H A Dnetlink_adapter.h39 int32_t NetlinkSendCmdSync(struct nl_msg *msg, const RespHandler handler, void *data);
/drivers/external_device_manager/services/native/driver_extension_manager/src/bus_extension/core/
H A Dbus_extension_core.cpp60 void *handler = dlopen(realPath, RTLD_LAZY); in LoadBusExtensionLibs() local
61 if (handler == nullptr) { in LoadBusExtensionLibs()
/drivers/hdf_core/adapter/uhdf2/manager/src/
H A Ddevmgr_service_full.c116 static struct IHdfMessageHandler handler = {.Dispatch = DevmgrServiceFullDispatchMessage}; in DevmgrServiceFullConstruct() local
120 HdfMessageTaskConstruct(&inst->task, &inst->looper, &handler); in DevmgrServiceFullConstruct()
/drivers/hdf_core/framework/model/network/wifi/platform/include/message/
H A Dsidecar.h89 MessageHandler handler; member
103 .handler = (HANDLER), \
/drivers/peripheral/wlan/test/unittest/chip/
H A Dwifi_hal_fn.cpp32 void VendorHalExit(wifiHandle handle, VendorHalExitHandler handler) in VendorHalExit() argument
61 WifiError VendorHalSetRestartHandler(wifiHandle handle, VendorHalRestartHandler handler) in VendorHalSetRestartHandler() argument
/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/
H A Daudio_librender_test.cpp569 struct DevHandle *handler = nullptr; in HWTEST_F() local
575 ret = BindServiceAndHwRender(hwRender, BIND_RENDER.c_str(), ADAPTER_NAME, handler); in HWTEST_F()
579 CloseServiceRenderSo(handler); in HWTEST_F()
594 handler, hwRender, wavHeadInfo); in HWTEST_F()
596 CloseServiceRenderSo(handler); in HWTEST_F()
601 ret = InterfaceLibOutputRender(handler, AUDIO_DRV_PCM_IOCTRL_STOP, &hwRender->renderParam); in HWTEST_F()
603 ret = InterfaceLibOutputRender(handler, AUDIO_DRV_PCM_IOCTRL_RENDER_CLOSE, &hwRender->renderParam); in HWTEST_F()
606 CloseServiceRenderSo(handler); in HWTEST_F()
/drivers/hdf_core/framework/model/network/wifi/platform/src/message/nodes/
H A Dlocal_node.c45 if (messageDef.handler == NULL) { in HandleRequestMessage()
48 context->responseStatus = messageDef.handler((RequestContext *)context, context->reqData, context->rspData); in HandleRequestMessage()
109 localService->mapper->messages[context->commandId].handler == NULL) { in SendMessageLocalNode()

Completed in 15 milliseconds

12