Home
last modified time | relevance | path

Searched refs:RtspErrorType (Results 1 - 9 of 9) sorted by relevance

/foundation/CastEngine/castengine_wifi_display/services/protocol/rtsp/include/
H A Drtsp_common.h75 enum class RtspErrorType { OK = 0, INVALID_MESSAGE = 0x1000, INVALID_METHOD, INCOMPLETE_MESSAGE }; class
78 RtspErrorType code = RtspErrorType::OK;
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtsp/src/
H A Drtsp_request.cpp51 if (result.code != RtspErrorType::OK) { in Parse()
58 return {RtspErrorType::INVALID_MESSAGE, "invalid message"}; in Parse()
65 return {RtspErrorType::INVALID_MESSAGE, "invalid message"}; in Parse()
71 return {RtspErrorType::INVALID_METHOD, "invalid method"}; in Parse()
H A Drtsp_common.cpp89 return {RtspErrorType::INVALID_MESSAGE, "invalid message"}; in ParseMessage()
121 return {RtspErrorType::INCOMPLETE_MESSAGE, "body length < Content-Length"}; in ParseMessage()
126 return {RtspErrorType::INVALID_MESSAGE, "unsupported content"}; in ParseMessage()
148 return {RtspErrorType::OK, splicingPart}; in ParseMessage()
H A Drtsp_response.cpp69 if (result.code != RtspErrorType::OK || firstLine.size() < 2 || tokens_.empty()) { // 2:rstp line in Parse()
72 return {RtspErrorType::INVALID_MESSAGE, "invalid message"}; in Parse()
79 return {RtspErrorType::INVALID_MESSAGE, "invalid message"}; in Parse()
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/session/
H A Dwfd_message_test.cpp52 EXPECT_EQ(result.code, RtspErrorType::OK); in HWTEST_F()
338 EXPECT_EQ(result.code, RtspErrorType::OK); in HWTEST_F()
417 EXPECT_EQ(ret.code, RtspErrorType::OK); in HWTEST_F()
426 EXPECT_EQ(ret.code, RtspErrorType::OK); in HWTEST_F()
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/wfd_source/
H A Dwfd_source_session.cpp373 if (ret.code == RtspErrorType::OK) { in OnServerReadData()
381 if (ret.code == RtspErrorType::OK) { in OnServerReadData()
391 if (ret.code == RtspErrorType::OK) { in OnServerReadData()
398 if (ret.code == RtspErrorType::INCOMPLETE_MESSAGE) { in OnServerReadData()
405 if (ret.code == RtspErrorType::OK) { in OnServerReadData()
612 if (ret.code == RtspErrorType::OK) { in HandleM3Response()
648 if (ret.code == RtspErrorType::OK) { in HandleM4Response()
679 if (ret.code != RtspErrorType::OK) { in HandleM5Response()
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/wfd_sink/
H A Dwfd_sink_session.cpp351 if (ret.code == RtspErrorType::OK) { in OnClientReadData()
372 if (ret.code == RtspErrorType::OK) { in OnClientReadData()
383 if (ret.code == RtspErrorType::OK) { in OnClientReadData()
390 if (ret.code == RtspErrorType::INCOMPLETE_MESSAGE) { in OnClientReadData()
397 if (ret.code == RtspErrorType::OK) { in OnClientReadData()
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/
H A Dwfd_message.cpp39 if (res.code != RtspErrorType::OK) { in Parse()
437 if (res.code != RtspErrorType::OK) { in Parse()
/foundation/CastEngine/castengine_wifi_display/tests/unittest/protocol/rtsp/
H A Drtsp_unit_test.cpp186 ASSERT_TRUE(ret.code == RtspErrorType::OK); in HWTEST_F()
331 EXPECT_EQ(ret.code, RtspErrorType::OK); in HWTEST_F()
425 ASSERT_TRUE(ret.code == RtspErrorType::OK); in HWTEST_F()

Completed in 12 milliseconds