Home
last modified time | relevance | path

Searched refs:jsonParam (Results 1 - 24 of 24) sorted by relevance

/foundation/CastEngine/castengine_cast_framework/client/src/
H A Dcast_session.cpp156 int32_t CastSession::SetCastMode(CastMode mode, std::string &jsonParam) in SetCastMode() argument
158 return proxy_ ? proxy_->SetCastMode(mode, jsonParam) : false; in SetCastMode()
161 int32_t CastSession::NotifyEvent(EventId eventId, std::string &jsonParam) in NotifyEvent() argument
164 proxy_->NotifyEvent(eventId, jsonParam); in NotifyEvent()
H A Dcast_session_listener_impl_stub.cpp92 void CastSessionListenerImplStub::OnEvent(const EventId &eventId, const std::string &jsonParam) in OnEvent() argument
95 static_cast<void>(jsonParam); in OnEvent()
H A Dcast_session_impl_proxy.cpp337 int32_t CastSessionImplProxy::SetCastMode(CastMode mode, std::string &jsonParam) in SetCastMode() argument
350 if (!data.WriteString(jsonParam)) { in SetCastMode()
362 int32_t CastSessionImplProxy::NotifyEvent(EventId eventId, std::string &jsonParam) in NotifyEvent() argument
375 if (!data.WriteString(jsonParam)) { in NotifyEvent()
/foundation/CastEngine/castengine_cast_framework/interfaces/inner_api/include/
H A Di_cast_session.h39 virtual void OnEvent(const EventId &eventId, const std::string &jsonParam) = 0;
61 virtual int32_t NotifyEvent(EventId eventId, std::string &jsonParam) = 0;
62 virtual int32_t SetCastMode(CastMode mode, std::string &jsonParam) = 0;
/foundation/CastEngine/castengine_cast_framework/client/include/
H A Dcast_session_impl_proxy.h46 int32_t NotifyEvent(EventId eventId, std::string &jsonParam) override;
47 int32_t SetCastMode(CastMode mode, std::string &jsonParam) override;
H A Dcast_session.h46 int32_t NotifyEvent(EventId eventId, std::string &jsonParam) override;
47 int32_t SetCastMode(CastMode mode, std::string &jsonParam) override;
H A Dcast_session_listener_impl_stub.h42 void OnEvent(const EventId &eventId, const std::string &jsonParam) override;
/foundation/CastEngine/castengine_cast_framework/common/include/private/
H A Di_cast_session_impl.h59 virtual int32_t NotifyEvent(EventId eventId, std::string &jsonParam) = 0;
60 virtual int32_t SetCastMode(CastMode mode, std::string &jsonParam) = 0;
H A Dcast_engine_common_helper.h55 bool WriteEvent(Parcel &parcel, const EventId &eventId, const std::string &jsonParam);
56 bool ReadEvent(Parcel &parcel, int32_t &eventId, std::string &jsonParam);
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/
H A Dcast_session_listener_impl_proxy.cpp48 void CastSessionListenerImplProxy::OnEvent(const EventId &eventId, const std::string &jsonParam) in OnEvent() argument
58 if (!WriteEvent(data, eventId, jsonParam)) { in OnEvent()
H A Dcast_session_impl_stub.cpp268 std::string jsonParam = data.ReadString(); in DoSetCastMode() local
269 if (!reply.WriteInt32(SetCastMode(static_cast<CastMode>(mode), jsonParam))) { in DoSetCastMode()
H A Dcast_session_impl.cpp1211 int32_t CastSessionImpl::NotifyEvent(EventId eventId, std::string &jsonParam) in NotifyEvent() argument
1223 int32_t CastSessionImpl::SetCastMode(CastMode mode, std::string &jsonParam) in SetCastMode() argument
1225 CLOGD("in, mode = %d, param = %s", static_cast<int>(mode), jsonParam.c_str()); in SetCastMode()
1229 if (!SendCastMessage(Message(MessageId::MSG_SET_CAST_MODE, static_cast<int>(mode), jsonParam))) { in SetCastMode()
1235 void CastSessionImpl::OnEventInner(sptr<CastSessionImpl> session, EventId eventId, const std::string &jsonParam) in OnEventInner() argument
1239 listener->OnEvent(eventId, jsonParam); in OnEventInner()
/foundation/CastEngine/castengine_cast_plus_stream/src/
H A Dcast_session_listener_impl_proxy.cpp48 void CastSessionListenerImplProxy::OnEvent(const EventId &eventId, const std::string &jsonParam) in OnEvent() argument
58 if (!WriteEvent(data, eventId, jsonParam)) { in OnEvent()
H A Dcast_session_impl_stub.cpp268 std::string jsonParam = data.ReadString(); in DoSetCastMode() local
269 if (!reply.WriteInt32(SetCastMode(static_cast<CastMode>(mode), jsonParam))) { in DoSetCastMode()
H A Dcast_session_impl.cpp1211 int32_t CastSessionImpl::NotifyEvent(EventId eventId, std::string &jsonParam) in NotifyEvent() argument
1223 int32_t CastSessionImpl::SetCastMode(CastMode mode, std::string &jsonParam) in SetCastMode() argument
1225 CLOGD("in, mode = %d, param = %s", static_cast<int>(mode), jsonParam.c_str()); in SetCastMode()
1229 if (!SendCastMessage(Message(MessageId::MSG_SET_CAST_MODE, static_cast<int>(mode), jsonParam))) { in SetCastMode()
1235 void CastSessionImpl::OnEventInner(sptr<CastSessionImpl> session, EventId eventId, const std::string &jsonParam) in OnEventInner() argument
1239 listener->OnEvent(eventId, jsonParam); in OnEventInner()
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/src/
H A Dnapi_cast_session_listener.cpp62 void NapiCastSessionListener::OnEvent(const EventId &eventId, const std::string &jsonParam) in OnEvent() argument
65 NapiArgsGetter napiArgsGetter = [eventId, jsonParam](napi_env env, int &argc, napi_value *argv) { in OnEvent()
69 status = napi_create_string_utf8(env, jsonParam.c_str(), NAPI_AUTO_LENGTH, &argv[1]); in OnEvent()
/foundation/multimedia/av_session/services/session/server/
H A Dhw_cast_provider_session.cpp193 void HwCastProviderSession::OnEvent(const CastEngine::EventId &eventId, const std::string &jsonParam) in OnEvent() argument
195 SLOGI("OnEvent from cast with eventId %{public}d, %{public}s", eventId, jsonParam.c_str()); in OnEvent()
196 std::string jsonStr = jsonParam; in OnEvent()
H A Dhw_cast_provider_session.h33 void OnEvent(const CastEngine::EventId &eventId, const std::string &jsonParam) override;
/foundation/CastEngine/castengine_cast_framework/service/src/session/include/
H A Dcast_session_listener_impl_proxy.h35 void OnEvent(const EventId &eventId, const std::string &jsonParam) override;
H A Dcast_session_impl_class.h82 int32_t NotifyEvent(EventId eventId, std::string &jsonParam) override;
83 int32_t SetCastMode(CastMode mode, std::string &jsonParam) override;
207 void OnEventInner(sptr<CastSessionImpl> session, EventId eventId, const std::string &jsonParam);
/foundation/CastEngine/castengine_cast_plus_stream/include/
H A Dcast_session_listener_impl_proxy.h35 void OnEvent(const EventId &eventId, const std::string &jsonParam) override;
H A Dcast_session_impl_class.h82 int32_t NotifyEvent(EventId eventId, std::string &jsonParam) override;
83 int32_t SetCastMode(CastMode mode, std::string &jsonParam) override;
207 void OnEventInner(sptr<CastSessionImpl> session, EventId eventId, const std::string &jsonParam);
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/include/
H A Dnapi_cast_session_listener.h47 void OnEvent(const EventId &eventId, const std::string &jsonParam) override;
/foundation/CastEngine/castengine_cast_framework/common/src/
H A Dcast_engine_common_helper.cpp651 bool WriteEvent(Parcel &parcel, const EventId &eventId, const std::string &jsonParam) in WriteEvent() argument
653 return parcel.WriteInt32(static_cast<int32_t>(eventId)) && parcel.WriteString(jsonParam); in WriteEvent()
656 bool ReadEvent(Parcel &parcel, int32_t &eventId, std::string &jsonParam) in ReadEvent() argument
663 jsonParam = parcel.ReadString(); in ReadEvent()

Completed in 12 milliseconds