Home
last modified time | relevance | path

Searched refs:ParseSinglePacket (Results 1 – 16 of 16) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dsdes_unittest.cc34 EXPECT_TRUE(test::ParseSinglePacket(packet, &parsed)); in TEST()
47 EXPECT_TRUE(test::ParseSinglePacket(packet, &sdes_parsed)); in TEST()
66 EXPECT_TRUE(test::ParseSinglePacket(packet, &parsed)); in TEST()
91 EXPECT_TRUE(test::ParseSinglePacket(packet, &parsed)); in TEST()
110 EXPECT_TRUE(test::ParseSinglePacket(kValidPacket, &parsed)); in TEST()
135 EXPECT_TRUE(test::ParseSinglePacket(kPacket, &parsed)); in TEST()
153 EXPECT_FALSE(test::ParseSinglePacket(kInvalidPacket, &parsed)); in TEST()
168 EXPECT_FALSE(test::ParseSinglePacket(kInvalidPacket, &parsed)); in TEST()
183 EXPECT_FALSE(test::ParseSinglePacket(kInvalidPacket, &parsed)); in TEST()
198 EXPECT_FALSE(test::ParseSinglePacket(kInvalidPacket, &parsed)); in TEST()
[all …]
Dbye_unittest.cc33 EXPECT_TRUE(test::ParseSinglePacket(raw, &parsed_bye)); in TEST()
48 EXPECT_TRUE(test::ParseSinglePacket(raw, &parsed_bye)); in TEST()
65 EXPECT_TRUE(test::ParseSinglePacket(raw, &parsed_bye)); in TEST()
89 EXPECT_TRUE(test::ParseSinglePacket(raw, &parsed_bye)); in TEST()
107 EXPECT_TRUE(test::ParseSinglePacket(raw, &parsed_bye)); in TEST()
116 EXPECT_TRUE(test::ParseSinglePacket(kEmptyPacket, &parsed_bye)); in TEST()
130 EXPECT_FALSE(test::ParseSinglePacket(raw, &parsed_bye)); in TEST()
144 EXPECT_FALSE(test::ParseSinglePacket(raw, &parsed_bye)); in TEST()
Dremb_unittest.cc50 EXPECT_TRUE(test::ParseSinglePacket(kPacket, &remb)); in TEST()
65 EXPECT_TRUE(test::ParseSinglePacket(packet, &parsed)); in TEST()
77 EXPECT_TRUE(test::ParseSinglePacket(packet, &parsed)); in TEST()
89 EXPECT_FALSE(test::ParseSinglePacket(packet, &remb)); in TEST()
98 EXPECT_FALSE(test::ParseSinglePacket(packet, &remb)); in TEST()
108 EXPECT_FALSE(test::ParseSinglePacket(packet, &remb)); in TEST()
117 EXPECT_FALSE(test::ParseSinglePacket(packet, &remb)); in TEST()
Dloss_notification_unittest.cc80 test::ParseSinglePacket(packet, packet_length_bytes, &loss_notification)); in TEST()
86 test::ParseSinglePacket(packet, packet_length_bytes, &loss_notification)); in TEST()
100 ASSERT_TRUE(test::ParseSinglePacket(packet, &loss_notification)); in TEST()
108 EXPECT_FALSE(test::ParseSinglePacket(packet, &loss_notification)); in TEST()
127 EXPECT_TRUE(test::ParseSinglePacket(kPacket, &loss_notification)); in TEST()
Dtmmbn_unittest.cc47 EXPECT_TRUE(test::ParseSinglePacket(kPacket, &tmmbn)); in TEST()
64 EXPECT_TRUE(test::ParseSinglePacket(packet, &parsed)); in TEST()
78 EXPECT_TRUE(test::ParseSinglePacket(packet, &parsed)); in TEST()
94 EXPECT_FALSE(test::ParseSinglePacket(kSmallPacket, &tmmbn)); in TEST()
103 EXPECT_FALSE(test::ParseSinglePacket(kUnalignedPacket, &tmmbn)); in TEST()
Dnack_unittest.cc74 EXPECT_TRUE(test::ParseSinglePacket(kPacket, &parsed)); in TEST()
96 EXPECT_TRUE(test::ParseSinglePacket(kWrapPacket, &parsed)); in TEST()
116 EXPECT_TRUE(test::ParseSinglePacket(packet, &parsed)); in TEST()
137 EXPECT_TRUE(test::ParseSinglePacket(packet, &nack)); in TEST()
144 EXPECT_TRUE(test::ParseSinglePacket(packet, &nack)); in TEST()
168 EXPECT_FALSE(test::ParseSinglePacket(kTooSmallPacket, &parsed)); in TEST()
Dtmmbr_unittest.cc46 EXPECT_TRUE(test::ParseSinglePacket(kPacket, &tmmbr)); in TEST()
65 EXPECT_TRUE(test::ParseSinglePacket(packet, &parsed)); in TEST()
78 EXPECT_FALSE(test::ParseSinglePacket(kZeroItemsPacket, &tmmbr)); in TEST()
87 EXPECT_FALSE(test::ParseSinglePacket(kUnalignedPacket, &tmmbr)); in TEST()
Dfir_unittest.cc39 EXPECT_TRUE(test::ParseSinglePacket(kPacket, &mutable_parsed)); in TEST()
67 EXPECT_TRUE(test::ParseSinglePacket(packet, &parsed)); in TEST()
81 EXPECT_FALSE(test::ParseSinglePacket(kPacketWithoutFci, &parsed)); in TEST()
90 EXPECT_FALSE(test::ParseSinglePacket(kPacketWithOneAndHalfFci, &parsed)); in TEST()
Dapp_unittest.cc68 EXPECT_TRUE(test::ParseSinglePacket(kPacketWithoutData, &parsed)); in TEST()
91 EXPECT_TRUE(test::ParseSinglePacket(kPacketWithData, &parsed)); in TEST()
102 EXPECT_FALSE(test::ParseSinglePacket(kTooSmallPacket, &parsed)); in TEST()
107 EXPECT_FALSE(test::ParseSinglePacket(kPacketWithUnalignedPayload, &parsed)); in TEST()
Drapid_resync_request_unittest.cc32 EXPECT_TRUE(test::ParseSinglePacket(kPacket, &mutable_parsed)); in TEST()
54 EXPECT_FALSE(test::ParseSinglePacket(kTooSmallPacket, &parsed)); in TEST()
62 EXPECT_FALSE(test::ParseSinglePacket(kTooLargePacket, &parsed)); in TEST()
Dextended_reports_unittest.cc81 EXPECT_TRUE(test::ParseSinglePacket(kEmptyPacket, &parsed)); in TEST_F()
95 EXPECT_TRUE(test::ParseSinglePacket(packet, &mparsed)); in TEST_F()
111 EXPECT_TRUE(test::ParseSinglePacket(packet, &mparsed)); in TEST_F()
129 EXPECT_TRUE(test::ParseSinglePacket(packet, &mparsed)); in TEST_F()
160 EXPECT_TRUE(test::ParseSinglePacket(packet, &mparsed)); in TEST_F()
Dreceiver_report_unittest.cc46 EXPECT_TRUE(test::ParseSinglePacket(kPacket, &rr)); in TEST()
65 EXPECT_FALSE(test::ParseSinglePacket(damaged_packet, &rr)); in TEST()
92 EXPECT_TRUE(test::ParseSinglePacket(raw, &parsed)); in TEST()
111 EXPECT_TRUE(test::ParseSinglePacket(raw, &parsed)); in TEST()
Dpli_unittest.cc32 EXPECT_TRUE(test::ParseSinglePacket(kPacket, &mutable_parsed)); in TEST()
55 EXPECT_FALSE(test::ParseSinglePacket(kTooSmallPacket, &parsed)); in TEST()
Dsender_report_unittest.cc52 EXPECT_TRUE(test::ParseSinglePacket(kPacket, &parsed)); in TEST()
72 EXPECT_TRUE(test::ParseSinglePacket(raw, &parsed)); in TEST()
92 EXPECT_TRUE(test::ParseSinglePacket(raw, &parsed)); in TEST()
Dtarget_bitrate_unittest.cc23 using test::ParseSinglePacket;
68 EXPECT_TRUE(ParseSinglePacket(kRtcpPacket, &xr)); in TEST()
/external/webrtc/test/
Drtcp_packet_parser.h42 bool ParseSinglePacket(const uint8_t* buffer, size_t size, Packet* packet) { in ParseSinglePacket() function
50 bool ParseSinglePacket(rtc::ArrayView<const uint8_t> buffer, Packet* packet) { in ParseSinglePacket() function
51 return ParseSinglePacket(buffer.data(), buffer.size(), packet); in ParseSinglePacket()