/external/webrtc/webrtc/voice_engine/ |
D | voe_network_unittest.cc | 27 static const uint8_t kPacket[kMinValidSizeOfRtpPacketInBytes] = {0x80}; variable 76 EXPECT_EQ(-1, network_->ReceivedRTPPacket(kNonExistingChannel, kPacket, in TEST_F() 77 sizeof(kPacket))); in TEST_F() 85 network_->ReceivedRTPPacket(channelID, kPacket, sizeof(kPacket))); in TEST_F() 91 channelID, kPacket, kMinValidSizeOfRtpPacketInBytes - 1)); in TEST_F() 97 channelID, kPacket, kMaxValidSizeOfRtpPacketInBytes + 1)); in TEST_F() 109 EXPECT_EQ(-1, network_->ReceivedRTCPPacket(kNonExistingChannel, kPacket, in TEST_F() 110 sizeof(kPacket))); in TEST_F() 118 network_->ReceivedRTCPPacket(channelID, kPacket, sizeof(kPacket))); in TEST_F() 124 channelID, kPacket, kMinValidSizeOfRtcpPacketInBytes - 1)); in TEST_F()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | pli_unittest.cc | 27 const uint8_t kPacket[] = {0x81, 206, 0x00, 0x02, variable 30 const size_t kPacketLength = sizeof(kPacket); 34 EXPECT_TRUE(RtcpParseCommonHeader(kPacket, kPacketLength, &header)); in TEST() 37 header, kPacket + RtcpCommonHeader::kHeaderSizeBytes)); in TEST() 52 EXPECT_EQ(0, memcmp(kPacket, packet->Buffer(), kPacketLength)); in TEST() 57 EXPECT_TRUE(RtcpParseCommonHeader(kPacket, kPacketLength, &header)); in TEST() 62 parsed.Parse(header, kPacket + RtcpCommonHeader::kHeaderSizeBytes)); in TEST()
|
D | receiver_report_unittest.cc | 34 const uint8_t kPacket[] = {0x81, 201, 0x00, 0x07, 0x12, 0x34, 0x56, 0x78, variable 38 const size_t kPacketLength = sizeof(kPacket); 62 RtcpParseCommonHeader(kPacket, kPacketLength, &header); in TEST_F() 63 EXPECT_TRUE(rr.Parse(header, kPacket + RtcpCommonHeader::kHeaderSizeBytes)); in TEST_F() 80 RtcpParseCommonHeader(kPacket, kPacketLength, &header); in TEST_F() 82 EXPECT_FALSE(rr.Parse(header, kPacket + RtcpCommonHeader::kHeaderSizeBytes)); in TEST_F() 100 EXPECT_EQ(0, memcmp(kPacket, packet->Buffer(), kPacketLength)); in TEST_F()
|
D | nack_unittest.cc | 34 const uint8_t kPacket[] = {0x81, 205, 0x00, 0x03, 0x12, 0x34, 0x56, 0x78, variable 36 const size_t kPacketLength = sizeof(kPacket); 56 EXPECT_EQ(0, memcmp(kPacket, packet->Buffer(), kPacketLength)); in TEST() 61 EXPECT_TRUE(RtcpParseCommonHeader(kPacket, kPacketLength, &header)); in TEST() 66 parsed.Parse(header, kPacket + RtcpCommonHeader::kHeaderSizeBytes)); in TEST() 182 EXPECT_TRUE(RtcpParseCommonHeader(kPacket, kPacketLength, &header)); in TEST() 186 parsed.Parse(header, kPacket + RtcpCommonHeader::kHeaderSizeBytes)); in TEST()
|
D | sli_unittest.cc | 37 const uint8_t kPacket[] = {0x82, 206, 0x00, 0x03, variable 44 const size_t kPacketLength = sizeof(kPacket); 62 ElementsAreArray(kPacket)); in TEST() 67 EXPECT_TRUE(ParseSli(kPacket, kPacketLength, &mutable_parsed)); in TEST()
|
/external/webrtc/webrtc/call/ |
D | packet_injection_tests.cc | 71 const uint8_t kPacket[] = {0x80, in TEST_F() local 88 InjectIncorrectPacket(CodecType::kH264, 101, kPacket, sizeof(kPacket)); in TEST_F()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | fec_receiver_unittest.cc | 444 const uint8_t kPacket[] = {0x89, in TEST_F() local 496 SurvivesMaliciousPacket(kPacket, sizeof(kPacket), 100); in TEST_F() 500 const uint8_t kPacket[] = {0x82, in TEST_F() local 534 SurvivesMaliciousPacket(kPacket, sizeof(kPacket), 100); in TEST_F()
|