Home
last modified time | relevance | path

Searched refs:kNumPackets (Results 1 – 14 of 14) sorted by relevance

/external/webrtc/call/
Dfake_network_pipe_unittest.cc84 const int kNumPackets = 10; in TEST_F() local
86 SendPackets(pipe.get(), kNumPackets, kPacketSize); in TEST_F()
123 const int kNumPackets = 2; in TEST_F() local
125 SendPackets(pipe.get(), kNumPackets, kPacketSize); in TEST_F()
217 const int kNumPackets = 10; in TEST_F() local
219 SendPackets(pipe.get(), kNumPackets, kPacketSize); in TEST_F()
229 for (int i = 0; i < kNumPackets; ++i) { in TEST_F()
241 SendPackets(pipe.get(), kNumPackets, kPacketSize); in TEST_F()
251 for (int i = 0; i < kNumPackets; ++i) { in TEST_F()
258 EXPECT_EQ(static_cast<size_t>(2 * kNumPackets), pipe->SentPackets()); in TEST_F()
[all …]
/external/webrtc/modules/rtp_rtcp/source/
Dulpfec_generator_unittest.cc112 constexpr size_t kNumPackets = 4; in TEST_F() local
114 packet_generator_.NewFrame(kNumPackets); in TEST_F()
118 for (size_t i = 0; i < kNumPackets; ++i) { in TEST_F()
147 constexpr size_t kNumPackets = 2; in TEST_F() local
155 packet_generator_.NewFrame(kNumPackets); in TEST_F()
156 for (size_t j = 0; j < kNumPackets; ++j) { in TEST_F()
158 packet_generator_.NextPacket(i * kNumPackets + j, 10); in TEST_F()
Dflexfec_sender_unittest.cc56 constexpr size_t kNumPackets = 4; in GenerateSingleFlexfecPacket() local
60 packet_generator.NewFrame(kNumPackets); in GenerateSingleFlexfecPacket()
61 for (size_t i = 0; i < kNumPackets; ++i) { in GenerateSingleFlexfecPacket()
Drtp_sender_unittest.cc1873 const uint32_t kNumPackets = in TEST_P() local
1885 for (uint32_t i = 0; i < kNumPackets; ++i) { in TEST_P()
1895 EXPECT_EQ(kNumPackets, callback.num_calls_); in TEST_P()
1899 const uint32_t kExpectedWindowMs = (kNumPackets - 1) * kPacketInterval + 1; in TEST_P()
1900 const uint32_t kExpectedBitsAccumulated = kTotalPacketSize * kNumPackets * 8; in TEST_P()
2048 const int32_t kNumPackets = 30; in TEST_P() local
2050 retransmission_rate_limiter_.SetMaxRate(kPacketSize * kNumPackets * 8); in TEST_P()
2053 RtpPacketHistory::StorageMode::kStoreAndCull, kNumPackets); in TEST_P()
2056 for (int32_t i = 0; i < kNumPackets; ++i) { in TEST_P()
2061 EXPECT_EQ(kNumPackets, transport_.packets_sent()); in TEST_P()
[all …]
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dtransport_feedback_unittest.cc323 const size_t kNumPackets = (3 * 7) + 1; in TEST() local
325 (kSmallDeltaSize * (kNumPackets - 1)) + in TEST()
328 uint16_t kReceived[kNumPackets]; in TEST()
329 for (size_t i = 0; i < kNumPackets; ++i) in TEST()
332 int64_t kReceiveTimes[kNumPackets]; in TEST()
334 for (size_t i = 1; i < kNumPackets; ++i) { in TEST()
341 test.WithInput(kReceived, kReceiveTimes, kNumPackets); in TEST()
/external/perfetto/src/tracing/test/
Dtracing_integration_test.cc275 const size_t kNumPackets = 10; in TEST_F() local
276 for (size_t i = 0; i < kNumPackets; i++) { in TEST_F()
331 ASSERT_EQ(kNumPackets, num_pack_rx); in TEST_F()
408 const size_t kNumPackets = 10; in TEST_F() local
409 for (size_t i = 0; i < kNumPackets; i++) { in TEST_F()
/external/webrtc/modules/audio_coding/acm2/
Dacm_receiver_unittest.cc264 constexpr int kNumPackets = 5; in TEST_F() local
266 for (int n = 0; n < kNumPackets; ++n) { in TEST_F()
296 const int kNumPackets = 5; in TEST_F() local
298 for (int n = 0; n < kNumPackets; ++n) { in TEST_F()
Daudio_coding_module_unittest.cc426 static const int kNumPackets = 500; member in webrtc::AudioCodingModuleMtTestOldApi
474 if (packet_cb_.num_calls() > kNumPackets) { in TestDone()
583 static const int kNumPackets = 500; member in webrtc::AcmIsacMtTestOldApi
660 if (packet_cb_.num_calls() > kNumPackets) { in TestDone()
689 static const int kNumPackets = 10; member in webrtc::AcmReRegisterIsacMtTestOldApi
823 if (codec_registered_ && receive_packet_count_ > kNumPackets) { in CbCodecRegistrationImpl()
/external/perfetto/test/
Dend_to_end_integrationtest.cc688 static constexpr size_t kNumPackets = 11; in TEST_F() local
692 ds_config->mutable_for_testing()->set_message_count(kNumPackets); in TEST_F()
703 ASSERT_EQ(packets.size(), kNumPackets); in TEST_F()
729 static constexpr size_t kNumPackets = 7; in TEST_F() local
733 ds_config->mutable_for_testing()->set_message_count(kNumPackets); in TEST_F()
744 ASSERT_EQ(packets.size(), kNumPackets); in TEST_F()
781 static constexpr size_t kNumPackets = 1; in TEST_F() local
785 ds_config->mutable_for_testing()->set_message_count(kNumPackets); in TEST_F()
834 static constexpr size_t kNumPackets = 11; in TEST_F() local
835 ds_config->mutable_for_testing()->set_message_count(kNumPackets); in TEST_F()
[all …]
/external/webrtc/modules/audio_coding/codecs/red/
Daudio_encoder_copy_red_unittest.cc173 static const int kNumPackets = 10; in TEST_F() local
175 for (int encode_size = 1; encode_size <= kNumPackets; ++encode_size) { in TEST_F()
192 for (size_t i = 3; i <= kNumPackets; ++i) { in TEST_F()
/external/perfetto/src/tracing/core/
Dtrace_writer_impl_unittest.cc67 const size_t kNumPackets = 32; in TEST_P() local
68 for (size_t i = 0; i < kNumPackets; i++) { in TEST_P()
94 EXPECT_EQ(kNumPackets, packets_count); in TEST_P()
/external/webrtc/modules/audio_coding/neteq/
Dneteq_unittest.cc975 const int kNumPackets = 10; in TestJitterBufferDelay() local
991 while (packets_received < kNumPackets) { in TestJitterBufferDelay()
993 if (packets_sent < kNumPackets) { in TestJitterBufferDelay()
/external/webrtc/modules/pacing/
Dpacket_router_unittest.cc297 const size_t kNumPackets = 32; in TEST_F() local
306 for (size_t i = 0; i < kNumPackets; ++i) { in TEST_F()
Dpacing_controller_unittest.cc1350 const size_t kNumPackets = 60; in TEST_P() local
1357 for (size_t i = 0; i < kNumPackets; ++i) { in TEST_P()
1364 TimeDelta::Millis(1000 * kNumPackets * kPacketSize * 8 / kMaxBitrate); in TEST_P()