/external/webrtc/webrtc/modules/pacing/ |
D | packet_router_unittest.cc | 104 TEST_F(PacketRouterTest, TimeToSendPadding) { in TEST_F() argument 120 EXPECT_CALL(rtp_1, TimeToSendPadding(requested_padding_bytes)) in TEST_F() 125 TimeToSendPadding(requested_padding_bytes - sent_padding_bytes)) in TEST_F() 129 packet_router_->TimeToSendPadding(requested_padding_bytes)); in TEST_F() 134 EXPECT_CALL(rtp_1, TimeToSendPadding(requested_padding_bytes)).Times(0); in TEST_F() 136 EXPECT_CALL(rtp_2, TimeToSendPadding(_)) in TEST_F() 140 packet_router_->TimeToSendPadding(requested_padding_bytes)); in TEST_F() 144 EXPECT_CALL(rtp_1, TimeToSendPadding(requested_padding_bytes)).Times(0); in TEST_F() 146 EXPECT_CALL(rtp_2, TimeToSendPadding(_)).Times(0); in TEST_F() 147 EXPECT_EQ(0u, packet_router_->TimeToSendPadding(requested_padding_bytes)); in TEST_F() [all …]
|
D | paced_sender_unittest.cc | 34 MOCK_METHOD1(TimeToSendPadding, 49 size_t TimeToSendPadding(size_t bytes) { in TimeToSendPadding() function in webrtc::test::PacedSenderPadding 78 size_t TimeToSendPadding(size_t bytes) { in TimeToSendPadding() function in webrtc::test::PacedSenderProbing 168 EXPECT_CALL(callback_, TimeToSendPadding(_)).Times(0); in TEST_F() 217 EXPECT_CALL(callback_, TimeToSendPadding(_)).Times(0); in TEST_F() 280 EXPECT_CALL(callback_, TimeToSendPadding(_)).Times(0); in TEST_F() 372 EXPECT_CALL(callback_, TimeToSendPadding(_)).Times(0); in TEST_F() 379 EXPECT_CALL(callback_, TimeToSendPadding(250)).Times(1). in TEST_F() 404 EXPECT_CALL(callback_, TimeToSendPadding(250)).Times(1). in TEST_F() 480 EXPECT_CALL(callback_, TimeToSendPadding(_)).Times(0); in TEST_F() [all …]
|
D | packet_router.cc | 56 size_t PacketRouter::TimeToSendPadding(size_t bytes_to_send) { in TimeToSendPadding() function in webrtc::PacketRouter 62 module->TimeToSendPadding(bytes_to_send - total_bytes_sent); in TimeToSendPadding()
|
D | packet_router.h | 48 size_t TimeToSendPadding(size_t bytes) override;
|
D | paced_sender.h | 48 virtual size_t TimeToSendPadding(size_t bytes) = 0;
|
D | paced_sender.cc | 447 size_t bytes_sent = callback_->TimeToSendPadding(padding_needed); in SendPadding()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtp_sender_unittest.cc | 802 EXPECT_EQ(kMaxPaddingLength, rtp_sender_->TimeToSendPadding(kPaddingBytes)); in TEST_F() 905 EXPECT_EQ(kMaxPaddingSize, rtp_sender_->TimeToSendPadding(49)); in TEST_F() 910 EXPECT_EQ(kPayloadSizes[0], rtp_sender_->TimeToSendPadding(500)); in TEST_F() 919 rtp_sender_->TimeToSendPadding(999)); in TEST_F() 1179 rtp_sender_->TimeToSendPadding(kMaxPaddingSize); in TEST_F() 1337 rtp_sender_->TimeToSendPadding(1); in TEST_F() 1338 rtp_sender_->TimeToSendPadding(1); in TEST_F()
|
D | rtp_rtcp_impl.h | 126 size_t TimeToSendPadding(size_t bytes) override;
|
D | rtp_rtcp_impl.cc | 431 size_t ModuleRtpRtcpImpl::TimeToSendPadding(size_t bytes) { in TimeToSendPadding() function in webrtc::ModuleRtpRtcpImpl 432 return rtp_sender_.TimeToSendPadding(bytes); in TimeToSendPadding()
|
D | rtp_sender.h | 212 size_t TimeToSendPadding(size_t bytes);
|
D | rtp_sender.cc | 1010 size_t RTPSender::TimeToSendPadding(size_t bytes) { in TimeToSendPadding() function in webrtc::RTPSender
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
D | packet_sender.h | 117 size_t TimeToSendPadding(size_t bytes) override;
|
D | packet_sender.cc | 305 size_t PacedVideoSender::TimeToSendPadding(size_t bytes) { in TimeToSendPadding() function in webrtc::testing::bwe::PacedVideoSender
|
/external/webrtc/webrtc/modules/rtp_rtcp/include/ |
D | rtp_rtcp.h | 314 virtual size_t TimeToSendPadding(size_t bytes) = 0;
|
/external/webrtc/webrtc/modules/rtp_rtcp/mocks/ |
D | mock_rtp_rtcp.h | 135 MOCK_METHOD1(TimeToSendPadding,
|