Home
last modified time | relevance | path

Searched refs:CoordinationEventManager (Results 1 – 5 of 5) sorted by relevance

/base/msdp/device_status/services/interaction/coordination/src/
Dcoordination.cpp44 …sptr<CoordinationEventManager::EventInfo> event = new (std::nothrow) CoordinationEventManager::Eve… in ActivateCoordination()
46 event->type = CoordinationEventManager::EventType::START; in ActivateCoordination()
61 …sptr<CoordinationEventManager::EventInfo> event = new (std::nothrow) CoordinationEventManager::Eve… in DeactivateCoordination()
63 event->type = CoordinationEventManager::EventType::STOP; in DeactivateCoordination()
78 …sptr<CoordinationEventManager::EventInfo> event = new (std::nothrow) CoordinationEventManager::Eve… in GetCoordinationState()
80 event->type = CoordinationEventManager::EventType::STATE; in GetCoordinationState()
94 …sptr<CoordinationEventManager::EventInfo> event = new (std::nothrow) CoordinationEventManager::Eve… in RegisterCoordinationListener()
96 event->type = CoordinationEventManager::EventType::LISTENER; in RegisterCoordinationListener()
105 …sptr<CoordinationEventManager::EventInfo> event = new (std::nothrow) CoordinationEventManager::Eve… in UnregisterCoordinationListener()
107 event->type = CoordinationEventManager::EventType::LISTENER; in UnregisterCoordinationListener()
Dcoordination_event_manager.cpp26 CoordinationEventManager::CoordinationEventManager() {} in CoordinationEventManager() function in OHOS::Msdp::DeviceStatus::CoordinationEventManager
27 CoordinationEventManager::~CoordinationEventManager() {} in ~CoordinationEventManager()
29 void CoordinationEventManager::AddCoordinationEvent(sptr<EventInfo> event) in AddCoordinationEvent()
49 void CoordinationEventManager::RemoveCoordinationEvent(sptr<EventInfo> event) in RemoveCoordinationEvent()
64 int32_t CoordinationEventManager::OnCoordinationMessage(CoordinationMessage msg, const std::string … in OnCoordinationMessage()
80 void CoordinationEventManager::OnEnable(CoordinationMessage msg, const std::string &deviceId) in OnEnable()
90 void CoordinationEventManager::OnStart(CoordinationMessage msg, const std::string &deviceId) in OnStart()
100 void CoordinationEventManager::OnStop(CoordinationMessage msg, const std::string &deviceId) in OnStop()
110 void CoordinationEventManager::OnGetCrossingSwitchState(bool state) in OnGetCrossingSwitchState()
120 void CoordinationEventManager::OnErrorMessage(EventType type, CoordinationMessage msg) in OnErrorMessage()
[all …]
Dcoordination_sm.cpp96 …sptr<CoordinationEventManager::EventInfo> event = new (std::nothrow) CoordinationEventManager::Eve… in OnSessionLost()
98 event->type = CoordinationEventManager::EventType::LISTENER; in OnSessionLost()
151 … std::bind(&CoordinationEventManager::OnCoordinationMessage, COOR_EVENT_MGR, msg, networkId)); in OnCoordinationChanged()
305 …int32_t ret = context->GetDelegateTasks().PostAsyncTask(std::bind(&CoordinationEventManager::OnCoo… in StartRemoteCoordination()
351 std::bind(&CoordinationEventManager::OnCoordinationMessage, COOR_EVENT_MGR, msg, "")); in StartRemoteCoordinationResult()
1098 std::bind(&CoordinationEventManager::OnCoordinationMessage, COOR_EVENT_MGR, msg, "")); in NotifyChainRemoved()
/base/msdp/device_status/services/interaction/coordination/include/
Dcoordination_event_manager.h35 class CoordinationEventManager final {
36 DECLARE_DELAYED_SINGLETON(CoordinationEventManager);
49 DISALLOW_COPY_AND_MOVE(CoordinationEventManager);
79 #define COOR_EVENT_MGR OHOS::DelayedSingleton<CoordinationEventManager>::GetInstance()
/base/msdp/device_status/services/native/src/
Ddevicestatus_service.cpp769 …sptr<CoordinationEventManager::EventInfo> event = new (std::nothrow) CoordinationEventManager::Eve… in OnRegisterCoordinationListener()
771 event->type = CoordinationEventManager::EventType::LISTENER; in OnRegisterCoordinationListener()
782 …sptr<CoordinationEventManager::EventInfo> event = new (std::nothrow) CoordinationEventManager::Eve… in OnUnregisterCoordinationListener()
784 event->type = CoordinationEventManager::EventType::LISTENER; in OnUnregisterCoordinationListener()
841 …sptr<CoordinationEventManager::EventInfo> event = new (std::nothrow) CoordinationEventManager::Eve… in OnActivateCoordination()
843 event->type = CoordinationEventManager::EventType::START; in OnActivateCoordination()
876 …sptr<CoordinationEventManager::EventInfo> event = new (std::nothrow) CoordinationEventManager::Eve… in OnDeactivateCoordination()
878 event->type = CoordinationEventManager::EventType::STOP; in OnDeactivateCoordination()
897 …sptr<CoordinationEventManager::EventInfo> event = new (std::nothrow) CoordinationEventManager::Eve… in OnGetCoordinationState()
899 event->type = CoordinationEventManager::EventType::STATE; in OnGetCoordinationState()