/external/webrtc/call/ |
D | fake_network_pipe_unittest.cc | 84 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/ |
D | ulpfec_generator_unittest.cc | 112 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()
|
D | flexfec_sender_unittest.cc | 56 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()
|
D | rtp_sender_unittest.cc | 1873 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/ |
D | transport_feedback_unittest.cc | 323 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/ |
D | tracing_integration_test.cc | 275 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/ |
D | acm_receiver_unittest.cc | 264 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()
|
D | audio_coding_module_unittest.cc | 426 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/ |
D | end_to_end_integrationtest.cc | 688 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/ |
D | audio_encoder_copy_red_unittest.cc | 173 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/ |
D | trace_writer_impl_unittest.cc | 67 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/ |
D | neteq_unittest.cc | 975 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/ |
D | packet_router_unittest.cc | 297 const size_t kNumPackets = 32; in TEST_F() local 306 for (size_t i = 0; i < kNumPackets; ++i) { in TEST_F()
|
D | pacing_controller_unittest.cc | 1350 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()
|