Home
last modified time | relevance | path

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

/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dsdes_unittest.cc145 const uint8_t kInvalidPacket[] = { in TEST() local
149 ASSERT_EQ(0u, sizeof(kInvalidPacket) % 4); in TEST()
150 ASSERT_EQ(kInvalidPacket[3] + 1u, sizeof(kInvalidPacket) / 4); in TEST()
153 EXPECT_FALSE(test::ParseSinglePacket(kInvalidPacket, &parsed)); in TEST()
160 const uint8_t kInvalidPacket[] = { in TEST() local
164 ASSERT_EQ(0u, sizeof(kInvalidPacket) % 4); in TEST()
165 ASSERT_EQ(kInvalidPacket[3] + 1u, sizeof(kInvalidPacket) / 4); in TEST()
168 EXPECT_FALSE(test::ParseSinglePacket(kInvalidPacket, &parsed)); in TEST()
175 const uint8_t kInvalidPacket[] = { in TEST() local
179 ASSERT_EQ(0u, sizeof(kInvalidPacket) % 4); in TEST()
[all …]
/external/webrtc/media/base/
Drtp_utils_unittest.cc32 static const uint8_t kInvalidPacket[] = {0x80, 0x00}; variable
101 rtc::MakeArrayView(reinterpret_cast<const char*>(kInvalidPacket),
102 sizeof(kInvalidPacket));
133 EXPECT_FALSE(GetRtpPayloadType(kInvalidPacket, sizeof(kInvalidPacket), &pt)); in TEST()
134 EXPECT_FALSE(GetRtpSeqNum(kInvalidPacket, sizeof(kInvalidPacket), &seq_num)); in TEST()
135 EXPECT_FALSE(GetRtpTimestamp(kInvalidPacket, sizeof(kInvalidPacket), &ts)); in TEST()
136 EXPECT_FALSE(GetRtpSsrc(kInvalidPacket, sizeof(kInvalidPacket), &ssrc)); in TEST()
168 EXPECT_FALSE(GetRtpHeaderLen(kInvalidPacket, sizeof(kInvalidPacket), &len)); in TEST()
184 EXPECT_FALSE(GetRtcpType(kInvalidPacket, sizeof(kInvalidPacket), &pt)); in TEST()
/external/webrtc/modules/audio_coding/neteq/
Dpacket_buffer.h34 kInvalidPacket, enumerator
Dpacket_buffer.cc87 return kInvalidPacket; in InsertPacket()
Dpacket_buffer_unittest.cc532 EXPECT_EQ(PacketBuffer::kInvalidPacket, in TEST()
577 EXPECT_EQ(PacketBuffer::kInvalidPacket, in TEST()