Home
last modified time | relevance | path

Searched refs:SoftBusLooper (Results 1 - 25 of 65) sorted by relevance

123

/foundation/communication/dsoftbus/core/common/include/
H A Dmessage_handler.h29 typedef struct SoftBusLooper SoftBusLooper; typedef
31 struct SoftBusLooper { struct
34 void (*PostMessage)(const SoftBusLooper *looper, SoftBusMessage *msg);
35 void (*PostMessageDelay)(const SoftBusLooper *looper, SoftBusMessage *msg, uint64_t delayMillis);
36 void (*RemoveMessage)(const SoftBusLooper *looper, const SoftBusHandler *handler, int32_t what);
38 void (*RemoveMessageCustom)(const SoftBusLooper *looper, const SoftBusHandler *handler,
44 SoftBusLooper *looper;
68 SoftBusLooper *GetLooper(int looper);
72 void SetLooper(int type, SoftBusLooper *loope
[all...]
/foundation/communication/dsoftbus/tests/adapter/common/include/
H A Dlnn_wifiservice_monitor_mock.h32 virtual SoftBusLooper *GetLooper(int32_t looper) = 0;
34 virtual int32_t LnnAsyncCallbackHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback, void *para) = 0;
37 virtual int32_t LnnAsyncCallbackDelayHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback,
45 MOCK_METHOD1(GetLooper, SoftBusLooper*(int32_t));
47 MOCK_METHOD3(LnnAsyncCallbackHelper, int32_t(SoftBusLooper *, LnnAsyncCallbackFunc, void *));
50 MOCK_METHOD4(LnnAsyncCallbackDelayHelper, int32_t(SoftBusLooper *, LnnAsyncCallbackFunc, void *, uint64_t));
/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/include/
H A Dlnn_async_callback_mock.h28 virtual int32_t LnnAsyncCallbackHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback, void *para) = 0;
29 virtual int32_t LnnAsyncCallbackDelayHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback,
38 MOCK_METHOD3(LnnAsyncCallbackHelper, int32_t(SoftBusLooper *looper, LnnAsyncCallbackFunc callback, void *para));
39 MOCK_METHOD4(LnnAsyncCallbackDelayHelper, int32_t(SoftBusLooper *looper, LnnAsyncCallbackFunc callback,
H A Dnetwork_mock.h54 virtual int32_t LnnAsyncCallbackHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback, void *para) = 0;
73 MOCK_METHOD3(LnnAsyncCallbackHelper, int32_t(SoftBusLooper *, LnnAsyncCallbackFunc, void *));
/foundation/communication/dsoftbus/tests/core/adapter/unittest/
H A Dlnn_settingdata_event_monitor_deps_mock.h32 virtual SoftBusLooper *GetLooper(int32_t looper) = 0;
33 virtual int32_t LnnAsyncCallbackHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback, void *para) = 0;
43 MOCK_METHOD1(GetLooper, SoftBusLooper * (int));
44 MOCK_METHOD3(LnnAsyncCallbackHelper, int32_t (SoftBusLooper *, LnnAsyncCallbackFunc, void *));
H A Dlnn_settingdata_event_monitor_deps_mock.cpp40 SoftBusLooper *GetLooper(int32_t looper) in GetLooper()
45 int32_t LnnAsyncCallbackHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback, void *para) in LnnAsyncCallbackHelper()
/foundation/communication/dsoftbus/tests/core/bus_center/service/unittest/
H A Dbus_center_manager_deps_mock.h32 virtual SoftBusLooper *GetLooper(int32_t looper);
33 virtual SoftBusLooper *CreateNewLooper(const char *name);
47 virtual int32_t LnnAsyncCallbackDelayHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback,
63 MOCK_METHOD1(GetLooper, SoftBusLooper * (int));
64 MOCK_METHOD1(CreateNewLooper, SoftBusLooper * (const char *));
78 MOCK_METHOD4(LnnAsyncCallbackDelayHelper, int32_t (SoftBusLooper *, LnnAsyncCallbackFunc, void *, uint64_t));
H A Dbus_center_manager_deps_mock.cpp45 SoftBusLooper *GetLooper(int32_t looper) in GetLooper()
50 SoftBusLooper *CreateNewLooper(const char *name) in CreateNewLooper()
120 int32_t LnnAsyncCallbackDelayHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback, in LnnAsyncCallbackDelayHelper()
H A Dbus_center_event_deps_mock.h48 virtual SoftBusLooper *CreateNewLooper(const char *name);
75 MOCK_METHOD1(CreateNewLooper, SoftBusLooper * (const char *));
/foundation/communication/dsoftbus/core/common/message_handler/
H A Dmessage_handler.c92 SoftBusLooper *looper = arg; in LoopTask()
197 static int StartNewLooperThread(SoftBusLooper *looper) in StartNewLooperThread()
248 void DumpLooper(const SoftBusLooper *looper) in DumpLooper()
263 static int32_t PostMessageAtTimeParamVerify(const SoftBusLooper *looper, SoftBusMessage *msgPost) in PostMessageAtTimeParamVerify()
289 static void PostMessageAtTime(const SoftBusLooper *looper, SoftBusMessage *msgPost) in PostMessageAtTime()
342 static void LooperPostMessage(const SoftBusLooper *looper, SoftBusMessage *msg) in LooperPostMessage()
356 static void LooperPostMessageDelay(const SoftBusLooper *looper, SoftBusMessage *msg, uint64_t delayMillis) in LooperPostMessageDelay()
379 static void LoopRemoveMessageCustom(const SoftBusLooper *looper, const SoftBusHandler *handler, in LoopRemoveMessageCustom()
409 static void LooperRemoveMessage(const SoftBusLooper *looper, const SoftBusHandler *handler, int32_t what) in LooperRemoveMessage()
414 void SetLooperDumpable(SoftBusLooper *loope
[all...]
/foundation/communication/dsoftbus/tests/adapter/common/src/
H A Dlnn_wifiservice_monitor_mock.cpp41 SoftBusLooper *GetLooper(int32_t looper) in GetLooper()
51 int32_t LnnAsyncCallbackHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback, void *para) in LnnAsyncCallbackHelper()
66 int32_t LnnAsyncCallbackDelayHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback, in LnnAsyncCallbackDelayHelper()
/foundation/communication/dsoftbus/core/bus_center/utils/include/
H A Dlnn_async_callback_utils.h29 int32_t LnnAsyncCallbackHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback, void *para);
30 int32_t LnnAsyncCallbackDelayHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback,
H A Dlnn_state_machine.h55 SoftBusLooper *looper;
66 int32_t LnnFsmInit(FsmStateMachine *fsm, SoftBusLooper *looper, char *name, FsmDeinitCallback cb);
/foundation/communication/dsoftbus/core/bus_center/utils/src/
H A Dlnn_async_callback_utils.c77 static void InitAsyncCallbackHandler(SoftBusHandler *handler, SoftBusLooper *looper) in InitAsyncCallbackHandler()
84 static AsyncCallbackInfo *CreateAsyncCallbackInfo(SoftBusLooper *looper, in CreateAsyncCallbackInfo()
101 int32_t LnnAsyncCallbackHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback, void *para) in LnnAsyncCallbackHelper()
118 int32_t LnnAsyncCallbackDelayHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback, in LnnAsyncCallbackDelayHelper()
/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/
H A Dlnn_async_callback_mock.cpp40 int32_t LnnAsyncCallbackHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback, void *para) in LnnAsyncCallbackHelper()
45 int32_t LnnAsyncCallbackDelayHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback, in LnnAsyncCallbackDelayHelper()
/foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/
H A Dsoftbus_hisysevt_common.c90 static inline SoftBusHandler* CreateHandler(SoftBusLooper *looper, HandleMessageFunc callback) in CreateHandler()
104 static SoftBusMessage* CreateMessage(SoftBusLooper *looper, HandleMessageFunc callback) in CreateMessage()
121 static int32_t CreateAndPostMsgDelay(SoftBusLooper *looper, HandleMessageFunc callback, in CreateAndPostMsgDelay()
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/include/
H A Dlnn_service_mock.h80 virtual int32_t LnnAsyncCallbackHelper(SoftBusLooper *looper,
82 virtual int32_t LnnAsyncCallbackDelayHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback,
133 MOCK_METHOD3(LnnAsyncCallbackHelper, int32_t (SoftBusLooper *, LnnAsyncCallbackFunc, void *));
134 MOCK_METHOD4(LnnAsyncCallbackDelayHelper, int32_t (SoftBusLooper *, LnnAsyncCallbackFunc, void *, uint64_t));
H A Dlnn_data_cloud_sync_deps_mock.h47 virtual int32_t LnnAsyncCallbackDelayHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback,
67 MOCK_METHOD4(LnnAsyncCallbackDelayHelper, int32_t (SoftBusLooper *, LnnAsyncCallbackFunc, void *, uint64_t));
/foundation/communication/dsoftbus/tests/core/connection/ble/mock/
H A Dconnection_ble_manager_mock.h69 virtual int32_t ConnGattInitClientModule(SoftBusLooper *looper, const ConnBleClientEventListener *listener) = 0;
70 virtual int32_t ConnGattInitServerModule(SoftBusLooper *looper, const ConnBleServerEventListener *listener) = 0;
116 (SoftBusLooper *, const ConnBleClientEventListener *), (override));
118 (SoftBusLooper *, const ConnBleServerEventListener *), (override));
/foundation/communication/dsoftbus/core/connection/ble/include/
H A Dsoftbus_conn_ble_connection.h176 int32_t (*bleClientInitModule)(SoftBusLooper *looper, const ConnBleClientEventListener *listener);
177 int32_t (*bleServerInitModule)(SoftBusLooper *looper, const ConnBleServerEventListener *listener);
199 int32_t ConnBleInitConnectionMudule(SoftBusLooper *looper, ConnBleConnectionEventListener *listener);
H A Dsoftbus_conn_ble_server.h36 int32_t ConnGattInitServerModule(SoftBusLooper *looper, const ConnBleServerEventListener *listener);
/foundation/communication/dsoftbus/core/bus_center/service/src/
H A Dbus_center_manager.c153 SoftBusLooper *looper = GetLooper(LOOP_TYPE_DEFAULT); in BusCenterServerDelayInit()
240 SoftBusLooper *looper = CreateNewLooper("Lnn_Lp"); in LnnInitLnnLooper()
252 SoftBusLooper *looper = GetLooper(LOOP_TYPE_LNN); in LnnDeinitLnnLooper()
/foundation/communication/dsoftbus/tests/core/common/message_handler/fuzztest/messagehandler_fuzzer/
H A Dmessagehandler_fuzzer.cpp27 SoftBusLooper *looper = GetLooper(LOOP_TYPE_DEFAULT); in DoMessageHandlerFuzz()
/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_common_mock.h39 virtual int32_t LnnAsyncCallbackDelayHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback,
67 MOCK_METHOD4(LnnAsyncCallbackDelayHelper, int32_t (SoftBusLooper *, LnnAsyncCallbackFunc, void *, uint64_t));
/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/include/
H A Dhb_ctrl_static_mock.h48 SoftBusLooper *looper, LnnAsyncCallbackFunc callback, void *para, uint64_t delayMillis) = 0;
83 MOCK_METHOD4(LnnAsyncCallbackDelayHelper, int32_t (SoftBusLooper *, LnnAsyncCallbackFunc, void *, uint64_t));

Completed in 7 milliseconds

123