Home
last modified time | relevance | path

Searched refs:ModuleType (Results 1 – 25 of 52) sorted by relevance

123

/foundation/CastEngine/castengine_wifi_display/services/configuration/include/
Dconfig.h37 ConfigEventMsg(const ConfigStatus status, const ModuleType toMudule) in ConfigEventMsg()
41 this->fromMgr = ModuleType::MODULE_CONFIGURE; in ConfigEventMsg()
45 ConfigEventMsg(const SharingDataGroupByModule::Ptr &data, const ModuleType toMudule) in ConfigEventMsg()
49 this->fromMgr = ModuleType::MODULE_CONFIGURE; in ConfigEventMsg()
78 …void EmitEvent(const EventType type, const ModuleType toModule, const SharingDataGroupByModule::Pt…
80 const ModuleType toModule = ModuleType::MODULE_DATACENTER);
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/softbus/
Dsoftbus_connection.cpp403 int SoftBusConnection::GetSessionType(ModuleType moduleType) const in GetSessionType()
407 case ModuleType::AUTH: in GetSessionType()
408 case ModuleType::RTSP: in GetSessionType()
409 case ModuleType::RTCP: in GetSessionType()
410 case ModuleType::REMOTE_CONTROL: in GetSessionType()
411 case ModuleType::STREAM: in GetSessionType()
414 case ModuleType::AUDIO: in GetSessionType()
415 case ModuleType::VIDEO: in GetSessionType()
418 case ModuleType::UI_FILES: in GetSessionType()
421 case ModuleType::UI_BYTES: in GetSessionType()
[all …]
Dsoftbus_connection.h76 int GetSessionType(ModuleType moduleType) const;
77 std::string CreateSessionName(ModuleType moduleType, int sessionId);
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/softbus/
Dsoftbus_connection.cpp403 int SoftBusConnection::GetSessionType(ModuleType moduleType) const in GetSessionType()
407 case ModuleType::AUTH: in GetSessionType()
408 case ModuleType::RTSP: in GetSessionType()
409 case ModuleType::RTCP: in GetSessionType()
410 case ModuleType::REMOTE_CONTROL: in GetSessionType()
411 case ModuleType::STREAM: in GetSessionType()
414 case ModuleType::AUDIO: in GetSessionType()
415 case ModuleType::VIDEO: in GetSessionType()
418 case ModuleType::UI_FILES: in GetSessionType()
421 case ModuleType::UI_BYTES: in GetSessionType()
[all …]
Dsoftbus_connection.h76 int GetSessionType(ModuleType moduleType) const;
77 std::string CreateSessionName(ModuleType moduleType, int sessionId);
/foundation/CastEngine/castengine_wifi_display/services/interaction/
Dinteraction.cpp67 interactionMsg->toMgr = ModuleType::MODULE_INTERACTION; in ReleaseScene()
72 event.eventMsg->fromMgr = ModuleType::MODULE_INTERACTION; in ReleaseScene()
81 interactionMsg->toMgr = ModuleType::MODULE_INTERACTION; in OnSceneNotifyDestroyed()
86 event.eventMsg->fromMgr = ModuleType::MODULE_INTERACTION; in OnSceneNotifyDestroyed()
151 event.eventMsg->fromMgr = ModuleType::MODULE_INTERACTION; in NotifyEvent()
161 contextMsg->toMgr = ModuleType::MODULE_CONTEXT; in CreateContext()
165 event.eventMsg->fromMgr = ModuleType::MODULE_INTERACTION; in CreateContext()
183 contextMsg->toMgr = ModuleType::MODULE_CONTEXT; in DestroyContext()
201 contextMsg->toMgr = ModuleType::MODULE_CONTEXT; in CreateAgent()
209 event.eventMsg->fromMgr = ModuleType::MODULE_INTERACTION; in CreateAgent()
[all …]
/foundation/CastEngine/castengine_cast_plus_stream/src/
Dcast_session_listeners.cpp119 … Message(MessageId::MSG_ERROR, ERR_CODE, MODULE_TYPE_STRING[static_cast<int>(ModuleType::RTSP)])); in OnTearDown()
131 … Message(MessageId::MSG_ERROR, errCode, MODULE_TYPE_STRING[static_cast<int>(ModuleType::RTSP)])); in OnError()
294 ModuleType moduleType = channel->GetRequest().moduleType; in OnChannelCreated()
296 case ModuleType::RTSP: in OnChannelCreated()
302 case ModuleType::STREAM: in OnChannelCreated()
349 ModuleType moduleType = channel->GetRequest().moduleType; in OnChannelRemoved()
351 case ModuleType::RTSP: in OnChannelRemoved()
354 case ModuleType::STREAM: in OnChannelRemoved()
373 void CastSessionImpl::ChannelManagerListenerImpl::SetMediaChannel(ModuleType moduleType) in SetMediaChannel()
375 if (moduleType == ModuleType::AUDIO) { in SetMediaChannel()
[all …]
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/
Dcast_session_listeners.cpp119 … Message(MessageId::MSG_ERROR, ERR_CODE, MODULE_TYPE_STRING[static_cast<int>(ModuleType::RTSP)])); in OnTearDown()
131 … Message(MessageId::MSG_ERROR, errCode, MODULE_TYPE_STRING[static_cast<int>(ModuleType::RTSP)])); in OnError()
294 ModuleType moduleType = channel->GetRequest().moduleType; in OnChannelCreated()
296 case ModuleType::RTSP: in OnChannelCreated()
302 case ModuleType::STREAM: in OnChannelCreated()
349 ModuleType moduleType = channel->GetRequest().moduleType; in OnChannelRemoved()
351 case ModuleType::RTSP: in OnChannelRemoved()
354 case ModuleType::STREAM: in OnChannelRemoved()
373 void CastSessionImpl::ChannelManagerListenerImpl::SetMediaChannel(ModuleType moduleType) in SetMediaChannel()
375 if (moduleType == ModuleType::AUDIO) { in SetMediaChannel()
[all …]
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/include/
Dchannel_info.h33 enum class ModuleType { enum
46 const std::array<std::string, static_cast<size_t>(ModuleType::MODULE_TYPE_MAX)> MODULE_TYPE_STRING …
Dchannel_request.h34 …ChannelRequest(const ModuleType moduleType, bool isReceiver, const CastLocalDevice &localDeviceInf… in ChannelRequest()
52 ModuleType moduleType;
Dchannel_manager.h45 bool DestroyChannel(ModuleType moduleType);
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/include/
Dchannel_info.h33 enum class ModuleType { enum
46 const std::array<std::string, static_cast<size_t>(ModuleType::MODULE_TYPE_MAX)> MODULE_TYPE_STRING …
Dchannel_request.h34 …ChannelRequest(const ModuleType moduleType, bool isReceiver, const CastLocalDevice &localDeviceInf… in ChannelRequest()
52 ModuleType moduleType;
Dchannel_manager.h45 bool DestroyChannel(ModuleType moduleType);
/foundation/CastEngine/castengine_wifi_display/services/context/
Dcontext.cpp188 interactionMsg->fromMgr = ModuleType::MODULE_CONTEXT; in SendInteractionEvent()
190 interactionMsg->toMgr = ModuleType::MODULE_INTERACTION; in SendInteractionEvent()
223 if (statusMsg->msg->toMgr == ModuleType::MODULE_INTERACTION) { in OnAgentNotify()
228 } else if (statusMsg->msg->toMgr == ModuleType::MODULE_CONTEXT) { in OnAgentNotify()
234 event.eventMsg->fromMgr = ModuleType::MODULE_CONTEXT; in OnAgentNotify()
257 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL; in HandleCreateAgent()
262 event.eventMsg->fromMgr = ModuleType::MODULE_CONTEXT; in HandleCreateAgent()
263 event.eventMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL; in HandleCreateAgent()
368 event.eventMsg->fromMgr = ModuleType::MODULE_CONTEXT; in CheckNeedDestroySink()
370 event.eventMsg->toMgr = ModuleType::MODULE_CONTEXT; in CheckNeedDestroySink()
/foundation/CastEngine/castengine_wifi_display/services/mediachannel/
Dchannel_manager.cpp26 …SHARING_LOGD("id: %{public}s.", std::string(magic_enum::enum_name(ModuleType::MODULE_MEDIACHANNEL)… in ChannelManager()
36 …SHARING_LOGD("id: %{public}s.", std::string(magic_enum::enum_name(ModuleType::MODULE_MEDIACHANNEL)… in ~ChannelManager()
76 contextMsg->toMgr = ModuleType::MODULE_CONTEXT; in HandleMediaChannelDestroy()
77 contextMsg->fromMgr = ModuleType::MODULE_MEDIACHANNEL; in HandleMediaChannelDestroy()
/foundation/ability/ability_runtime/frameworks/simulator/common/include/
Dhap_module_info.h32 enum class ModuleType { enum
119 ModuleType moduleType = ModuleType::UNKNOWN;
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/tcp/
Dtcp_connection.cpp85 …if (request.moduleType == ModuleType::VIDEO && request.remoteDeviceInfo.deviceType != DeviceType::… in StartListen()
133 … if (channelRequest_.moduleType == ModuleType::VIDEO && remotePort != channelRequest_.remotePort && in Accept()
166 audioChannelrequest.moduleType = ModuleType::AUDIO; in SetAudioConnection()
226 if (channelRequest_.moduleType == ModuleType::REMOTE_CONTROL) { in HandleReceivedData()
241 if (channelRequest_.moduleType == ModuleType::REMOTE_CONTROL) { in GetReceivedDataLength()
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/tcp/
Dtcp_connection.cpp85 …if (request.moduleType == ModuleType::VIDEO && request.remoteDeviceInfo.deviceType != DeviceType::… in StartListen()
133 … if (channelRequest_.moduleType == ModuleType::VIDEO && remotePort != channelRequest_.remotePort && in Accept()
166 audioChannelrequest.moduleType = ModuleType::AUDIO; in SetAudioConnection()
226 if (channelRequest_.moduleType == ModuleType::REMOTE_CONTROL) { in HandleReceivedData()
241 if (channelRequest_.moduleType == ModuleType::REMOTE_CONTROL) { in GetReceivedDataLength()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
Dhap_module_info.h35 enum class ModuleType { enum
139 ModuleType moduleType = ModuleType::UNKNOWN;
/foundation/CastEngine/castengine_wifi_display/services/agent/
Dagent.cpp386 if (toMgr != ModuleType::MODULE_MEDIACHANNEL && toMgr != ModuleType::MODULE_INTERACTION) { in NotifyPrivateEvent()
392 if (toMgr == ModuleType::MODULE_MEDIACHANNEL) { in NotifyPrivateEvent()
401 } else if (toMgr == ModuleType::MODULE_INTERACTION) { in NotifyPrivateEvent()
435 interactionMsg->toMgr = ModuleType::MODULE_INTERACTION; in SendInteractionEvent()
460 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL; in SendChannelEvent()
486 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL; in SendChannelAppendSurfaceEvent()
514 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL; in SendChannelRemoveSurfaceEvent()
541 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL; in SendChannelSceneTypeEvent()
569 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL; in SendChannelKeyRedirectEvent()
597 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL; in SendChannelSetVolumeEvent()
[all …]
/foundation/ability/ability_runtime/test/unittest/child_process_manager_test/
Dmock_bundle_manager.cpp33 moduleInfo.moduleType = AppExecFwk::ModuleType::ENTRY; in GetBundleInfoForSelf()
/foundation/CastEngine/castengine_wifi_display/services/configuration/src/
Dconfig.cpp177 void Config::EmitEvent(const ConfigStatus type, const ModuleType toModule) in EmitEvent()
186 void Config::EmitEvent(const EventType type, const ModuleType toModule, const SharingDataGroupByMod… in EmitEvent()
/foundation/CastEngine/castengine_wifi_display/services/agent/srcagent/
Dsrc_agent.cpp81 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL; in NotifyProducer()
/foundation/CastEngine/castengine_wifi_display/services/agent/sinkagent/
Dsink_agent.cpp82 channelMsg->toMgr = ModuleType::MODULE_MEDIACHANNEL; in NotifyConsumer()

123