Home
last modified time | relevance | path

Searched refs:Messenger (Results 1 – 7 of 7) sorted by relevance

/base/security/device_security_level/baselib/msglib/src/
Dmessenger_impl.h25 Messenger *CreateMessengerImpl(const MessengerConfig *config) __attribute__((weak));
27 void DestroyMessengerImpl(Messenger *messenger) __attribute__((weak));
29 void SendMsgToImpl(const Messenger *messenger, uint64_t transNo, const DeviceIdentify *devId, const…
32 bool IsMessengerReadyImpl(const Messenger *messenger) __attribute__((weak));
34 bool GetDeviceOnlineStatusImpl(const Messenger *messenger, const DeviceIdentify *devId, uint32_t *d…
37 bool GetSelfDeviceIdentifyImpl(const Messenger *messenger, DeviceIdentify *devId, uint32_t *devType)
40 void ForEachDeviceProcessImpl(const Messenger *messenger, const DeviceProcessor processor, void *pa…
43 bool GetDeviceStatisticInfoImpl(const Messenger *messenger, const DeviceIdentify *devId, StatisticI…
Dmessenger.c19 Messenger *CreateMessenger(const MessengerConfig *config) in CreateMessenger()
24 void DestroyMessenger(Messenger *messenger) in DestroyMessenger()
29 bool IsMessengerReady(const Messenger *messenger) in IsMessengerReady()
34 void SendMsgTo(const Messenger *messenger, uint64_t transNo, const DeviceIdentify *devId, const uin… in SendMsgTo()
40 bool GetDeviceOnlineStatus(const Messenger *messenger, const DeviceIdentify *devId, uint32_t *devTy… in GetDeviceOnlineStatus()
45 bool GetSelfDeviceIdentify(const Messenger *messenger, DeviceIdentify *devId, uint32_t *devType) in GetSelfDeviceIdentify()
50 void ForEachDeviceProcess(const Messenger *messenger, const DeviceProcessor processor, void *para) in ForEachDeviceProcess()
55 bool GetDeviceStatisticInfo(const Messenger *messenger, const DeviceIdentify *devId, StatisticInfor… in GetDeviceStatisticInfo()
/base/security/device_security_level/test/dslm_unit_test/
Ddslm_msg_interface_mock.h34 virtual bool IsMessengerReady(const Messenger *messenger) = 0;
36 …virtual uint64_t SendMsgTo(const Messenger *messenger, uint64_t transNo, const DeviceIdentify *dev…
39 …virtual bool GetDeviceOnlineStatus(const Messenger *messenger, const DeviceIdentify *devId, uint32…
41 …virtual bool GetSelfDeviceIdentify(const Messenger *messenger, DeviceIdentify *devId, uint32_t *de…
43 …virtual void ForEachDeviceProcess(const Messenger *messenger, const DeviceProcessor processor, voi…
50 MOCK_METHOD1(IsMessengerReady, bool(const Messenger *messenger));
51 …MOCK_METHOD5(SendMsgTo, uint64_t(const Messenger *messenger, uint64_t transNo, const DeviceIdentif…
54 bool(const Messenger *messenger, const DeviceIdentify *devId, uint32_t *devType));
55 …MOCK_METHOD3(GetSelfDeviceIdentify, bool(const Messenger *messenger, DeviceIdentify *devId, uint32…
56 …MOCK_METHOD3(ForEachDeviceProcess, void(const Messenger *messenger, const DeviceProcessor processo…
Ddslm_msg_interface_mock.cpp28 extern Messenger *g_messenger;
44 g_messenger = reinterpret_cast<Messenger *>(this); in DslmMsgInterfaceMock()
55 … auto loopback = [this](const Messenger *messenger, uint64_t transNo, const DeviceIdentify *devId, in MakeMsgLoopback()
66 …auto loopback = [this, self](const Messenger *messenger, DeviceIdentify *devId, uint32_t *devType)… in MakeSelfDeviceId()
92 Messenger *CreateMessengerImpl(const MessengerConfig *config) in CreateMessengerImpl()
98 void DestroyMessengerImpl(Messenger *messenger) in DestroyMessengerImpl()
103 bool IsMessengerReadyImpl(const Messenger *messenger) in IsMessengerReadyImpl()
108 uint64_t SendMsgToImpl(const Messenger *messenger, uint64_t transNo, const DeviceIdentify *devId, c… in SendMsgToImpl()
114 bool GetDeviceOnlineStatusImpl(const Messenger *messenger, const DeviceIdentify *devId, uint32_t *d… in GetDeviceOnlineStatusImpl()
119 bool GetSelfDeviceIdentifyImpl(const Messenger *messenger, DeviceIdentify *devId, uint32_t *devType) in GetSelfDeviceIdentifyImpl()
[all …]
/base/security/device_security_level/baselib/msglib/src/standard/
Dmessenger_impl.c32 typedef struct Messenger { struct
35 } Messenger; argument
37 Messenger *CreateMessengerImpl(const MessengerConfig *config) in CreateMessengerImpl()
63 Messenger *messenger = MALLOC(sizeof(Messenger)); in CreateMessengerImpl()
74 void DestroyMessengerImpl(Messenger *messenger) in DestroyMessengerImpl()
87 bool IsMessengerReadyImpl(const Messenger *messenger) in IsMessengerReadyImpl()
96 void SendMsgToImpl(const Messenger *messenger, uint64_t transNo, const DeviceIdentify *devId, const… in SendMsgToImpl()
106 bool GetDeviceOnlineStatusImpl(const Messenger *messenger, const DeviceIdentify *devId, uint32_t *d… in GetDeviceOnlineStatusImpl()
116 bool GetSelfDeviceIdentifyImpl(const Messenger *messenger, DeviceIdentify *devId, uint32_t *devType) in GetSelfDeviceIdentifyImpl()
126 void ForEachDeviceProcessImpl(const Messenger *messenger, const DeviceProcessor processor, void *pa… in ForEachDeviceProcessImpl()
[all …]
/base/security/device_security_level/baselib/msglib/include/
Dmessenger.h73 typedef struct Messenger Messenger; typedef
75 Messenger *CreateMessenger(const MessengerConfig *config);
77 void DestroyMessenger(Messenger *messenger);
79 bool IsMessengerReady(const Messenger *messenger);
81 void SendMsgTo(const Messenger *messenger, uint64_t transNo, const DeviceIdentify *devId, const uin…
84 bool GetDeviceOnlineStatus(const Messenger *messenger, const DeviceIdentify *devId, uint32_t *devTy…
86 bool GetSelfDeviceIdentify(const Messenger *messenger, DeviceIdentify *devId, uint32_t *devType);
88 void ForEachDeviceProcess(const Messenger *messenger, const DeviceProcessor processor, void *para);
90 bool GetDeviceStatisticInfo(const Messenger *messenger, const DeviceIdentify *devId, StatisticInfor…
/base/security/device_security_level/services/msg/
Ddslm_messenger_wrapper.c26 Messenger *g_messenger = NULL;