/drivers/hdf_core/framework/utils/src/ |
H A D | hdf_message_task.c | 43 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 D | camera_buffer_manager_adapter.c | 60 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 D | virtual_malloc.c | 20 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 D | sg_dma.c | 26 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 D | contig_dma.c | 26 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 D | hdf_load_vdi.c | 51 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 D | driver_extension.cpp | 57 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 D | hdi_support.cpp | 80 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 D | i_audio_manager.h | 33 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 D | wifi_hal.h | 77 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 D | wifi_vendor_hal.cpp | 377 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 D | driver_extension.h | 41 * @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 D | bus_extension_core_mt.cpp | 48 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 D | spi_bes.h | 60 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 D | hdf_device_thread.c | 82 static struct IHdfMessageHandler handler = { in DeviceThreadConstruct() local 87 HdfMessageTaskConstruct(&inst->task, &inst->looper, &handler); in DeviceThreadConstruct()
|
H A D | devhost_service_full.c | 205 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 D | codec_callback_type_stub.c | 240 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 D | hdf_message_task.h | 35 struct HdfMessageLooper *looper, struct IHdfMessageHandler *handler);
|
/drivers/peripheral/wlan/client/src/netlink/ |
H A D | netlink_adapter.h | 39 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 D | bus_extension_core.cpp | 60 void *handler = dlopen(realPath, RTLD_LAZY); in LoadBusExtensionLibs() local 61 if (handler == nullptr) { in LoadBusExtensionLibs()
|
/drivers/hdf_core/adapter/uhdf2/manager/src/ |
H A D | devmgr_service_full.c | 116 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 D | sidecar.h | 89 MessageHandler handler; member 103 .handler = (HANDLER), \
|
/drivers/peripheral/wlan/test/unittest/chip/ |
H A D | wifi_hal_fn.cpp | 32 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 D | audio_librender_test.cpp | 569 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 D | local_node.c | 45 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()
|