Home
last modified time | relevance | path

Searched refs:eventCallback (Results 1 - 4 of 4) sorted by relevance

/drivers/peripheral/wlan/chip/hdi_service/
H A Dwifi.h43 int32_t RegisterWifiEventCallback(const sptr<IChipControllerCallback>& eventCallback) override;
61 int32_t AddWifiDeathRecipient(const sptr<IChipControllerCallback>& eventCallback);
62 int32_t RemoveWifiDeathRecipient(const sptr<IChipControllerCallback>& eventCallback);
H A Dwifi.cpp65 int32_t Wifi::RegisterWifiEventCallback(const sptr<IChipControllerCallback>& eventCallback) in RegisterWifiEventCallback() argument
67 if (AddWifiDeathRecipient(eventCallback) != HDF_SUCCESS) { in RegisterWifiEventCallback()
71 if (!cbHandler_.AddCallback(eventCallback)) { in RegisterWifiEventCallback()
247 int32_t Wifi::AddWifiDeathRecipient(const sptr<IChipControllerCallback>& eventCallback) in AddWifiDeathRecipient() argument
250 const sptr<IRemoteObject>& remote = OHOS::HDI::hdi_objcast<IChipControllerCallback>(eventCallback); in AddWifiDeathRecipient()
259 int32_t Wifi::RemoveWifiDeathRecipient(const sptr<IChipControllerCallback>& eventCallback) in RemoveWifiDeathRecipient() argument
262 const sptr<IRemoteObject>& remote = OHOS::HDI::hdi_objcast<IChipControllerCallback>(eventCallback); in RemoveWifiDeathRecipient()
/drivers/hdf_core/adapter/platform/uart/
H A Duart_gr5xx.c42 app_uart_evt_handler_t eventCallback; member
166 ret = app_uart_init(params, udd->eventCallback, &udd->txBuffer); in Gr5xxUartConfig()
437 udd->eventCallback = g_evtHandler[udd->id]; in UartHostDevInit()
646 udd->eventCallback = NULL; in UartDevAttach()
/drivers/peripheral/usb/test/unittest/device_sdk/
H A Dusb_device_sdk_if_test.cpp868 static void eventCallback(struct UsbFnEvent *event) in eventCallback() function
887 ret = UsbFnStartRecvInterfaceEvent(g_acmDevice->ctrlIface.fn, 0x0, eventCallback, g_acmDevice); in HWTEST_F()
896 ret = UsbFnStartRecvInterfaceEvent(nullptr, 0xff, eventCallback, g_acmDevice); in HWTEST_F()
907 ret = UsbFnStartRecvInterfaceEvent(g_acmDevice->ctrlIface.fn, 0xff, eventCallback, g_acmDevice); in HWTEST_F()
920 ret = UsbFnStartRecvInterfaceEvent(g_acmDevice->ctrlIface.fn, 0xff, eventCallback, g_acmDevice); in HWTEST_F()
930 ret = UsbFnStartRecvInterfaceEvent(g_acmDevice->ctrlIface.fn, 0xff, eventCallback, g_acmDevice); in HWTEST_F()
939 ret = UsbFnStartRecvInterfaceEvent(g_acmDevice->dataIface.fn, 0xff, eventCallback, g_acmDevice); in HWTEST_F()

Completed in 4 milliseconds