Home
last modified time | relevance | path

Searched refs:MessageId (Results 1 – 21 of 21) sorted by relevance

/base/msdp/device_status/utils/ipc/include/
Dnet_packet.h23 MessageId idMsg { MessageId::INVALID };
33 explicit NetPacket(MessageId msgId);
48 MessageId GetMsgId() const in GetMsgId()
54 MessageId msgId_ { MessageId::INVALID };
/base/sensors/sensor/utils/ipc/include/
Dnet_packet.h24 OHOS::Sensors::MessageId idMsg;
34 explicit NetPacket(MessageId msgId);
42 MessageId GetMsgId() const;
46 MessageId msgId_ = MessageId::INVALID;
Dproto.h32 enum class MessageId : int32_t { enum
Drust_binding.h27 OHOS::Sensors::MessageId msgId { OHOS::Sensors::MessageId::INVALID };
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/stream_buffer/
Dnet_packet.rs30 pub(crate) id_msg: MessageId,
36 pub(crate) enum MessageId { enum
63 pub(crate) msg_id: MessageId,
70 pub(super) msg_id: MessageId,
77 msg_id: MessageId::Invalid, in default()
/base/msdp/device_status/services/interaction/drag/include/
Dstate_change_notify.h35 MessageId msgId { MessageId::INVALID };
52 void OnStateChangedNotify(SessionPtr session, MessageId msId, DragState state);
/base/msdp/device_status/services/interaction/coordination/include/
Dcoordination_softbus_adapter.h37 enum MessageId { enum
45 MessageId messageId;
63 void RegisterRecvFunc(MessageId messageId, std::function<void(void*, uint32_t)> callback);
64 … int32_t SendData(const std::string &deviceId, MessageId messageId, void* data, uint32_t dataLen);
88 std::map<MessageId, std::function<void(void*, uint32_t)>> registerRecvMap_;
Dcoordination_event_manager.h42 MessageId msgId { MessageId::INVALID };
63 void NotifyCoordinationMessage(SessionPtr sess, MessageId msgId, int32_t userData,
65 void NotifyCoordinationState(SessionPtr sess, MessageId msgId, int32_t userData, bool state);
/base/msdp/device_status/services/interaction/coordination/src/
Dcoordination.cpp48 event->msgId = MessageId::COORDINATION_MESSAGE; in ActivateCoordination()
65 event->msgId = MessageId::COORDINATION_MESSAGE; in DeactivateCoordination()
82 event->msgId = MessageId::COORDINATION_GET_STATE; in GetCoordinationState()
98 event->msgId = MessageId::COORDINATION_ADD_LISTENER; in RegisterCoordinationListener()
Dcoordination_event_manager.cpp140 …SessionPtr sess, MessageId msgId, int32_t userData, const std::string &deviceId, CoordinationMessa… in NotifyCoordinationMessage()
156 void CoordinationEventManager::NotifyCoordinationState(SessionPtr sess, MessageId msgId, int32_t us… in NotifyCoordinationState()
Dcoordination_softbus_adapter.cpp614 void CoordinationSoftbusAdapter::RegisterRecvFunc(MessageId messageId, std::function<void(void*, ui… in RegisterRecvFunc()
625 int32_t CoordinationSoftbusAdapter::SendData(const std::string &deviceId, MessageId messageId, in SendData()
/base/sensors/sensor/utils/ipc/src/
Dnet_packet.cpp22 NetPacket::NetPacket(MessageId msgId) : msgId_(msgId) in NetPacket()
80 MessageId NetPacket::GetMsgId() const in GetMsgId()
/base/msdp/device_status/frameworks/native/interaction/src/
Dinteraction_manager_impl.cpp58 {MessageId::COORDINATION_ADD_LISTENER, in InitMsgHandler()
60 {MessageId::COORDINATION_MESSAGE, in InitMsgHandler()
62 {MessageId::COORDINATION_GET_STATE, in InitMsgHandler()
65 {MessageId::DRAG_NOTIFY_RESULT, in InitMsgHandler()
67 {MessageId::DRAG_STATE_LISTENER, in InitMsgHandler()
/base/msdp/device_status/utils/ipc/src/
Dnet_packet.cpp20 NetPacket::NetPacket(MessageId msgId) : msgId_(msgId) {} in NetPacket()
/base/msdp/device_status/utils/common/include/
Dproto.h41 enum class MessageId : int32_t { enum
/base/msdp/device_status/interfaces/innerkits/include/
Di_client.h32 class IClient : public MsgHandler<MessageId, ClientMsgFun> {
/base/msdp/device_status/services/interaction/drag/src/
Dstate_change_notify.cpp73 void StateChangeNotify::OnStateChangedNotify(SessionPtr session, MessageId msgId, DragState state) in OnStateChangedNotify()
Ddrag_manager.cpp66 info->msgId = MessageId::DRAG_STATE_LISTENER; in AddListener()
190 NetPacket pkt(MessageId::DRAG_NOTIFY_RESULT); in NotifyDragResult()
/base/msdp/device_status/services/native/src/
Ddevicestatus_service.cpp773 event->msgId = MessageId::COORDINATION_ADD_LISTENER; in OnRegisterCoordinationListener()
796 NetPacket pkt(MessageId::COORDINATION_MESSAGE); in OnPrepareCoordination()
820 NetPacket pkt(MessageId::COORDINATION_MESSAGE); in OnUnprepareCoordination()
845 event->msgId = MessageId::COORDINATION_MESSAGE; in OnActivateCoordination()
880 event->msgId = MessageId::COORDINATION_MESSAGE; in OnDeactivateCoordination()
901 event->msgId = MessageId::COORDINATION_GET_STATE; in OnGetCoordinationState()
/base/sensors/sensor/services/sensor/src/
Dsensor_power_policy.cpp237 NetPacket pkt(MessageId::ACTIVE_INFO); in ReportActiveInfo()
/base/sensors/sensor/frameworks/native/sensor/src/
Dsensor_service_client.cpp398 if (id != MessageId::ACTIVE_INFO) { in HandleNetPacke()