Home
last modified time | relevance | path

Searched refs:CastSessionImpl (Results 1 - 13 of 13) sorted by relevance

/foundation/CastEngine/castengine_cast_framework/service/src/session/include/
H A Dcast_session_impl.h31 class CastSessionImpl::ChannelManagerListenerImpl : public IChannelManagerListener {
33 explicit ChannelManagerListenerImpl(sptr<CastSessionImpl> session) : session_(session) {} in ChannelManagerListenerImpl()
47 wptr<CastSessionImpl> session_;
51 class CastSessionImpl::RtspListenerImpl : public IRtspListener {
53 explicit RtspListenerImpl(sptr<CastSessionImpl> session) : session_(session) {} in RtspListenerImpl()
72 wptr<CastSessionImpl> session_;
75 class CastSessionImpl::ConnectManagerListenerImpl : public IConnectManagerSessionListener {
77 explicit ConnectManagerListenerImpl(sptr<CastSessionImpl> session) : session_(session) {} in ConnectManagerListenerImpl()
82 wptr<CastSessionImpl> session_;
85 class CastSessionImpl
[all...]
H A Dcast_session_impl_class.h57 class CastSessionImpl : public StateMachine, class
59 public std::enable_shared_from_this<CastSessionImpl> {
61 CastSessionImpl(const CastSessionProperty &property, const CastLocalDevice &localDevice);
62 ~CastSessionImpl() override;
207 void OnEventInner(sptr<CastSessionImpl> session, EventId eventId, const std::string &jsonParam);
253 using StateProcessor = bool (CastSessionImpl::*)(const Message &msg);
256 &CastSessionImpl::ProcessSetUp, // MSG_SETUP
257 &CastSessionImpl::ProcessSetUpSuccess, // MSG_SETUP_SUCCESS
260 &CastSessionImpl::ProcessPlay, // MSG_PLAY
261 &CastSessionImpl
[all...]
/foundation/CastEngine/castengine_cast_plus_stream/include/
H A Dcast_session_impl.h31 class CastSessionImpl::ChannelManagerListenerImpl : public IChannelManagerListener {
33 explicit ChannelManagerListenerImpl(sptr<CastSessionImpl> session) : session_(session) {} in ChannelManagerListenerImpl()
47 wptr<CastSessionImpl> session_;
51 class CastSessionImpl::RtspListenerImpl : public IRtspListener {
53 explicit RtspListenerImpl(sptr<CastSessionImpl> session) : session_(session) {} in RtspListenerImpl()
72 wptr<CastSessionImpl> session_;
75 class CastSessionImpl::ConnectManagerListenerImpl : public IConnectManagerSessionListener {
77 explicit ConnectManagerListenerImpl(sptr<CastSessionImpl> session) : session_(session) {} in ConnectManagerListenerImpl()
82 wptr<CastSessionImpl> session_;
85 class CastSessionImpl
[all...]
H A Dcast_session_impl_class.h57 class CastSessionImpl : public StateMachine, class
59 public std::enable_shared_from_this<CastSessionImpl> {
61 CastSessionImpl(const CastSessionProperty &property, const CastLocalDevice &localDevice);
62 ~CastSessionImpl() override;
207 void OnEventInner(sptr<CastSessionImpl> session, EventId eventId, const std::string &jsonParam);
253 using StateProcessor = bool (CastSessionImpl::*)(const Message &msg);
256 &CastSessionImpl::ProcessSetUp, // MSG_SETUP
257 &CastSessionImpl::ProcessSetUpSuccess, // MSG_SETUP_SUCCESS
260 &CastSessionImpl::ProcessPlay, // MSG_PLAY
261 &CastSessionImpl
[all...]
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/
H A Dcast_session_state.cpp28 void CastSessionImpl::BaseState::Enter(SessionState state) in Enter()
42 void CastSessionImpl::BaseState::Exit() in Exit()
53 bool CastSessionImpl::BaseState::HandleMessage(const Message &msg) in HandleMessage()
66 SessionState CastSessionImpl::BaseState::GetStateId() const in GetStateId()
71 void CastSessionImpl::DefaultState::Enter() in Enter()
76 void CastSessionImpl::DefaultState::Exit() in Exit()
81 bool CastSessionImpl::DefaultState::HandleMessage(const Message &msg) in HandleMessage()
103 void CastSessionImpl::DisconnectedState::Enter() in Enter()
108 void CastSessionImpl::DisconnectedState::Exit() in Exit()
113 bool CastSessionImpl
[all...]
H A Dcast_session_impl.cpp86 CastSessionImpl::MESSAGE_ID_STRING = {
108 std::atomic<int> CastSessionImpl::idCount_ = rand();
110 CastSessionImpl::CastSessionImpl(const CastSessionProperty &property, const CastLocalDevice &localDevice) in CastSessionImpl() function in OHOS::CastEngine::CastEngineService::CastSessionImpl
116 CastSessionImpl::~CastSessionImpl() in ~CastSessionImpl()
118 CLOGD("~CastSessionImpl in"); in ~CastSessionImpl()
121 CLOGD("~CastSessionImpl out"); in ~CastSessionImpl()
124 void CastSessionImpl::SetServiceCallbackForRelease(const std::function<void(int)> &callback) in SetServiceCallbackForRelease()
130 int32_t CastSessionImpl
[all...]
H A Dcast_session_listeners.cpp64 void CastSessionImpl::RtspListenerImpl::OnSetup(const ParamInfo &param, int mediaPort, int remoteControlPort, in OnSetup()
83 bool CastSessionImpl::RtspListenerImpl::OnPlay(const ParamInfo &param, int port, const std::string &deviceId) in OnPlay()
96 bool CastSessionImpl::RtspListenerImpl::OnPause() in OnPause()
109 void CastSessionImpl::RtspListenerImpl::OnTearDown() in OnTearDown()
122 void CastSessionImpl::RtspListenerImpl::OnError(int errCode) in OnError()
134 void CastSessionImpl::RtspListenerImpl::NotifyTrigger(int trigger) in NotifyTrigger()
146 void CastSessionImpl::RtspListenerImpl::NotifyEventChange(int moduleId, int event, const std::string &param) in NotifyEventChange()
157 void CastSessionImpl::ConnectManagerListenerImpl::NotifySessionEvent(const std::string &deviceId, int result) in NotifySessionEvent()
184 bool CastSessionImpl::CastStreamListenerImpl::SendActionToPeers(int action, const std::string &param) in SendActionToPeers()
194 CastSessionImpl
[all...]
/foundation/CastEngine/castengine_cast_plus_stream/src/
H A Dcast_session_state.cpp28 void CastSessionImpl::BaseState::Enter(SessionState state) in Enter()
42 void CastSessionImpl::BaseState::Exit() in Exit()
53 bool CastSessionImpl::BaseState::HandleMessage(const Message &msg) in HandleMessage()
66 SessionState CastSessionImpl::BaseState::GetStateId() const in GetStateId()
71 void CastSessionImpl::DefaultState::Enter() in Enter()
76 void CastSessionImpl::DefaultState::Exit() in Exit()
81 bool CastSessionImpl::DefaultState::HandleMessage(const Message &msg) in HandleMessage()
103 void CastSessionImpl::DisconnectedState::Enter() in Enter()
108 void CastSessionImpl::DisconnectedState::Exit() in Exit()
113 bool CastSessionImpl
[all...]
H A Dcast_session_impl.cpp86 CastSessionImpl::MESSAGE_ID_STRING = {
108 std::atomic<int> CastSessionImpl::idCount_ = rand();
110 CastSessionImpl::CastSessionImpl(const CastSessionProperty &property, const CastLocalDevice &localDevice) in CastSessionImpl() function in OHOS::CastEngine::CastEngineService::CastSessionImpl
116 CastSessionImpl::~CastSessionImpl() in ~CastSessionImpl()
118 CLOGD("~CastSessionImpl in"); in ~CastSessionImpl()
121 CLOGD("~CastSessionImpl out"); in ~CastSessionImpl()
124 void CastSessionImpl::SetServiceCallbackForRelease(const std::function<void(int)> &callback) in SetServiceCallbackForRelease()
130 int32_t CastSessionImpl
[all...]
H A Dcast_session_listeners.cpp64 void CastSessionImpl::RtspListenerImpl::OnSetup(const ParamInfo &param, int mediaPort, int remoteControlPort, in OnSetup()
83 bool CastSessionImpl::RtspListenerImpl::OnPlay(const ParamInfo &param, int port, const std::string &deviceId) in OnPlay()
96 bool CastSessionImpl::RtspListenerImpl::OnPause() in OnPause()
109 void CastSessionImpl::RtspListenerImpl::OnTearDown() in OnTearDown()
122 void CastSessionImpl::RtspListenerImpl::OnError(int errCode) in OnError()
134 void CastSessionImpl::RtspListenerImpl::NotifyTrigger(int trigger) in NotifyTrigger()
146 void CastSessionImpl::RtspListenerImpl::NotifyEventChange(int moduleId, int event, const std::string &param) in NotifyEventChange()
157 void CastSessionImpl::ConnectManagerListenerImpl::NotifySessionEvent(const std::string &deviceId, int result) in NotifySessionEvent()
184 bool CastSessionImpl::CastStreamListenerImpl::SendActionToPeers(int action, const std::string &param) in SendActionToPeers()
194 CastSessionImpl
[all...]
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/mirror/include/
H A Dmirror_player_impl.h33 MirrorPlayerImpl(sptr<CastSessionImpl> session) : session_(session) {} in MirrorPlayerImpl()
45 wptr<CastSessionImpl> session_;
/foundation/CastEngine/castengine_cast_plus_stream/src/mirror/include/
H A Dmirror_player_impl.h33 MirrorPlayerImpl(sptr<CastSessionImpl> session) : session_(session) {} in MirrorPlayerImpl()
45 wptr<CastSessionImpl> session_;
/foundation/CastEngine/castengine_cast_framework/service/src/
H A Dcast_session_manager_service.cpp477 auto tmp = new (std::nothrow) CastSessionImpl(property, localDevice_); in CreateCastSession()
479 CLOGE("CastSessionImpl is null"); in CreateCastSession()

Completed in 13 milliseconds