Home
last modified time | relevance | path

Searched refs:kPcmuFrame (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/talk/media/base/
Drtputils_unittest.cc78 EXPECT_TRUE(IsRtpPacket(kPcmuFrame, sizeof(kPcmuFrame))); in TEST()
81 EXPECT_TRUE(GetRtpPayloadType(kPcmuFrame, sizeof(kPcmuFrame), &pt)); in TEST()
88 EXPECT_TRUE(GetRtpSeqNum(kPcmuFrame, sizeof(kPcmuFrame), &seq_num)); in TEST()
92 EXPECT_TRUE(GetRtpTimestamp(kPcmuFrame, sizeof(kPcmuFrame), &ts)); in TEST()
96 EXPECT_TRUE(GetRtpSsrc(kPcmuFrame, sizeof(kPcmuFrame), &ssrc)); in TEST()
100 EXPECT_TRUE(GetRtpHeader(kPcmuFrame, sizeof(kPcmuFrame), &header)); in TEST()
134 EXPECT_TRUE(GetRtpHeaderLen(kPcmuFrame, sizeof(kPcmuFrame), &len)); in TEST()
Dfakertp.h36 static const unsigned char kPcmuFrame[] = { variable
/external/webrtc/talk/session/media/
Dsrtpfilter_unittest.cc95 char rtp_packet[sizeof(kPcmuFrame) + 10]; in TestProtectUnprotect()
96 char original_rtp_packet[sizeof(kPcmuFrame)]; in TestProtectUnprotect()
98 int rtp_len = sizeof(kPcmuFrame), rtcp_len = sizeof(kRtcpReport), out_len; in TestProtectUnprotect()
99 memcpy(rtp_packet, kPcmuFrame, rtp_len); in TestProtectUnprotect()
577 rtp_len_ = sizeof(kPcmuFrame); in SetUp()
579 memcpy(rtp_packet_, kPcmuFrame, rtp_len_); in SetUp()
587 EXPECT_NE(0, memcmp(rtp_packet_, kPcmuFrame, rtp_len_)); in TestProtectRtp()
599 int out_len = 0, expected_len = sizeof(kPcmuFrame); in TestUnprotectRtp()
602 EXPECT_EQ(0, memcmp(rtp_packet_, kPcmuFrame, out_len)); in TestUnprotectRtp()
612 char rtp_packet_[sizeof(kPcmuFrame) + 10];
Dchannel_unittest.cc961 T::MediaChannel::SendRtp(kPcmuFrame, sizeof(kPcmuFrame), in TestCallTeardownRtcpMux()
1853 kPcmuFrame, in VoiceChannelTest()
1854 sizeof(kPcmuFrame), in VoiceChannelTest()
/external/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine_unittest.cc2098 DeliverPacket(kPcmuFrame, sizeof(kPcmuFrame)); in TEST_F()
2272 DeliverPacket(kPcmuFrame, sizeof(kPcmuFrame)); in TEST_F()
2310 DeliverPacket(kPcmuFrame, sizeof(kPcmuFrame)); in TEST_F()
2312 EXPECT_TRUE(voe_.CheckPacket(channel_num, kPcmuFrame, sizeof(kPcmuFrame))); in TEST_F()
2325 char packets[4][sizeof(kPcmuFrame)]; in TEST_F()
2327 memcpy(packets[i], kPcmuFrame, sizeof(kPcmuFrame)); in TEST_F()
2363 DeliverPacket(kPcmuFrame, sizeof(kPcmuFrame)); in TEST_F()
2365 EXPECT_TRUE(voe_.CheckPacket(channel_num, kPcmuFrame, sizeof(kPcmuFrame))); in TEST_F()
2373 char packet[sizeof(kPcmuFrame)]; in TEST_F()
2374 memcpy(packet, kPcmuFrame, sizeof(kPcmuFrame)); in TEST_F()
[all …]