/foundation/communication/dsoftbus/core/common/include/ |
H A D | message_handler.h | 29 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 D | lnn_wifiservice_monitor_mock.h | 32 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 D | lnn_async_callback_mock.h | 28 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 D | network_mock.h | 54 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 D | lnn_settingdata_event_monitor_deps_mock.h | 32 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 D | lnn_settingdata_event_monitor_deps_mock.cpp | 40 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 D | bus_center_manager_deps_mock.h | 32 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 D | bus_center_manager_deps_mock.cpp | 45 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 D | bus_center_event_deps_mock.h | 48 virtual SoftBusLooper *CreateNewLooper(const char *name); 75 MOCK_METHOD1(CreateNewLooper, SoftBusLooper * (const char *));
|
/foundation/communication/dsoftbus/core/common/message_handler/ |
H A D | message_handler.c | 92 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 D | lnn_wifiservice_monitor_mock.cpp | 41 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 D | lnn_async_callback_utils.h | 29 int32_t LnnAsyncCallbackHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback, void *para); 30 int32_t LnnAsyncCallbackDelayHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback,
|
H A D | lnn_state_machine.h | 55 SoftBusLooper *looper; 66 int32_t LnnFsmInit(FsmStateMachine *fsm, SoftBusLooper *looper, char *name, FsmDeinitCallback cb);
|
/foundation/communication/dsoftbus/core/bus_center/utils/src/ |
H A D | lnn_async_callback_utils.c | 77 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 D | lnn_async_callback_mock.cpp | 40 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 D | softbus_hisysevt_common.c | 90 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 D | lnn_service_mock.h | 80 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 D | lnn_data_cloud_sync_deps_mock.h | 47 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 D | connection_ble_manager_mock.h | 69 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 D | softbus_conn_ble_connection.h | 176 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 D | softbus_conn_ble_server.h | 36 int32_t ConnGattInitServerModule(SoftBusLooper *looper, const ConnBleServerEventListener *listener);
|
/foundation/communication/dsoftbus/core/bus_center/service/src/ |
H A D | bus_center_manager.c | 153 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 D | messagehandler_fuzzer.cpp | 27 SoftBusLooper *looper = GetLooper(LOOP_TYPE_DEFAULT); in DoMessageHandlerFuzz()
|
/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_common_mock.h | 39 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 D | hb_ctrl_static_mock.h | 48 SoftBusLooper *looper, LnnAsyncCallbackFunc callback, void *para, uint64_t delayMillis) = 0;
83 MOCK_METHOD4(LnnAsyncCallbackDelayHelper, int32_t (SoftBusLooper *, LnnAsyncCallbackFunc, void *, uint64_t));
|