Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dtransport_feedback_adapter_unittest.cc233 std::vector<PacketInfo> sent_packets; in TEST_F() local
244 sent_packets.push_back(info); in TEST_F()
249 sent_packets.push_back(info); in TEST_F()
254 sent_packets.push_back(info); in TEST_F()
259 sent_packets.push_back(info); in TEST_F()
267 for (const PacketInfo& packet : sent_packets) in TEST_F()
274 feedback->WithBase(sent_packets[0].sequence_number, in TEST_F()
275 sent_packets[0].arrival_time_ms * 1000); in TEST_F()
277 for (const PacketInfo& packet : sent_packets) { in TEST_F()
293 .WillOnce(Invoke([sent_packets, &received_feedback]( in TEST_F()
[all …]
Dsend_time_history_unittest.cc107 std::vector<PacketInfo> sent_packets; in TEST_F() local
114 sent_packets.push_back(PacketInfo(0, static_cast<int64_t>(i), in TEST_F()
122 history_.AddAndRemoveOld(sent_packets[i].sequence_number, in TEST_F()
123 sent_packets[i].payload_size, in TEST_F()
124 sent_packets[i].was_paced); in TEST_F()
127 history_.OnSentPacket(sent_packets[i].sequence_number, in TEST_F()
128 sent_packets[i].send_time_ms); in TEST_F()
133 PacketInfo sent_packet = sent_packets[packet.sequence_number]; in TEST_F()
138 for (PacketInfo packet : sent_packets) in TEST_F()
/external/webrtc/webrtc/test/
Dfake_network_pipe_unittest.cc194 EXPECT_EQ(pipe->sent_packets(), 2u); in TEST_F()
252 EXPECT_EQ(static_cast<size_t>(2 * kNumPackets), pipe->sent_packets()); in TEST_F()
306 EXPECT_EQ(static_cast<size_t>(2 * kNumPackets), pipe->sent_packets()); in TEST_F()
Dfake_network_pipe.h70 size_t sent_packets() { return sent_packets_; } in sent_packets() function
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_framework_unittest.cc214 Packets::size_type sent_packets = 0; in TestLossFilter() local
220 sent_packets += packets.size(); in TestLossFilter()
225 EXPECT_EQ(0u, sent_packets); in TestLossFilter()
236 sent_packets += packets.size(); in TestLossFilter()
246 Packets::size_type expected_packets = loss_fraction * sent_packets; in TestLossFilter()