Home
last modified time | relevance | path

Searched refs:num_packets (Results 1 – 25 of 38) sorted by relevance

12

/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dcompound_packet_unittest.cc43 EXPECT_EQ(1, parser.receiver_report()->num_packets()); in TEST()
45 EXPECT_EQ(1, parser.report_block()->num_packets()); in TEST()
46 EXPECT_EQ(1, parser.fir()->num_packets()); in TEST()
58 EXPECT_EQ(1, parser.receiver_report()->num_packets()); in TEST()
59 EXPECT_EQ(0, parser.report_block()->num_packets()); in TEST()
78 EXPECT_EQ(1, parser.sender_report()->num_packets()); in TEST()
79 EXPECT_EQ(1, parser.receiver_report()->num_packets()); in TEST()
80 EXPECT_EQ(1, parser.report_block()->num_packets()); in TEST()
81 EXPECT_EQ(1, parser.bye()->num_packets()); in TEST()
82 EXPECT_EQ(1, parser.fir()->num_packets()); in TEST()
[all …]
Dtmmbn_unittest.cc33 EXPECT_EQ(1, parser.tmmbn()->num_packets()); in TEST()
35 EXPECT_EQ(0, parser.tmmbn_items()->num_packets()); in TEST()
46 EXPECT_EQ(1, parser.tmmbn()->num_packets()); in TEST()
48 EXPECT_EQ(1, parser.tmmbn_items()->num_packets()); in TEST()
63 EXPECT_EQ(1, parser.tmmbn()->num_packets()); in TEST()
65 EXPECT_EQ(2, parser.tmmbn_items()->num_packets()); in TEST()
Dtmmbr_unittest.cc36 EXPECT_EQ(1, parser.tmmbr()->num_packets()); in TEST()
38 EXPECT_EQ(1, parser.tmmbr_item()->num_packets()); in TEST()
Dtransport_feedback.cc686 uint16_t num_packets = ByteReader<uint16_t>::ReadBigEndian(&buffer[14]); in ParseFrom() local
692 if (num_packets == 0) { in ParseFrom()
696 packet->last_seq_ = packet->base_seq_ + num_packets - 1; in ParseFrom()
699 while (packets_read < num_packets) { in ParseFrom()
706 ParseChunk(&buffer[index], num_packets - packets_read); in ParseFrom()
717 RTC_DCHECK_EQ(num_packets, symbols.size()); in ParseFrom()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_sender_unittest.cc292 EXPECT_EQ(1, parser()->sender_report()->num_packets()); in TEST_F()
298 EXPECT_EQ(0, parser()->report_block()->num_packets()); in TEST_F()
304 EXPECT_EQ(1, parser()->receiver_report()->num_packets()); in TEST_F()
306 EXPECT_EQ(0, parser()->report_block()->num_packets()); in TEST_F()
314 EXPECT_EQ(1, parser()->receiver_report()->num_packets()); in TEST_F()
316 EXPECT_EQ(1, parser()->report_block()->num_packets()); in TEST_F()
329 EXPECT_EQ(1, parser()->receiver_report()->num_packets()); in TEST_F()
331 EXPECT_EQ(2, parser()->report_block()->num_packets()); in TEST_F()
340 EXPECT_EQ(1, parser()->sdes()->num_packets()); in TEST_F()
341 EXPECT_EQ(1, parser()->sdes_chunk()->num_packets()); in TEST_F()
[all …]
Drtcp_packet_unittest.cc58 EXPECT_EQ(1, parser.sender_report()->num_packets()); in TEST()
65 EXPECT_EQ(0, parser.report_block()->num_packets()); in TEST()
79 EXPECT_EQ(1, parser.sender_report()->num_packets()); in TEST()
81 EXPECT_EQ(1, parser.report_block()->num_packets()); in TEST()
99 EXPECT_EQ(1, parser.sender_report()->num_packets()); in TEST()
101 EXPECT_EQ(2, parser.report_block()->num_packets()); in TEST()
131 EXPECT_EQ(1, parser.app()->num_packets()); in TEST()
134 EXPECT_EQ(0, parser.app_item()->num_packets()); in TEST()
153 EXPECT_EQ(1, parser.app()->num_packets()); in TEST()
156 EXPECT_EQ(1, parser.app_item()->num_packets()); in TEST()
[all …]
Drtp_format_video_generic.cc40 size_t num_packets = in SetPayloadData() local
42 payload_length_ = (payload_size_ + num_packets - 1) / num_packets; in SetPayloadData()
Dfec_test_helper.cc21 void FrameGenerator::NewFrame(int num_packets) { in NewFrame() argument
22 num_packets_ = num_packets; in NewFrame()
Dfec_test_helper.h33 void NewFrame(int num_packets);
/external/webrtc/webrtc/modules/rtp_rtcp/include/
Dfec_receiver.h21 : num_packets(0), in FecPacketCounter()
25 size_t num_packets; // Number of received packets. member
/external/autotest/server/site_tests/network_WiFi_RateControl/
Dnetwork_WiFi_RateControl.py104 for index, num_packets in counts.iteritems():
105 if num_packets > num_packets_sent:
107 num_packets_sent = num_packets
/external/webrtc/webrtc/test/
Drtp_file_writer_unittest.cc29 void WriteRtpPackets(int num_packets) { in WriteRtpPackets() argument
32 for (int i = 1; i <= num_packets; ++i) { in WriteRtpPackets()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dpacket_sender.cc448 Packets TcpSender::GeneratePackets(size_t num_packets) { in GeneratePackets() argument
451 UpdateSendBitrateEstimate(num_packets); in GeneratePackets()
453 for (size_t i = 0; i < num_packets; ++i) { in GeneratePackets()
472 void TcpSender::UpdateSendBitrateEstimate(size_t num_packets) { in UpdateSendBitrateEstimate() argument
474 num_recent_sent_packets_ += num_packets; in UpdateSendBitrateEstimate()
Dpacket_sender.h174 Packets GeneratePackets(size_t num_packets);
175 void UpdateSendBitrateEstimate(size_t num_packets);
Dbwe_unittest.cc315 size_t num_packets = bwe_receiver_.GetSetCapacity() / 2; in TEST_F() local
318 for (size_t i = 0; i < num_packets; ++i) { in TEST_F()
324 for (size_t i = 0; i < num_packets; ++i) { in TEST_F()
/external/autotest/client/tests/hackbench/src/
Dhackbench.c111 unsigned int num_packets; member
196 for (i = 0; i < ctx->num_packets; i++) { in receiver()
283 ctx->num_packets = num_fds*loops; in group()
/external/webrtc/webrtc/video/
Dreplay.cc280 int num_packets = 0; in RtpReplay() local
286 ++num_packets; in RtpReplay()
309 fprintf(stderr, "num_packets: %d\n", num_packets); in RtpReplay()
Dvie_receiver.cc70 if (counter.num_packets > 0) { in UpdateHistograms()
73 static_cast<int>(counter.num_fec_packets * 100 / counter.num_packets)); in UpdateHistograms()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dstatistics_calculator.cc163 void StatisticsCalculator::PacketsDiscarded(size_t num_packets) { in PacketsDiscarded() argument
164 discarded_packets_ += num_packets; in PacketsDiscarded()
Dpacket_buffer.cc295 void PacketBuffer::BufferStat(int* num_packets, int* max_num_packets) const { in BufferStat() argument
296 *num_packets = static_cast<int>(buffer_.size()); in BufferStat()
Dpacket_buffer.h123 virtual void BufferStat(int* num_packets, int* max_num_packets) const;
Dstatistics_calculator.h59 void PacketsDiscarded(size_t num_packets);
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_data_transfer.py226 num_packets = len(payload)
231 self._ndp_entry_class.get_struct_len() * (num_packets + 1))
/external/webrtc/webrtc/p2p/base/
Dturnport_unittest.cc487 size_t num_packets = 256; in TestTurnSendData() local
488 for (size_t i = 0; i < num_packets; ++i) { in TestTurnSendData()
499 ASSERT_EQ_WAIT(num_packets, turn_packets_.size(), kTimeout); in TestTurnSendData()
500 ASSERT_EQ_WAIT(num_packets, udp_packets_.size(), kTimeout); in TestTurnSendData()
501 for (size_t i = 0; i < num_packets; ++i) { in TestTurnSendData()
/external/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationClient.cpp2057 GDBRemoteCommunicationClient::TestPacketSpeed (const uint32_t num_packets) in TestPacketSpeed() argument
2070 for (i=0; i<num_packets; ++i) in TestPacketSpeed()
2076 …packets_per_second = (((float)num_packets)/(float)total_time_nsec) * (float)TimeValue::NanoSecPerS… in TestPacketSpeed()
2078 num_packets, in TestPacketSpeed()
2094 for (i=0; i<num_packets; ++i) in TestPacketSpeed()
2100 …packets_per_second = (((float)num_packets)/(float)total_time_nsec) * (float)TimeValue::NanoSecPerS… in TestPacketSpeed()
2102 num_packets, in TestPacketSpeed()

12