Home
last modified time | relevance | path

Searched refs:sent_packets_ (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/call/
Dfake_network_pipe.cc96 sent_packets_(0), in FakeNetworkPipe()
110 sent_packets_(0), in FakeNetworkPipe()
237 if (sent_packets_ == 0) in PercentageLoss()
241 (sent_packets_ + dropped_packets_); in PercentageLoss()
246 if (sent_packets_ == 0) in AverageDelay()
250 (1000 * static_cast<int64_t>(sent_packets_))); in AverageDelay()
260 return sent_packets_; in SentPackets()
314 ++sent_packets_; in Process()
379 sent_packets_ = 0; in ResetStats()
Dfake_network_pipe.h226 size_t sent_packets_ RTC_GUARDED_BY(process_lock_);
/external/webrtc/modules/rtp_rtcp/source/
Drtp_sender_audio_unittest.cc52 sent_packets_.push_back(RtpPacketReceived(&receivers_extensions_)); in SendRtp()
53 EXPECT_TRUE(sent_packets_.back().Parse(data, len)); in SendRtp()
57 const RtpPacketReceived& last_sent_packet() { return sent_packets_.back(); } in last_sent_packet()
58 int packets_sent() { return sent_packets_.size(); } in packets_sent()
62 std::vector<RtpPacketReceived> sent_packets_; member in webrtc::__anon36ad338d0111::LoopbackTransportTest
Drtp_sender_unittest.cc125 sent_packets_.push_back(RtpPacketReceived(&receivers_extensions_)); in SendRtp()
126 EXPECT_TRUE(sent_packets_.back().Parse(data, len)); in SendRtp()
130 const RtpPacketReceived& last_sent_packet() { return sent_packets_.back(); } in last_sent_packet()
131 int packets_sent() { return sent_packets_.size(); } in packets_sent()
135 std::vector<RtpPacketReceived> sent_packets_; member in webrtc::__anon1facd2fc0111::LoopbackTransportTest
1403 const RtpPacketReceived& sent_media_packet = transport_.sent_packets_[0]; in TEST_P()
1407 const RtpPacketReceived& sent_flexfec_packet = transport_.sent_packets_[1]; in TEST_P()
1472 const RtpPacketReceived& media_packet = transport_.sent_packets_[0]; in TEST_P()
1475 const RtpPacketReceived& flexfec_packet = transport_.sent_packets_[1]; in TEST_P()
1492 ASSERT_EQ(2u, transport_.sent_packets_.size()); in TEST_P()
[all …]
Drtp_sender_video_unittest.cc106 sent_packets_.push_back(RtpPacketReceived(&receivers_extensions_)); in SendRtp()
107 EXPECT_TRUE(sent_packets_.back().Parse(data, len)); in SendRtp()
111 const RtpPacketReceived& last_sent_packet() { return sent_packets_.back(); } in last_sent_packet()
112 int packets_sent() { return sent_packets_.size(); } in packets_sent()
114 return sent_packets_; in sent_packets()
119 std::vector<RtpPacketReceived> sent_packets_; member in webrtc::__anonc30e10920111::LoopbackTransportTest
/external/webrtc/p2p/base/
Dasync_stun_tcp_socket_unittest.cc97 ++sent_packets_; in OnSentPacket()
131 int sent_packets_ = 0; member in cricket::AsyncStunTCPSocketTest
260 EXPECT_EQ(1, sent_packets_); in TEST_F()
264 EXPECT_EQ(2, sent_packets_); in TEST_F()
274 EXPECT_EQ(0, sent_packets_); in TEST_F()
Dtcp_port_unittest.cc195 int sent_packets() const { return sent_packets_; } in sent_packets()
198 void OnSentPacket(const rtc::SentPacket&) { ++sent_packets_; } in OnSentPacket()
200 int sent_packets_ = 0; member in SentPacketCounter
/external/webrtc/rtc_base/
Dvirtual_socket_server.h152 uint32_t sent_packets() const { return sent_packets_; } in sent_packets()
292 uint32_t sent_packets_ = 0; variable
Dvirtual_socket_server.cc820 ++sent_packets_; in SendUdp()
885 ++sent_packets_; in SendTcp()