Home
last modified time | relevance | path

Searched refs:channelMsg (Results 1 - 6 of 6) sorted by relevance

/foundation/CastEngine/castengine_wifi_display/services/mediachannel/
H A Dmedia_channel.cpp313 auto channelMsg = ConvertEventMsg<ChannelEventMsg>(event); in HandleEvent() local
314 if (channelMsg) { in HandleEvent()
315 if (consumer_ && (consumer_->GetId() == channelMsg->prosumerId)) { in HandleEvent()
318 } else if (producers_.find(channelMsg->prosumerId) != producers_.end()) { in HandleEvent()
320 producers_[channelMsg->prosumerId]->HandleEvent(event); in HandleEvent()
323 SHARING_LOGW("unknow prosumerId: %{public}u.", channelMsg->prosumerId); in HandleEvent()
366 auto channelMsg = ConvertEventMsg<ChannelAppendSurfaceEventMsg>(event); in HandleAppendSurface() local
367 if (channelMsg == nullptr) { in HandleAppendSurface()
373 statusMsg->eventMsg = channelMsg; in HandleAppendSurface()
374 if ((nullptr != channelMsg in HandleAppendSurface()
404 auto channelMsg = ConvertEventMsg<ChannelRemoveSurfaceEventMsg>(event); HandleRemoveSurface() local
430 auto channelMsg = ConvertEventMsg<ChannelSetSceneTypeEventMsg>(event); HandleSetSceneType() local
451 auto channelMsg = ConvertEventMsg<ChannelSetKeyRedirectEventMsg>(event); HandleSetKeyRedirect() local
469 auto channelMsg = ConvertEventMsg<ChannelSetVolumeEventMsg>(event); HandleSetVolume() local
488 auto channelMsg = ConvertEventMsg<ChannelEventMsg>(event); HandleStartPlay() local
514 auto channelMsg = ConvertEventMsg<ChannelEventMsg>(event); HandleStopPlay() local
540 auto channelMsg = ConvertEventMsg<ChannelEventMsg>(event); HandleCreateConsumer() local
570 auto channelMsg = ConvertEventMsg<ChannelEventMsg>(event); HandleDestroyConsumer() local
606 auto channelMsg = ConvertEventMsg<ChannelEventMsg>(event); HandleStartConsumer() local
633 auto channelMsg = ConvertEventMsg<ChannelEventMsg>(event); HandleStopConsumer() local
667 auto channelMsg = ConvertEventMsg<ChannelEventMsg>(event); HandlePauseConsumer() local
690 auto channelMsg = ConvertEventMsg<ChannelEventMsg>(event); HandleResumeConsumer() local
713 auto channelMsg = ConvertEventMsg<ChannelEventMsg>(event); HandleCreateProducer() local
742 auto channelMsg = ConvertEventMsg<ChannelEventMsg>(event); HandleDestroyProducer() local
789 auto channelMsg = ConvertEventMsg<ChannelEventMsg>(event); HandleStartProducer() local
826 auto channelMsg = ConvertEventMsg<ChannelEventMsg>(event); HandleStopProducer() local
860 auto channelMsg = ConvertEventMsg<ChannelEventMsg>(event); HandlePauseProducer() local
890 auto channelMsg = ConvertEventMsg<ChannelEventMsg>(event); HandleResumeProducer() local
[all...]
/foundation/CastEngine/castengine_wifi_display/services/agent/
H A Dagent.cpp398 auto channelMsg = std::static_pointer_cast<ChannelEventMsg>(statusMsg->msg); in NotifyPrivateEvent() local
399 channelMsg->prosumerId = prosumerId_; in NotifyPrivateEvent()
400 channelMsg->agentId = GetId(); in NotifyPrivateEvent()
401 channelMsg->errorCode = statusMsg->msg->errorCode; in NotifyPrivateEvent()
402 channelMsg->requestId = statusMsg->msg->requestId; in NotifyPrivateEvent()
462 auto channelMsg = std::make_shared<ChannelEventMsg>(); in SendChannelEvent() local
463 RETURN_IF_NULL(channelMsg); in SendChannelEvent()
464 channelMsg->agentId = GetId(); in SendChannelEvent()
465 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL; in SendChannelEvent()
466 channelMsg in SendChannelEvent()
490 auto channelMsg = std::make_shared<ChannelAppendSurfaceEventMsg>(); SendChannelAppendSurfaceEvent() local
520 auto channelMsg = std::make_shared<ChannelRemoveSurfaceEventMsg>(); SendChannelRemoveSurfaceEvent() local
549 auto channelMsg = std::make_shared<ChannelSetSceneTypeEventMsg>(); SendChannelSceneTypeEvent() local
579 auto channelMsg = std::make_shared<ChannelSetKeyRedirectEventMsg>(); SendChannelKeyRedirectEvent() local
609 auto channelMsg = std::make_shared<ChannelSetVolumeEventMsg>(); SendChannelSetVolumeEvent() local
[all...]
/foundation/CastEngine/castengine_wifi_display/services/agent/sinkagent/
H A Dsink_agent.cpp80 auto channelMsg = std::make_shared<ChannelEventMsg>(); in NotifyConsumer() local
81 RETURN_IF_NULL(channelMsg); in NotifyConsumer()
82 channelMsg->agentId = GetId(); in NotifyConsumer()
83 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL; in NotifyConsumer()
84 channelMsg->dstId = mediaChannelId_; in NotifyConsumer()
85 channelMsg->prosumerId = statusMsg->prosumerId; in NotifyConsumer()
86 channelMsg->type = type; in NotifyConsumer()
87 channelMsg->className = statusMsg->className; in NotifyConsumer()
88 channelMsg->errorCode = statusMsg->msg->errorCode; in NotifyConsumer()
89 channelMsg in NotifyConsumer()
[all...]
/foundation/CastEngine/castengine_wifi_display/services/agent/srcagent/
H A Dsrc_agent.cpp79 auto channelMsg = std::make_shared<ChannelEventMsg>(); in NotifyProducer() local
80 RETURN_IF_NULL(channelMsg); in NotifyProducer()
81 channelMsg->agentId = GetId(); in NotifyProducer()
82 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL; in NotifyProducer()
83 channelMsg->dstId = mediaChannelId_; in NotifyProducer()
84 channelMsg->prosumerId = statusMsg->prosumerId; in NotifyProducer()
85 channelMsg->type = type; in NotifyProducer()
86 channelMsg->className = statusMsg->className; in NotifyProducer()
87 channelMsg->errorCode = statusMsg->msg->errorCode; in NotifyProducer()
88 channelMsg in NotifyProducer()
[all...]
/foundation/CastEngine/castengine_wifi_display/services/context/
H A Dcontext.cpp252 auto channelMsg = std::make_shared<ChannelEventMsg>(); in HandleCreateAgent() local
253 channelMsg->agentId = sinkAgent->GetId(); in HandleCreateAgent()
254 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL; in HandleCreateAgent()
255 channelMsg->type = EVENT_MEDIA_CHANNEL_CREATE; in HandleCreateAgent()
258 event.eventMsg = channelMsg; in HandleCreateAgent()
265 sinkAgent->GetId(), channelMsg->srcId); in HandleCreateAgent()
266 sinkAgent->UpdateMediaChannelId(channelMsg->srcId); in HandleCreateAgent()
/foundation/CastEngine/castengine_wifi_display/tests/unittest/mediachannel/channel/
H A Dmedia_channel_unit_test.cpp1611 auto channelMsg = std::make_shared<ChannelEventMsg>(); in HWTEST_F() local
1612 channelMsg->className = "TestConsumer"; in HWTEST_F()
1613 event.eventMsg = channelMsg; in HWTEST_F()
1627 auto channelMsg = std::make_shared<ChannelEventMsg>(); in HWTEST_F() local
1628 channelMsg->className = "TestConsumer1"; in HWTEST_F()
1629 event.eventMsg = channelMsg; in HWTEST_F()
1736 auto channelMsg = std::make_shared<ChannelEventMsg>(); in HWTEST_F() local
1737 event.eventMsg = channelMsg; in HWTEST_F()
1743 channelMsg->prosumerId = ret; in HWTEST_F()
1769 auto channelMsg in HWTEST_F() local
1788 auto channelMsg = std::make_shared<ChannelEventMsg>(); HWTEST_F() local
1821 auto channelMsg = std::make_shared<ChannelEventMsg>(); HWTEST_F() local
1837 auto channelMsg = std::make_shared<ChannelEventMsg>(); HWTEST_F() local
1853 auto channelMsg = std::make_shared<ChannelEventMsg>(); HWTEST_F() local
1886 auto channelMsg = std::make_shared<ChannelEventMsg>(); HWTEST_F() local
1906 auto channelMsg = std::make_shared<ChannelEventMsg>(); HWTEST_F() local
1926 auto channelMsg = std::make_shared<ChannelEventMsg>(); HWTEST_F() local
1945 auto channelMsg = std::make_shared<ChannelEventMsg>(); HWTEST_F() local
[all...]

Completed in 7 milliseconds