Searched refs:LegacyContentType (Results 1 – 5 of 5) sorted by relevance
44 …auto value = static_cast<LegacyContentType>(FuzzCommonEnum(static_cast<int>(LegacyContentType::RES… in FuzzContentType()
44 enum class LegacyContentType { enum250 void SetLegacyP2pContentType(LegacyContentType value);251 LegacyContentType GetLegacyP2pContentType() const;
696 void NegotiateMessage::SetLegacyP2pContentType(LegacyContentType value) in SetLegacyP2pContentType()701 LegacyContentType NegotiateMessage::GetLegacyP2pContentType() const in GetLegacyP2pContentType()703 … auto value = Get(NegotiateMessageKey::CONTENT_TYPE, static_cast<int>(LegacyContentType::INVALID)); in GetLegacyP2pContentType()704 return static_cast<LegacyContentType>(value); in GetLegacyP2pContentType()
298 EXPECT_EQ(msg.GetLegacyP2pContentType(), LegacyContentType::INVALID);299 msg.SetLegacyP2pContentType(LegacyContentType::GC_INFO);300 EXPECT_EQ(msg.GetLegacyP2pContentType(), LegacyContentType::GC_INFO);321 msg1.SetLegacyP2pContentType(LegacyContentType::GC_INFO);
814 CONN_CHECK_AND_RETURN_RET_LOGW(msg.GetLegacyP2pContentType() == LegacyContentType::GC_INFO, in ProcessConnectRequestAsGo()876 response.SetLegacyP2pContentType(LegacyContentType::GO_INFO); in SendConnectResponseAsGo()917 if (contentType == LegacyContentType::GC_INFO) { in ProcessConnectRequestAsGc()965 response.SetLegacyP2pContentType(LegacyContentType::GC_INFO); in SendConnectResponseAsNone()1003 result.SetLegacyP2pContentType(LegacyContentType::RESULT); in SendNegotiateResult()1309 request.SetLegacyP2pContentType(LegacyContentType::GC_INFO); in SendConnectRequestAsNone()1333 request.SetLegacyP2pContentType(LegacyContentType::GO_INFO); in SendConnectRequestAsGo()1415 if (contentType != LegacyContentType::RESULT) { in ProcessConnectResponseAsGo()1463 if (contentType == LegacyContentType::GO_INFO) { in ProcessConnectResponseAsNone()1467 if (contentType == LegacyContentType::GC_INFO) { in ProcessConnectResponseAsNone()[all …]