Home
last modified time | relevance | path

Searched refs:RtspResponse (Results 1 - 11 of 11) sorted by relevance

/foundation/CastEngine/castengine_wifi_display/services/protocol/rtsp/include/
H A Drtsp_response.h26 class RtspResponse { class
28 RtspResponse() = default;
29 RtspResponse(int32_t cseq, int32_t status) : cSeq_(cseq), status_(status) {} in RtspResponse() function in OHOS::Sharing::RtspResponse
30 virtual ~RtspResponse() = default;
32 RtspResponse &AddCustomHeader(const std::string &header) in AddCustomHeader()
38 RtspResponse &SetSession(const std::string &session) in SetSession()
44 RtspResponse &SetTimeout(int32_t timeout) in SetTimeout()
89 class RtspResponseOptions : public RtspResponse {
91 RtspResponseOptions(int32_t cseq, int32_t status) : RtspResponse(cseq, status) {} in RtspResponseOptions()
104 class RtspResponseDescribe : public RtspResponse {
[all...]
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/
H A Dwfd_message.h87 class WfdRtspM3Response : public RtspResponse {
91 WfdRtspM3Response(int32_t cseq, int32_t status) : RtspResponse(cseq, status) {} in WfdRtspM3Response()
145 using WfdRtspM4Response = RtspResponse;
158 using WfdRtspM5Response = RtspResponse;
162 class WfdRtspM6Response : public RtspResponse {
165 WfdRtspM6Response(int32_t cseq, int32_t status, std::string sessionID, int32_t timeOut) : RtspResponse(cseq, status) in WfdRtspM6Response()
195 class WfdRtspM7Response : public RtspResponse {
198 WfdRtspM7Response(int32_t cseq, int32_t status, std::string sessionID) : RtspResponse(cseq, status) in WfdRtspM7Response()
205 using WfdRtspM8Response = RtspResponse;
216 using WfdRtspM16Response = RtspResponse;
[all...]
H A Dwfd_message.cpp38 auto res = RtspResponse::Parse(response); in Parse()
63 return RtspResponse::Stringify(); in Stringify()
66 return RtspResponse::Stringify() + body.str(); in Stringify()
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/wfd_sink/
H A Dwfd_sink_session.h72 void HandleM2Response(const RtspResponse &response, const std::string &message);
73 void HandleM6Response(const RtspResponse &response, const std::string &message);
74 void HandleM7Response(const RtspResponse &response, const std::string &message);
75 void HandleM8Response(const RtspResponse &response, const std::string &message);
76 void HandleCommonResponse(const RtspResponse &response, const std::string &message);
106 std::map<int, std::function<void(const RtspResponse &response, const std::string &message)>> responseHandlers_;
H A Dwfd_sink_session.cpp346 RtspResponse response; in OnClientReadData()
512 void WfdSinkSession::HandleM2Response(const RtspResponse &response, const std::string &message) in HandleM2Response()
537 void WfdSinkSession::HandleM6Response(const RtspResponse &response, const std::string &message) in HandleM6Response()
559 void WfdSinkSession::HandleM7Response(const RtspResponse &response, const std::string &message) in HandleM7Response()
587 void WfdSinkSession::HandleM8Response(const RtspResponse &response, const std::string &message) in HandleM8Response()
609 void WfdSinkSession::HandleCommonResponse(const RtspResponse &response, const std::string &message) in HandleCommonResponse()
759 RtspResponse response(cseq, RTSP_STATUS_OK); in SendCommonResponse()
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtsp/src/
H A Drtsp_response.cpp22 std::string RtspResponse::Stringify() in Stringify()
65 RtspError RtspResponse::Parse(const std::string &response) in Parse()
133 std::string RtspResponse::GetToken(const std::string &token) const in GetToken()
148 return RtspResponse::Stringify(); in Stringify()
167 return RtspResponse::Stringify() + body.str(); in Stringify()
193 return RtspResponse::Stringify(); in Stringify()
210 return RtspResponse::Stringify(); in Stringify()
213 return RtspResponse::Stringify() + body.str(); in Stringify()
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/wfd_source/
H A Dwfd_source_session.h99 bool HandleResponse(const RtspResponse &response, const std::string &message, INetworkSession::Ptr &session);
100 bool HandleM1Response(const RtspResponse &response, const std::string &message, INetworkSession::Ptr &session);
101 bool HandleM3Response(const RtspResponse &response, const std::string &message, INetworkSession::Ptr &session);
102 bool HandleM4Response(const RtspResponse &response, const std::string &message, INetworkSession::Ptr &session);
103 bool HandleM5Response(const RtspResponse &response, const std::string &message, INetworkSession::Ptr &session);
104 bool HandleM7Response(const RtspResponse &response, const std::string &message, INetworkSession::Ptr &session);
105 bool HandleM8Response(const RtspResponse &response, const std::string &message, INetworkSession::Ptr &session);
H A Dwfd_source_session.cpp368 RtspResponse response; in OnServerReadData()
539 bool WfdSourceSession::HandleResponse(const RtspResponse &response, const std::string &message, in HandleResponse()
574 bool WfdSourceSession::HandleM1Response(const RtspResponse &response, const std::string &message, in HandleM1Response()
599 bool WfdSourceSession::HandleM3Response(const RtspResponse &response, const std::string &message, in HandleM3Response()
635 bool WfdSourceSession::HandleM4Response(const RtspResponse &response, const std::string &message, in HandleM4Response()
665 bool WfdSourceSession::HandleM5Response(const RtspResponse &response, const std::string &message, in HandleM5Response()
687 bool WfdSourceSession::HandleM7Response(const RtspResponse &response, const std::string &message, in HandleM7Response()
706 bool WfdSourceSession::HandleM8Response(const RtspResponse &response, const std::string &message, in HandleM8Response()
910 RtspResponse m4Response(cseq, RTSP_STATUS_OK); in SendCommonResponse()
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/session/
H A Dwfd_sink_session_test.cpp571 RtspResponse response(1, RTSP_STATUS_BAD_REQUEST); in HWTEST_F()
583 RtspResponse response(1, RTSP_STATUS_OK); in HWTEST_F()
595 RtspResponse response(1, RTSP_STATUS_BAD_REQUEST); in HWTEST_F()
610 RtspResponse response(1, RTSP_STATUS_OK); in HWTEST_F()
623 RtspResponse response(1, RTSP_STATUS_BAD_REQUEST); in HWTEST_F()
632 RtspResponse response(1, RTSP_STATUS_OK); in HWTEST_F()
644 RtspResponse response(1, RTSP_STATUS_BAD_REQUEST); in HWTEST_F()
655 RtspResponse response(1, RTSP_STATUS_OK); in HWTEST_F()
679 RtspResponse response(1, RTSP_STATUS_BAD_REQUEST); in HWTEST_F()
H A Dwfd_source_session_test.cpp242 RtspResponse response; in HWTEST_F()
381 RtspResponse response(session_->cseq_, RTSP_STATUS_OK); in HWTEST_F()
394 RtspResponse response(session_->cseq_, RTSP_STATUS_OK); in HWTEST_F()
473 RtspResponse response(session_->cseq_, RTSP_STATUS_OK); in HWTEST_F()
487 RtspResponse response(session_->cseq_, RTSP_STATUS_BAD_REQUEST); in HWTEST_F()
504 RtspResponse response(session_->cseq_, RTSP_STATUS_OK); in HWTEST_F()
/foundation/CastEngine/castengine_wifi_display/tests/unittest/protocol/rtsp/
H A Drtsp_unit_test.cpp347 auto response = std::make_shared<RtspResponse>(); in HWTEST_F()
355 auto response = std::make_shared<RtspResponse>(cseq, status); in HWTEST_F()
361 auto response = std::make_shared<RtspResponse>(); in HWTEST_F()
373 auto response = std::make_shared<RtspResponse>(); in HWTEST_F()
383 auto response = std::make_shared<RtspResponse>(); in HWTEST_F()
394 auto response = std::make_shared<RtspResponse>(cseq, status); in HWTEST_F()
422 auto response = std::make_shared<RtspResponse>(cseq, status); in HWTEST_F()
436 auto response = std::make_shared<RtspResponse>(cseq, status); in HWTEST_F()
451 auto response = std::make_shared<RtspResponse>(cseq, status); in HWTEST_F()
466 auto response = std::make_shared<RtspResponse>(cse in HWTEST_F()
[all...]

Completed in 10 milliseconds