Home
last modified time | relevance | path

Searched refs:RtpTestUtility (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/talk/media/base/
Drtpdump_unittest.cc44 RtpTestUtility::kTestRawRtpPackets[0].WriteToByteBuffer(kTestSsrc, &rtp_buf); in TEST()
66 RtpTestUtility::kTestRawRtcpPackets[0].WriteToByteBuffer(&rtcp_buf); in TEST()
85 ASSERT_TRUE(RtpTestUtility::WriteTestPackets(1, false, kTestSsrc, &writer)); in TEST()
122 ASSERT_TRUE(RtpTestUtility::WriteTestPackets( in TEST()
123 RtpTestUtility::GetTestPacketCount(), false, kTestSsrc, &writer)); in TEST()
124 EXPECT_TRUE(RtpTestUtility::VerifyTestPacketsFromStream( in TEST()
125 RtpTestUtility::GetTestPacketCount(), &stream, kTestSsrc)); in TEST()
130 for (size_t i = 0; i < RtpTestUtility::GetTestPacketCount(); ++i) { in TEST()
144 for (size_t i = 0; i < RtpTestUtility::GetTestPacketCount(); ++i) { in TEST()
160 ASSERT_TRUE(RtpTestUtility::WriteTestPackets( in TEST()
[all …]
Dtestutils.cc120 const RawRtpPacket RtpTestUtility::kTestRawRtpPackets[] = {
121 {0x80, 0, 0, 0, RtpTestUtility::kDefaultSsrc, "RTP frame 0"},
122 {0x80, 0, 1, 30, RtpTestUtility::kDefaultSsrc, "RTP frame 1"},
123 {0x80, 0, 2, 30, RtpTestUtility::kDefaultSsrc, "RTP frame 1"},
124 {0x80, 0, 3, 60, RtpTestUtility::kDefaultSsrc, "RTP frame 2"}
126 const RawRtcpPacket RtpTestUtility::kTestRawRtcpPackets[] = {
134 size_t RtpTestUtility::GetTestPacketCount() { in GetTestPacketCount()
139 bool RtpTestUtility::WriteTestPackets(size_t count, in WriteTestPackets()
162 bool RtpTestUtility::VerifyTestPacketsFromStream(size_t count, in VerifyTestPacketsFromStream()
208 bool RtpTestUtility::VerifyPacket(const RtpDumpPacket* dump, in VerifyPacket()
[all …]
Dtestutils.h95 class RtpTestUtility {
129 RtpTestUtility() {} in RtpTestUtility() function