Home
last modified time | relevance | path

Searched refs:contextMsg (Results 1 - 3 of 3) sorted by relevance

/foundation/CastEngine/castengine_wifi_display/services/interaction/
H A Dinteraction.cpp160 auto contextMsg = std::make_shared<ContextEventMsg>(); in CreateContext() local
161 contextMsg->type = EventType::EVENT_CONTEXTMGR_CREATE; in CreateContext()
162 contextMsg->toMgr = ModuleType::MODULE_CONTEXT; in CreateContext()
165 event.eventMsg = contextMsg; in CreateContext()
170 contextId = contextMsg->dstId; in CreateContext()
182 auto contextMsg = std::make_shared<ContextEventMsg>(); in DestroyContext() local
183 contextMsg->type = EventType::EVENT_CONTEXTMGR_DESTROY; in DestroyContext()
184 contextMsg->toMgr = ModuleType::MODULE_CONTEXT; in DestroyContext()
185 contextMsg->dstId = contextId; in DestroyContext()
187 int32_t ret = NotifyEvent(contextMsg); in DestroyContext()
200 auto contextMsg = std::make_shared<ContextEventMsg>(); CreateAgent() local
233 auto contextMsg = std::make_shared<AgentEventMsg>(); DestroyAgent() local
[all...]
/foundation/CastEngine/castengine_wifi_display/services/mediachannel/
H A Dchannel_manager.cpp74 auto contextMsg = std::make_shared<ContextEventMsg>(); in HandleMediaChannelDestroy() local
75 contextMsg->type = EventType::EVENT_CONTEXTMGR_STATE_CHANNEL_DESTROY; in HandleMediaChannelDestroy()
76 contextMsg->toMgr = ModuleType::MODULE_CONTEXT; in HandleMediaChannelDestroy()
77 contextMsg->fromMgr = ModuleType::MODULE_MEDIACHANNEL; in HandleMediaChannelDestroy()
78 contextMsg->srcId = eventMsg->dstId; in HandleMediaChannelDestroy()
79 contextMsg->dstId = eventMsg->srcId; in HandleMediaChannelDestroy()
80 contextMsg->agentId = eventMsg->agentId; in HandleMediaChannelDestroy()
82 contextEvent.eventMsg = std::move(contextMsg); in HandleMediaChannelDestroy()
/foundation/CastEngine/castengine_wifi_display/services/agent/
H A Dagent.cpp637 auto contextMsg = std::make_shared<ContextEventMsg>(); in SendContextEvent() local
638 RETURN_IF_NULL(contextMsg); in SendContextEvent()
639 contextMsg->type = eventType; in SendContextEvent()
640 contextMsg->toMgr = ModuleType::MODULE_CONTEXT; in SendContextEvent()
641 contextMsg->fromMgr = ModuleType::MODULE_AGENT; in SendContextEvent()
642 contextMsg->srcId = GetId(); in SendContextEvent()
643 contextMsg->agentId = GetId(); in SendContextEvent()
644 contextMsg->agentType = agentType_; in SendContextEvent()
645 contextMsg->errorCode = statusMsg->msg->errorCode; in SendContextEvent()
646 contextMsg in SendContextEvent()
[all...]

Completed in 2 milliseconds