Lines Matching refs:jdesc
457 JsepSessionDescription* jdesc) { in SdpDeserialize() argument
458 return webrtc::SdpDeserialize(message, jdesc, NULL); in SdpDeserialize()
960 bool UpdateCandidateUfragPwd(JsepSessionDescription* jdesc, int mline_index, in UpdateCandidateUfragPwd() argument
973 const_cast<SessionDescription*>(jdesc->description()); in UpdateCandidateUfragPwd()
1380 void TestSerialize(const JsepSessionDescription& jdesc) { in TestSerialize() argument
1381 std::string message = webrtc::SdpSerialize(jdesc); in TestSerialize()
1385 EXPECT_TRUE(CompareSessionDescription(jdesc, jdesc_output_des)); in TestSerialize()
1437 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
1438 ASSERT_TRUE(jdesc.Initialize(desc_.Copy(), kSessionId, kSessionVersion)); in TEST_F()
1443 ASSERT_TRUE(jdesc.AddCandidate(&jice1)); in TEST_F()
1444 ASSERT_TRUE(jdesc.AddCandidate(&jice2)); in TEST_F()
1445 std::string message = webrtc::SdpSerialize(jdesc); in TEST_F()
1467 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
1468 ASSERT_TRUE(jdesc.Initialize(desc_.Copy(), kSessionId, kSessionVersion)); in TEST_F()
1473 ASSERT_TRUE(jdesc.AddCandidate(&jice_v4)); in TEST_F()
1474 ASSERT_TRUE(jdesc.AddCandidate(&jice_v6)); in TEST_F()
1475 std::string message = webrtc::SdpSerialize(jdesc); in TEST_F()
1499 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
1500 ASSERT_TRUE(jdesc.Initialize(desc_.Copy(), kSessionId, kSessionVersion)); in TEST_F()
1505 ASSERT_TRUE(jdesc.AddCandidate(&jice1)); in TEST_F()
1506 ASSERT_TRUE(jdesc.AddCandidate(&jice2)); in TEST_F()
1507 std::string message = webrtc::SdpSerialize(jdesc); in TEST_F()
1530 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
1531 ASSERT_TRUE(jdesc.Initialize(desc_.Copy(), kSessionId, kSessionVersion)); in TEST_F()
1536 ASSERT_TRUE(jdesc.AddCandidate(&jice1)); in TEST_F()
1537 ASSERT_TRUE(jdesc.AddCandidate(&jice2)); in TEST_F()
1538 std::string message = webrtc::SdpSerialize(jdesc); in TEST_F()
1792 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
1794 EXPECT_TRUE(SdpDeserialize(kSdpFullString, &jdesc)); in TEST_F()
1796 EXPECT_TRUE(CompareSessionDescription(jdesc_, jdesc)); in TEST_F()
1800 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
1808 EXPECT_TRUE(SdpDeserialize(kSdpWithoutMline, &jdesc)); in TEST_F()
1809 EXPECT_EQ(0u, jdesc.description()->contents().size()); in TEST_F()
1813 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
1817 EXPECT_TRUE(SdpDeserialize(sdp_without_carriage_return, &jdesc)); in TEST_F()
1819 EXPECT_TRUE(CompareSessionDescription(jdesc_, jdesc)); in TEST_F()
1845 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
1846 EXPECT_TRUE(SdpDeserialize(kSdpNoRtpmapString, &jdesc)); in TEST_F()
1849 jdesc.description()->GetContentDescriptionByName(cricket::CN_AUDIO)); in TEST_F()
1868 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
1869 EXPECT_TRUE(SdpDeserialize(kSdpNoRtpmapString, &jdesc)); in TEST_F()
1872 jdesc.description()->GetContentDescriptionByName(cricket::CN_AUDIO)); in TEST_F()
2024 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
2028 EXPECT_TRUE(SdpDeserialize(sdp_without_msid, &jdesc)); in TEST_F()
2030 EXPECT_TRUE(CompareSessionDescription(jdesc_, jdesc)); in TEST_F()
2125 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
2126 ASSERT_TRUE(jdesc.Initialize(desc_.Copy(), kSessionId, kSessionVersion)); in TEST_F()
2135 EXPECT_TRUE(CompareSessionDescription(jdesc, jdesc_output)); in TEST_F()
2140 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
2141 ASSERT_TRUE(jdesc.Initialize(desc_.Copy(), kSessionId, kSessionVersion)); in TEST_F()
2149 EXPECT_TRUE(CompareSessionDescription(jdesc, jdesc_output)); in TEST_F()
2155 EXPECT_TRUE(CompareSessionDescription(jdesc, jdesc_output)); in TEST_F()
2161 EXPECT_TRUE(CompareSessionDescription(jdesc, jdesc_output)); in TEST_F()
2166 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
2167 ASSERT_TRUE(jdesc.Initialize(desc_.Copy(), kSessionId, kSessionVersion)); in TEST_F()
2175 EXPECT_TRUE(CompareSessionDescription(jdesc, jdesc_output)); in TEST_F()
2181 EXPECT_TRUE(CompareSessionDescription(jdesc, jdesc_output)); in TEST_F()
2187 EXPECT_TRUE(CompareSessionDescription(jdesc, jdesc_output)); in TEST_F()
2192 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
2193 ASSERT_TRUE(jdesc.Initialize(desc_.Copy(), kSessionId, kSessionVersion)); in TEST_F()
2201 EXPECT_TRUE(CompareSessionDescription(jdesc, jdesc_output)); in TEST_F()
2207 EXPECT_TRUE(CompareSessionDescription(jdesc, jdesc_output)); in TEST_F()
2213 EXPECT_TRUE(CompareSessionDescription(jdesc, jdesc_output)); in TEST_F()
2220 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
2221 ASSERT_TRUE(jdesc.Initialize(desc_.Copy(), kSessionId, kSessionVersion)); in TEST_F()
2256 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
2268 ASSERT_TRUE(jdesc.Initialize(mutant, kSessionId, kSessionVersion)); in TEST_F()
2280 EXPECT_TRUE(CompareSessionDescription(jdesc, jdesc_output)); in TEST_F()
2293 EXPECT_TRUE(CompareSessionDescription(jdesc, jdesc_output)); in TEST_F()
2314 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
2318 ASSERT_TRUE(jdesc.Initialize(desc_.Copy(), kSessionId, kSessionVersion)); in TEST_F()
2330 EXPECT_TRUE(CompareSessionDescription(jdesc, jdesc_with_bandwidth)); in TEST_F()
2346 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
2351 EXPECT_FALSE(webrtc::SdpDeserialize(sdp, &jdesc, &error)); in TEST_F()
2383 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
2386 EXPECT_TRUE(SdpDeserialize(kSdpConferenceString, &jdesc)); in TEST_F()
2391 jdesc.description()->GetContentDescriptionByName(cricket::CN_AUDIO)); in TEST_F()
2396 jdesc.description()->GetContentDescriptionByName(cricket::CN_VIDEO)); in TEST_F()
2721 JsepSessionDescription jdesc(kDummyString); in TEST_F() local
2747 EXPECT_TRUE(SdpDeserialize(sdp_string, &jdesc)); in TEST_F()
2748 cricket::SessionDescription* desc = jdesc.description(); in TEST_F()
2758 std::string serialized_sdp = webrtc::SdpSerialize(jdesc); in TEST_F()