Home
last modified time | relevance | path

Searched defs:listener (Results 1 – 25 of 45) sorted by relevance

12

/drivers/hdf_core/framework/core/shared/src/
Dioserstat_listener.c14struct HdfDevEventlistener *listener, struct HdfIoService *service, uint32_t id, struct HdfSBuf *d… in OnIoServiceEventReceive()
36 … struct IoServiceStatusListener *listener = OsalMemCalloc(sizeof(struct IoServiceStatusListener)); in IoServiceStatusListenerNewInstance() local
47 void IoServiceStatusListenerFree(struct ServiceStatusListener *listener) in IoServiceStatusListenerFree()
Dsvcmgr_ioservice.c54 struct ISvcMgrIoservice *self, struct ServiceStatusListener *listener, uint16_t deviceClass) in SvcMgrIoserviceRegSvcStatListener()
74 …oserviceUnRegSvcStatListener(struct ISvcMgrIoservice *self, struct ServiceStatusListener *listener) in SvcMgrIoserviceUnRegSvcStatListener()
/drivers/hdf_core/framework/utils/src/
Dhdf_sref.c24 struct IHdfSRefListener *listener = sref->listener; in HdfSRefAcquire() local
51 struct IHdfSRefListener *listener = sref->listener; in HdfSRefRelease() local
58 void HdfSRefConstruct(struct HdfSRef *sref, struct IHdfSRefListener *listener) in HdfSRefConstruct()
/drivers/peripheral/usb/ddk/host/src/
Dddk_pnp_listener_mgr.c39 struct HdfDevEventlistener *listener; member
45 static bool DdkListenerMgrIsExists(const struct HdfDevEventlistener *listener) in DdkListenerMgrIsExists()
71 const struct HdfDevEventlistener *listener = handlePriv->listener; in DdkListenerMgrNotifyOne() local
104 const struct HdfDevEventlistener *listener = handlePriv->listener; in DdkListenerMgrNotifyGadgetOne() local
134 int32_t DdkListenerMgrAdd(struct HdfDevEventlistener *listener) in DdkListenerMgrAdd()
164 int32_t DdkListenerMgrRemove(struct HdfDevEventlistener *listener) in DdkListenerMgrRemove()
/drivers/peripheral/input/hal/src/
Dinput_reporter.c33 static int32_t EventListenerCallback(struct HdfDevEventlistener *listener, struct HdfIoService *ser… in EventListenerCallback()
82 …struct HdfDevEventlistener *listener = (struct HdfDevEventlistener *)malloc(sizeof(struct HdfDevEv… in EventListenerInstance() local
110 struct HdfDevEventlistener *listener = EventListenerInstance(); in RegisterReportCallback() local
177 static int32_t HotPlugEventListenerCallback(struct HdfDevEventlistener *listener, in HotPlugEventListenerCallback()
205 …struct HdfDevEventlistener *listener = (struct HdfDevEventlistener *)malloc(sizeof(struct HdfDevEv… in HotPlugEventListenerInstance() local
235 struct HdfDevEventlistener *listener = HotPlugEventListenerInstance(); in RegisterHotPlugCallback() local
/drivers/hdf_core/framework/core/host/src/
Dpower_state_token.c29 const struct IPowerEventListener *listener = stateToken->listener; in PowerStateTokenOnFirstAcquire() local
40 const struct IPowerEventListener *listener = NULL; in PowerStateTokenOnLastRelease() local
126 struct HdfDeviceObject *deviceObject, const struct IPowerEventListener *listener) in PowerStateTokenConstruct()
149 struct HdfDeviceObject *deviceObject, const struct IPowerEventListener *listener) in PowerStateTokenNewInstance()
Dhdf_device_node.c127 struct HdfDeviceNode *devNode, const struct IPowerEventListener *listener) in HdfDeviceNodeAddPowerStateListener()
138 struct HdfDeviceNode *devNode, const struct IPowerEventListener *listener) in HdfDeviceNodeRemovePowerStateListener()
/drivers/hdf_core/adapter/uhdf2/hdi/src/
Dservstat_listener.c26 struct ServiceStatusListener listener; member
56 int ServiceStatusListenerMarshalling(struct ServiceStatusListener *listener, struct HdfSBuf *buf) in ServiceStatusListenerMarshalling()
93 void HdiServiceStatusListenerFree(struct ServiceStatusListener *listener) in HdiServiceStatusListenerFree()
Diservmgr_client.cpp74 ::OHOS::sptr<IServStatListener> listener, uint16_t deviceClass) in RegisterServiceStatusListener()
95 …32_t ServiceManagerProxy::UnregisterServiceStatusListener(::OHOS::sptr<IServStatListener> listener) in UnregisterServiceStatusListener()
Dservmgr_client.c158 struct ServiceStatusListener *listener, uint16_t deviceClass) in HDIServMgrRegisterServiceStatusListener()
186 struct ServiceStatusListener *listener) in HDIServMgrUnregisterServiceStatusListener()
/drivers/hdf_core/framework/test/unittest/platform/common/
Dplatform_event_test.c102 static int32_t PlatformEventListenTestCb(struct PlatformEventListener *listener, uint32_t events) in PlatformEventListenTestCb()
113 struct PlatformEventListener listener; in PlatformEventTestListenAndUnliten() local
154 struct PlatformEventListener listener; in PlatformEventTestReliability() local
/drivers/hdf_core/framework/test/fuzztest/ioservice_fuzzer/ioservicelisten_fuzzer/
Dioservicelisten_fuzzer.cpp22 struct HdfDevEventlistener listener; member
35struct HdfDevEventlistener *listener, struct HdfIoService *service, uint32_t id, struct HdfSBuf *d… in OnDevEventReceived()
/drivers/hdf_core/framework/test/fuzztest/ioservice_fuzzer/ioservicegrouplisten_fuzzer/
Dioservicegrouplisten_fuzzer.cpp20 struct HdfDevEventlistener listener; member
33struct HdfDevEventlistener *listener, struct HdfIoService *service, uint32_t id, struct HdfSBuf *d… in OnDevEventReceived()
/drivers/peripheral/distributed_camera/hdi_service/test/unittest/common/dstream_operator/
Dstream_consumer.cpp31 sptr<IBufferConsumerListener> listener(new TestBuffersConsumerListener()); in CreateProducer() local
/drivers/hdf_core/framework/core/manager/test/unittest/common/
Dhdf_ioservice_test.cpp33 struct HdfDevEventlistener listener; member
104struct HdfDevEventlistener *listener, struct HdfIoService *service, uint32_t id, struct HdfSBuf *d… in OnDevEventReceived()
123struct HdfDevEventlistener *listener, struct HdfIoService *service, uint32_t id, struct HdfSBuf *d… in OnDevEventReceivedTest()
145struct HdfDevEventlistener *listener, struct HdfIoService *service, uint32_t id, struct HdfSBuf *d… in OnDevEventReceivedTest1()
758 static void TestOnServiceStatusReceived(struct ServiceStatusListener *listener, struct ServiceStatu… in TestOnServiceStatusReceived()
833 struct ServiceStatusListener *listener = IoServiceStatusListenerNewInstance(); variable
865 struct ServiceStatusListener *listener = IoServiceStatusListenerNewInstance(); variable
918 struct ServiceStatusListener *listener = IoServiceStatusListenerNewInstance(); variable
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/src/
Dcamera_common.cpp59 static int32_t CameraMsgRegisterEventListener(struct HdfDevEventlistener *listener) in CameraMsgRegisterEventListener()
72 static int OnCameraEvents(struct HdfDevEventlistener *listener, struct HdfIoService *service, in OnCameraEvents()
/drivers/peripheral/distributed_camera/hdi_service/test/sample/
Dstream_customer.cpp32 sptr<IBufferConsumerListener> listener = nullptr; in CreateProducer() local
/drivers/hdf_core/framework/core/adapter/syscall/src/
Dhdf_syscall_adapter.c94 struct HdfDevEventlistener *listener = NULL; in HdfDevEventDispatchLocked() local
824 …AddListenerToAdapterLocked(struct HdfSyscallAdapter *adapter, struct HdfDevEventlistener *listener) in AddListenerToAdapterLocked()
838 struct HdfIoService *target, struct HdfDevEventlistener *listener, int policy) in HdfDeviceRegisterEventListenerWithSchedPolicy()
879 …t HdfDeviceRegisterEventListener(struct HdfIoService *target, struct HdfDevEventlistener *listener) in HdfDeviceRegisterEventListener()
884 …HdfDeviceUnregisterEventListener(struct HdfIoService *target, struct HdfDevEventlistener *listener) in HdfDeviceUnregisterEventListener()
951 struct HdfIoServiceGroup *group, struct HdfDevEventlistener *listener, int policy) in HdfIoServiceGroupRegisterListenerWithSchedPolicy()
1002 …ServiceGroupRegisterListener(struct HdfIoServiceGroup *group, struct HdfDevEventlistener *listener) in HdfIoServiceGroupRegisterListener()
1009 struct HdfDevEventlistener *listener = NULL; in GetListenerCount() local
1032 …rviceGroupUnregisterListener(struct HdfIoServiceGroup *group, struct HdfDevEventlistener *listener) in HdfIoServiceGroupUnregisterListener()
/drivers/hdf_core/framework/support/platform/src/fwk/
Dplatform_event.c221 struct PlatformEventListener *listener = (struct PlatformEventListener *)waiter->data; in PlatformEventAsyncCallback() local
231 int32_t PlatformEventListen(struct PlatformEvent *pe, const struct PlatformEventListener *listener) in PlatformEventListen()
259 void PlatformEventUnlisten(struct PlatformEvent *pe, const struct PlatformEventListener *listener) in PlatformEventUnlisten()
/drivers/hdf_core/framework/core/host/include/
Dpower_state_token.h18 const struct IPowerEventListener *listener; member
/drivers/hdf_core/interfaces/inner_api/utils/
Dhdf_sref.h27 struct IHdfSRefListener *listener; member
/drivers/peripheral/intelligent_voice/passthrough/engine/
Dengine_base.cpp21 IntellVoiceStatus EngineBase::SetListener(std::shared_ptr<IEngineCallback> listener) in SetListener()
/drivers/peripheral/camera/test/ut/v4l2/
Dstream_customer.cpp53 OHOS::sptr<OHOS::IBufferConsumerListener> listener = new TestBuffersConsumerListener(); in CreateProducer() local
/drivers/peripheral/input/hal/include/
Dinput_common.h54 struct HdfDevEventlistener *listener; /* Event listener of the device */ member
61 struct HdfDevEventlistener *listener; /* Event listener of the device */ member
/drivers/hdf_core/adapter/uhdf2/hdi/test/servmgr/
Dservice_manager_hdi_c_test.cpp346 static void TestOnServiceStatusReceived(struct ServiceStatusListener *listener, struct ServiceStatu… in TestOnServiceStatusReceived()
379 struct ServiceStatusListener *listener = HdiServiceStatusListenerNewInstance(); variable
449 struct ServiceStatusListener *listener = HdiServiceStatusListenerNewInstance(); variable
510 struct ServiceStatusListener *listener = HdiServiceStatusListenerNewInstance(); variable

12