Home
last modified time | relevance | path

Searched refs:castSession (Results 1 - 25 of 25) sorted by relevance

/foundation/CastEngine/castengine_cast_framework/client/src/
H A Dcast_service_listener_impl_stub.cpp74 bool CastServiceListenerImplStub::GetCastSession(MessageParcel &data, std::shared_ptr<ICastSession> &castSession) in GetCastSession() argument
88 castSession = session; in GetCastSession()
108 std::shared_ptr<ICastSession> castSession; in DoSessionCreateTask() local
109 if (!GetCastSession(data, castSession)) { in DoSessionCreateTask()
113 userListener_->OnSessionCreated(castSession); in DoSessionCreateTask()
135 void CastServiceListenerImplStub::OnSessionCreated(const sptr<ICastSessionImpl> &castSession) in OnSessionCreated() argument
137 static_cast<void>(castSession); in OnSessionCreated()
H A Dcast_session_manager_adaptor.cpp82 std::shared_ptr<ICastSession> &castSession) in CreateCastSession()
104 castSession = session; in CreateCastSession()
129 int32_t CastSessionManagerAdaptor::GetCastSession(std::string sessionId, std::shared_ptr<ICastSession> &castSession) in GetCastSession() argument
147 castSession = session; in GetCastSession()
81 CreateCastSession(const CastSessionProperty &property, std::shared_ptr<ICastSession> &castSession) CreateCastSession() argument
H A Dcast_session_manager.cpp154 std::shared_ptr<ICastSession> &castSession) in CreateCastSession()
158 return adaptor ? adaptor->CreateCastSession(property, castSession) : CAST_ENGINE_ERROR; in CreateCastSession()
189 int32_t CastSessionManager::GetCastSession(std::string sessionId, std::shared_ptr<ICastSession> &castSession) in GetCastSession() argument
193 return adaptor ? adaptor->GetCastSession(sessionId, castSession) : CAST_ENGINE_ERROR; in GetCastSession()
153 CreateCastSession(const CastSessionProperty &property, std::shared_ptr<ICastSession> &castSession) CreateCastSession() argument
H A Dcast_session_manager_service_proxy.cpp126 sptr<ICastSessionImpl> &castSession) in CreateCastSession()
160 castSession = iface_cast<ICastSessionImpl>(object); in CreateCastSession()
272 int32_t CastSessionManagerServiceProxy::GetCastSession(std::string sessionId, sptr<ICastSessionImpl> &castSession) in GetCastSession() argument
297 castSession = iface_cast<ICastSessionImpl>(object); in GetCastSession()
125 CreateCastSession(const CastSessionProperty &property, sptr<ICastSessionImpl> &castSession) CreateCastSession() argument
/foundation/CastEngine/castengine_cast_framework/service/src/
H A Dcast_service_listener_impl_proxy.cpp64 bool FillCastSession(MessageParcel &data, const sptr<ICastSessionImpl> &castSession) in FillCastSession() argument
66 if (!castSession) { in FillCastSession()
69 if (!data.WriteRemoteObject(castSession->AsObject())) { in FillCastSession()
94 void CastServiceListenerImplProxy::OnSessionCreated(const sptr<ICastSessionImpl> &castSession) in OnSessionCreated() argument
103 if (!FillCastSession(data, castSession)) { in OnSessionCreated()
H A Dcast_session_manager_service.cpp430 int32_t CastSessionManagerService::GetCastSession(std::string sessionId, sptr<ICastSessionImpl> &castSession) in GetCastSession() argument
441 castSession = session; in GetCastSession()
457 sptr<ICastSessionImpl> &castSession) in CreateCastSession()
493 castSession = session; in CreateCastSession()
692 void CastSessionManagerService::ReportSessionCreate(const sptr<ICastSessionImpl> &castSession) in ReportSessionCreate() argument
696 listener.second->OnSessionCreated(castSession); in ReportSessionCreate()
456 CreateCastSession(const CastSessionProperty &property, sptr<ICastSessionImpl> &castSession) CreateCastSession() argument
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/src/
H A Dnapi_cast_session.cpp66 napi_value castSession = nullptr; in DefineCastSessionJSClass() local
68 napi_status status = napi_define_class(env, "castSession", NAPI_AUTO_LENGTH, NapiCastSessionConstructor, nullptr, in DefineCastSessionJSClass()
69 sizeof(NapiCastSessionDesc) / sizeof(NapiCastSessionDesc[0]), NapiCastSessionDesc, &castSession); in DefineCastSessionJSClass()
74 status = napi_create_reference(env, castSession, initialRefCount, &consRef_); in DefineCastSessionJSClass()
332 shared_ptr<ICastSession> castSession = napiSession->GetCastSession(); in AddDevice()
333 CHECK_ARGS_RETURN_VOID(napiAsyntask, castSession, "ICastSession is null", in AddDevice()
335 int32_t ret = castSession->AddDevice(napiAsyntask->castRemoteDevice_); in AddDevice()
380 shared_ptr<ICastSession> castSession = napiSession->GetCastSession(); in RemoveDevice()
381 CHECK_ARGS_RETURN_VOID(napiAsyntask, castSession, "ICastSession is null", in RemoveDevice()
383 int32_t ret = castSession in RemoveDevice()
[all...]
H A Dnapi_cast_session_manager_listener.cpp76 void NapiCastSessionManagerListener::OnSessionCreated(const std::shared_ptr<ICastSession> &castSession) in OnSessionCreated() argument
79 NapiArgsGetter napiArgsGetter = [castSession](napi_env env, int &argc, napi_value *argv) { in OnSessionCreated()
81 argv[0] = ConvertCastSessionToJS(env, castSession); in OnSessionCreated()
H A Dnapi_castengine_utils.cpp173 napi_value ConvertCastSessionToJS(napi_env env, const shared_ptr<ICastSession> &castSession) in ConvertCastSessionToJS() argument
176 NapiCastSession::CreateNapiCastSession(env, castSession, napiCastSession); in ConvertCastSessionToJS()
/foundation/CastEngine/castengine_cast_framework/client/include/
H A Dcast_session_manager_service_proxy.h39 int32_t CreateCastSession(const CastSessionProperty &property, sptr<ICastSessionImpl> &castSession) override;
45 int32_t GetCastSession(std::string sessionId, sptr<ICastSessionImpl> &castSession) override;
H A Dcast_session_manager_adaptor.h45 int32_t CreateCastSession(const CastSessionProperty &property, std::shared_ptr<ICastSession> &castSession) override;
50 int32_t GetCastSession(std::string sessionId, std::shared_ptr<ICastSession> &castSession) override;
H A Dcast_service_listener_impl_stub.h41 bool GetCastSession(MessageParcel &data, std::shared_ptr<ICastSession> &castSession);
48 void OnSessionCreated(const sptr<ICastSessionImpl> &castSession) override;
/foundation/CastEngine/castengine_cast_framework/interfaces/inner_api/include/
H A Di_cast_session_manager_adaptor.h46 std::shared_ptr<ICastSession> &castSession) = 0;
51 virtual int32_t GetCastSession(std::string sessionId, std::shared_ptr<ICastSession> &castSession) = 0;
H A Dcast_session_manager.h47 int32_t CreateCastSession(const CastSessionProperty &property, std::shared_ptr<ICastSession> &castSession);
54 int32_t GetCastSession(std::string sessionId, std::shared_ptr<ICastSession> &castSession);
H A Di_cast_session_manager_listener.h38 virtual void OnSessionCreated(const std::shared_ptr<ICastSession> &castSession) = 0;
/foundation/CastEngine/castengine_cast_framework/common/include/private/
H A Di_cast_session_manager_service.h45 virtual int32_t CreateCastSession(const CastSessionProperty &property, sptr<ICastSessionImpl> &castSession) = 0;
50 virtual int32_t GetCastSession(std::string sessionId, sptr<ICastSessionImpl> &castSession) = 0;
H A Di_cast_service_listener_impl.h41 virtual void OnSessionCreated(const sptr<ICastSessionImpl> &castSession) = 0;
/foundation/multimedia/av_session/services/session/server/
H A Dhw_cast_provider_session.h29 explicit HwCastProviderSession(std::shared_ptr<CastEngine::ICastSession> castSession) : castSession_(castSession) {} in HwCastProviderSession() argument
H A Dhw_cast_provider.cpp116 std::shared_ptr<ICastSession> castSession = nullptr; in StartCastSession() local
117 int ret = CastSessionManager::GetInstance().CreateCastSession(property, castSession); in StartCastSession()
135 auto hwCastProviderSession = std::make_shared<HwCastProviderSession>(castSession); in StartCastSession()
159 SLOGE("no need to release castSession for castId %{public}d is not exit in hwCastProviderSessionMap_", castId); in StopCastSession()
175 SLOGI("AddCastDevice with config castSession and corresonding castId is %{public}d", castId); in AddCastDevice()
180 SLOGE("the castId corresonding to castSession is not exist"); in AddCastDevice()
185 SLOGE("the castId corresonding to castSession is nullptr"); in AddCastDevice()
194 SLOGI("RemoveCastDevice with config castSession and corresonding castId is %{public}d", castId); in RemoveCastDevice()
198 SLOGE("the castId corresonding to castSession is not exist"); in RemoveCastDevice()
203 SLOGE("the castId corresonding to castSession i in RemoveCastDevice()
426 OnSessionCreated(const std::shared_ptr<CastEngine::ICastSession> &castSession) OnSessionCreated() argument
[all...]
H A Dhw_cast_provider.h56 void OnSessionCreated(const std::shared_ptr<CastEngine::ICastSession> &castSession) override;
/foundation/CastEngine/castengine_cast_framework/service/include/
H A Dcast_session_manager_service.h51 int32_t CreateCastSession(const CastSessionProperty &property, sptr<ICastSessionImpl> &castSession) override;
57 int32_t GetCastSession(std::string sessionId, sptr<ICastSessionImpl> &castSession) override;
62 void ReportSessionCreate(const sptr<ICastSessionImpl> &castSession);
H A Dcast_service_listener_impl_proxy.h38 void OnSessionCreated(const sptr<ICastSessionImpl> &castSession) override;
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/include/
H A Dnapi_cast_session_manager_listener.h49 void OnSessionCreated(const std::shared_ptr<ICastSession> &castSession) override;
H A Dnapi_castengine_utils.h82 napi_value ConvertCastSessionToJS(napi_env env, const std::shared_ptr<ICastSession> &castSession);
/foundation/multimedia/av_session/services/session/server/test/
H A Dhw_cast_stream_player_test.cpp50 void OnSessionCreated(const std::shared_ptr<ICastSession> &castSession) override
52 static_cast<void>(castSession); variable
111 std::shared_ptr<ICastSession> castSession = CreateSession(); in SetUp() local
112 hwCastProviderSession = std::make_shared<HwCastProviderSession>(castSession); in SetUp()

Completed in 11 milliseconds