Home
last modified time | relevance | path

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

/external/webrtc/modules/video_coding/
Dvideo_receiver_unittest.cc131 const size_t kPaddingSize = 220; in TEST_F() local
132 const uint8_t kPayload[kPaddingSize] = {0}; in TEST_F()
135 header.paddingLength = kPaddingSize; in TEST_F()
146 const size_t kPaddingSize = 220; in TEST_F() local
150 header.paddingLength = kPaddingSize; in TEST_F()
190 const size_t kPaddingSize = 220; in TEST_F() local
195 header.paddingLength = kPaddingSize; in TEST_F()
/external/webrtc/modules/pacing/
Dpacket_router_unittest.cc117 const size_t kPaddingSize = 123; in TEST_F() local
120 EXPECT_CALL(rtp_2, GeneratePadding(kPaddingSize)) in TEST_F()
126 packet_router_.GeneratePadding(DataSize::Bytes(kPaddingSize)); in TEST_F()
138 const size_t kPaddingSize = 123; in TEST_F() local
161 EXPECT_CALL(audio_module, GeneratePadding(kPaddingSize)) in TEST_F()
163 packet_router_.GeneratePadding(DataSize::Bytes(kPaddingSize)); in TEST_F()
169 EXPECT_CALL(video_module, GeneratePadding(kPaddingSize)) in TEST_F()
171 packet_router_.GeneratePadding(DataSize::Bytes(kPaddingSize)); in TEST_F()
178 EXPECT_CALL(video_module, GeneratePadding(kPaddingSize)) in TEST_F()
180 packet_router_.GeneratePadding(DataSize::Bytes(kPaddingSize)); in TEST_F()
[all …]
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dapp_unittest.cc45 constexpr uint8_t kPaddingSize = 1; variable
50 'd', 'a', 't', kPaddingSize};
/external/webrtc/modules/rtp_rtcp/source/
Drtp_packet_unittest.cc373 const size_t kPaddingSize = kMaxPaddingSize - 1; in TEST() local
374 RtpPacketToSend packet(nullptr, 12 + kPaddingSize); in TEST()
381 EXPECT_FALSE(packet.SetPadding(kPaddingSize + 1)); in TEST()
382 EXPECT_TRUE(packet.SetPadding(kPaddingSize)); in TEST()
401 const size_t kPaddingSize = 5; in TEST() local
404 EXPECT_TRUE(packet.SetPadding(kPaddingSize)); in TEST()
405 EXPECT_EQ(packet.data()[packet.size() - 1], kPaddingSize); in TEST()
409 const size_t kPaddingSize = 5; in TEST() local
412 EXPECT_TRUE(packet.SetPadding(kPaddingSize)); in TEST()
413 EXPECT_THAT(rtc::MakeArrayView(packet.data() + 12, kPaddingSize - 1), in TEST()
Drtp_sender_unittest.cc538 constexpr size_t kPaddingSize = 100; in TEST_P() local
542 ASSERT_TRUE(rtp_sender()->GeneratePadding(kPaddingSize, true).empty()); in TEST_P()
546 ASSERT_TRUE(rtp_sender()->GeneratePadding(kPaddingSize, true).empty()); in TEST_P()
551 ASSERT_FALSE(rtp_sender()->GeneratePadding(kPaddingSize, true).empty()); in TEST_P()
576 const size_t kPaddingSize = 59; in TEST_P() local
577 EXPECT_CALL(transport, SendRtp(_, kPaddingSize + kRtpHeaderSize, _)) in TEST_P()
579 EXPECT_EQ(kPaddingSize, GenerateAndSendPadding(kPaddingSize)); in TEST_P()
589 constexpr size_t kPaddingSize = 100; in TEST_P() local
596 auto padding_packets = rtp_sender()->GeneratePadding(kPaddingSize, true); in TEST_P()