Searched refs:kPacket (Results 1 - 7 of 7) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
H A Dpli_unittest.cc27 const uint8_t kPacket[] = {0x81, 206, 0x00, 0x02, member in namespace:webrtc::__anon30939
30 const size_t kPacketLength = sizeof(kPacket);
34 EXPECT_TRUE(RtcpParseCommonHeader(kPacket, kPacketLength, &header));
37 header, kPacket + RtcpCommonHeader::kHeaderSizeBytes));
52 EXPECT_EQ(0, memcmp(kPacket, packet->Buffer(), kPacketLength));
57 EXPECT_TRUE(RtcpParseCommonHeader(kPacket, kPacketLength, &header));
62 parsed.Parse(header, kPacket + RtcpCommonHeader::kHeaderSizeBytes));
H A Dsli_unittest.cc37 const uint8_t kPacket[] = {0x82, 206, 0x00, 0x03, member in namespace:webrtc::__anon30943
44 const size_t kPacketLength = sizeof(kPacket);
62 ElementsAreArray(kPacket));
67 EXPECT_TRUE(ParseSli(kPacket, kPacketLength, &mutable_parsed));
H A Dnack_unittest.cc34 const uint8_t kPacket[] = {0x81, 205, 0x00, 0x03, 0x12, 0x34, 0x56, 0x78, member in namespace:webrtc::__anon30938
36 const size_t kPacketLength = sizeof(kPacket);
56 EXPECT_EQ(0, memcmp(kPacket, packet->Buffer(), kPacketLength));
61 EXPECT_TRUE(RtcpParseCommonHeader(kPacket, kPacketLength, &header));
66 parsed.Parse(header, kPacket + RtcpCommonHeader::kHeaderSizeBytes));
182 EXPECT_TRUE(RtcpParseCommonHeader(kPacket, kPacketLength, &header));
186 parsed.Parse(header, kPacket + RtcpCommonHeader::kHeaderSizeBytes));
H A Dreceiver_report_unittest.cc34 const uint8_t kPacket[] = {0x81, 201, 0x00, 0x07, 0x12, 0x34, 0x56, 0x78, member in namespace:webrtc::__anon30940
38 const size_t kPacketLength = sizeof(kPacket);
62 RtcpParseCommonHeader(kPacket, kPacketLength, &header);
63 EXPECT_TRUE(rr.Parse(header, kPacket + RtcpCommonHeader::kHeaderSizeBytes));
80 RtcpParseCommonHeader(kPacket, kPacketLength, &header);
82 EXPECT_FALSE(rr.Parse(header, kPacket + RtcpCommonHeader::kHeaderSizeBytes));
100 EXPECT_EQ(0, memcmp(kPacket, packet->Buffer(), kPacketLength));
/external/webrtc/webrtc/voice_engine/
H A Dvoe_network_unittest.cc27 static const uint8_t kPacket[kMinValidSizeOfRtpPacketInBytes] = {0x80}; member in namespace:webrtc
76 EXPECT_EQ(-1, network_->ReceivedRTPPacket(kNonExistingChannel, kPacket,
77 sizeof(kPacket)));
85 network_->ReceivedRTPPacket(channelID, kPacket, sizeof(kPacket)));
91 channelID, kPacket, kMinValidSizeOfRtpPacketInBytes - 1));
97 channelID, kPacket, kMaxValidSizeOfRtpPacketInBytes + 1));
109 EXPECT_EQ(-1, network_->ReceivedRTCPPacket(kNonExistingChannel, kPacket,
110 sizeof(kPacket)));
118 network_->ReceivedRTCPPacket(channelID, kPacket, sizeo
[all...]
/external/webrtc/webrtc/call/
H A Dpacket_injection_tests.cc71 const uint8_t kPacket[] = {0x80, local
88 InjectIncorrectPacket(CodecType::kH264, 101, kPacket, sizeof(kPacket));
/external/webrtc/webrtc/modules/rtp_rtcp/source/
H A Dfec_receiver_unittest.cc444 const uint8_t kPacket[] = {0x89, local
496 SurvivesMaliciousPacket(kPacket, sizeof(kPacket), 100);
500 const uint8_t kPacket[] = {0x82, local
534 SurvivesMaliciousPacket(kPacket, sizeof(kPacket), 100);

Completed in 482 milliseconds