/foundation/CastEngine/castengine_cast_framework/client/src/ |
H A D | cast_service_listener_impl_stub.cpp | 74 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 D | cast_session_manager_adaptor.cpp | 82 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 D | cast_session_manager.cpp | 154 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 D | cast_session_manager_service_proxy.cpp | 126 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 D | cast_service_listener_impl_proxy.cpp | 64 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 D | cast_session_manager_service.cpp | 430 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 D | napi_cast_session.cpp | 66 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 D | napi_cast_session_manager_listener.cpp | 76 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 D | napi_castengine_utils.cpp | 173 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 D | cast_session_manager_service_proxy.h | 39 int32_t CreateCastSession(const CastSessionProperty &property, sptr<ICastSessionImpl> &castSession) override; 45 int32_t GetCastSession(std::string sessionId, sptr<ICastSessionImpl> &castSession) override;
|
H A D | cast_session_manager_adaptor.h | 45 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 D | cast_service_listener_impl_stub.h | 41 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 D | i_cast_session_manager_adaptor.h | 46 std::shared_ptr<ICastSession> &castSession) = 0; 51 virtual int32_t GetCastSession(std::string sessionId, std::shared_ptr<ICastSession> &castSession) = 0;
|
H A D | cast_session_manager.h | 47 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 D | i_cast_session_manager_listener.h | 38 virtual void OnSessionCreated(const std::shared_ptr<ICastSession> &castSession) = 0;
|
/foundation/CastEngine/castengine_cast_framework/common/include/private/ |
H A D | i_cast_session_manager_service.h | 45 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 D | i_cast_service_listener_impl.h | 41 virtual void OnSessionCreated(const sptr<ICastSessionImpl> &castSession) = 0;
|
/foundation/multimedia/av_session/services/session/server/ |
H A D | hw_cast_provider_session.h | 29 explicit HwCastProviderSession(std::shared_ptr<CastEngine::ICastSession> castSession) : castSession_(castSession) {}
in HwCastProviderSession() argument
|
H A D | hw_cast_provider.cpp | 116 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 D | hw_cast_provider.h | 56 void OnSessionCreated(const std::shared_ptr<CastEngine::ICastSession> &castSession) override;
|
/foundation/CastEngine/castengine_cast_framework/service/include/ |
H A D | cast_session_manager_service.h | 51 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 D | cast_service_listener_impl_proxy.h | 38 void OnSessionCreated(const sptr<ICastSessionImpl> &castSession) override;
|
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/include/ |
H A D | napi_cast_session_manager_listener.h | 49 void OnSessionCreated(const std::shared_ptr<ICastSession> &castSession) override;
|
H A D | napi_castengine_utils.h | 82 napi_value ConvertCastSessionToJS(napi_env env, const std::shared_ptr<ICastSession> &castSession);
|
/foundation/multimedia/av_session/services/session/server/test/ |
H A D | hw_cast_stream_player_test.cpp | 50 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()
|