Home
last modified time | relevance | path

Searched refs:Messenger (Results 1 - 8 of 8) sorted by relevance

/base/security/device_security_level/baselib/msglib/src/common/
H A Dmessenger_impl.h25 Messenger *CreateMessengerImpl(const MessengerConfig *config);
27 void DestroyMessengerImpl(Messenger *messenger);
29 void SendMsgToImpl(const Messenger *messenger, uint64_t transNo, const DeviceIdentify *devId, const uint8_t *msg,
32 bool IsMessengerReadyImpl(const Messenger *messenger);
34 bool GetDeviceOnlineStatusImpl(const Messenger *messenger, const DeviceIdentify *devId, int32_t *level);
36 bool GetSelfDeviceIdentifyImpl(const Messenger *messenger, DeviceIdentify *devId, int32_t *level);
38 void ForEachDeviceProcessImpl(const Messenger *messenger, const DeviceProcessor processor, void *para);
40 bool GetDeviceStatisticInfoImpl(const Messenger *messenger, const DeviceIdentify *devId, StatisticInformation *info);
H A 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 uint8_t *msg, in SendMsgTo()
40 bool GetDeviceOnlineStatus(const Messenger *messenger, const DeviceIdentify *devId, int32_t *level) in GetDeviceOnlineStatus()
45 bool GetSelfDeviceIdentify(const Messenger *messenger, DeviceIdentify *devId, int32_t *level) in GetSelfDeviceIdentify()
50 void ForEachDeviceProcess(const Messenger *messenger, const DeviceProcessor processor, void *para) in ForEachDeviceProcess()
55 bool GetDeviceStatisticInfo(const Messenger *messenger, const DeviceIdentify *devId, StatisticInformation *info) in GetDeviceStatisticInfo()
/base/security/device_security_level/baselib/msglib/include/
H A Dmessenger.h78 typedef struct Messenger Messenger; typedef
80 Messenger *CreateMessenger(const MessengerConfig *config);
82 void DestroyMessenger(Messenger *messenger);
84 bool IsMessengerReady(const Messenger *messenger);
86 void SendMsgTo(const Messenger *messenger, uint64_t transNo, const DeviceIdentify *devId, const uint8_t *msg,
89 bool GetDeviceOnlineStatus(const Messenger *messenger, const DeviceIdentify *devId, int32_t *level);
91 bool GetSelfDeviceIdentify(const Messenger *messenger, DeviceIdentify *devId, int32_t *level);
93 void ForEachDeviceProcess(const Messenger *messenger, const DeviceProcessor processor, void *para);
95 bool GetDeviceStatisticInfo(const Messenger *messenge
[all...]
/base/security/device_security_level/baselib/msglib/src/standard/
H A Dmessenger_impl.c32 typedef struct Messenger { struct
35 } Messenger; typedef
37 Messenger *CreateMessengerImpl(const MessengerConfig *config) in CreateMessengerImpl()
60 Messenger *messenger = MALLOC(sizeof(Messenger)); in CreateMessengerImpl()
71 void DestroyMessengerImpl(Messenger *messenger) in DestroyMessengerImpl()
84 bool IsMessengerReadyImpl(const Messenger *messenger) in IsMessengerReadyImpl()
93 void SendMsgToImpl(const Messenger *messenger, uint64_t transNo, const DeviceIdentify *devId, const uint8_t *msg, in SendMsgToImpl()
103 bool GetDeviceOnlineStatusImpl(const Messenger *messenger, const DeviceIdentify *devId, int32_t *level) in GetDeviceOnlineStatusImpl()
113 bool GetSelfDeviceIdentifyImpl(const Messenger *messenge
[all...]
/base/security/device_security_level/baselib/msglib/src/lite/
H A Dmessenger_impl.c32 typedef struct Messenger { struct
35 } Messenger; typedef
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 uint8_t *msg, in SendMsgToImpl()
106 bool GetDeviceOnlineStatusImpl(const Messenger *messenger, const DeviceIdentify *devId, int32_t *level) in GetDeviceOnlineStatusImpl()
116 bool GetSelfDeviceIdentifyImpl(const Messenger *messenge
[all...]
/base/security/device_security_level/test/dslm_unit_test/
H A Ddslm_msg_interface_mock.h35 virtual bool IsMessengerReady(const Messenger *messenger) = 0;
37 virtual uint64_t SendMsgTo(const Messenger *messenger, uint64_t transNo, const DeviceIdentify *devId,
40 virtual bool GetDeviceOnlineStatus(const Messenger *messenger, const DeviceIdentify *devId, int32_t *level) = 0;
42 virtual bool GetSelfDeviceIdentify(const Messenger *messenger, DeviceIdentify *devId, int32_t *level) = 0;
44 virtual void ForEachDeviceProcess(const Messenger *messenger, const DeviceProcessor processor, void *para) = 0;
61 MOCK_METHOD(bool, IsMessengerReady, (const Messenger *messenger), (override));
62 MOCK_METHOD(uint64_t, SendMsgTo, (const Messenger *messenger, uint64_t transNo, const DeviceIdentify *devId,
65 (const Messenger *messenger, const DeviceIdentify *devId, int32_t *level), (override));
66 MOCK_METHOD(bool, GetSelfDeviceIdentify, (const Messenger *messenger, DeviceIdentify *devId, int32_t *level),
68 MOCK_METHOD(void, ForEachDeviceProcess, (const Messenger *messenge
[all...]
H A 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, int32_t *level) { 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 void SendMsgToImpl(const Messenger *messenger, uint64_t transNo, const DeviceIdentify *devId, const uint8_t *msg, in SendMsgToImpl()
114 bool GetDeviceOnlineStatusImpl(const Messenger *messenger, const DeviceIdentify *devId, int32_t *level) in GetDeviceOnlineStatusImpl()
119 bool GetSelfDeviceIdentifyImpl(const Messenger *messenge
[all...]
/base/security/device_security_level/services/msg/
H A Ddslm_messenger_wrapper.c26 Messenger *g_messenger = NULL;

Completed in 3 milliseconds