/external/webrtc/modules/rtp_rtcp/source/ |
D | rtp_packet_history_unittest.cc | 38 : fake_clock_(123456), in RtpPacketHistoryTest() 39 hist_(&fake_clock_, /*enable_padding_prio=*/GetParam()) {} in RtpPacketHistoryTest() 41 SimulatedClock fake_clock_; member in webrtc::RtpPacketHistoryTest 48 packet->set_capture_time_ms(fake_clock_.TimeInMilliseconds()); in CreateRtpPacket() 90 fake_clock_.AdvanceTimeMilliseconds( in TEST_P() 148 hist_.PutRtpPacket(std::move(packet), fake_clock_.TimeInMilliseconds()); in TEST_P() 154 EXPECT_EQ(state->send_time_ms, fake_clock_.TimeInMilliseconds()); in TEST_P() 155 EXPECT_EQ(state->capture_time_ms, fake_clock_.TimeInMilliseconds()); in TEST_P() 160 fake_clock_.AdvanceTimeMilliseconds(1); in TEST_P() 162 fake_clock_.AdvanceTimeMilliseconds(kRttMs + 1); in TEST_P() [all …]
|
D | rtp_sender_audio_unittest.cc | 70 : fake_clock_(kStartTime), in RtpSenderAudioTest() 74 config.clock = &fake_clock_; in RtpSenderAudioTest() 79 rtp_sender_audio_(&fake_clock_, rtp_module_->RtpSender()) { 83 SimulatedClock fake_clock_; member in webrtc::RtpSenderAudioTest 190 uint32_t capture_timestamp = fake_clock_.TimeInMilliseconds(); in TEST_F()
|
D | rtp_sender_video_unittest.cc | 167 fake_clock_(kStartTime), in RtpSenderVideoTest() 168 retransmission_rate_limiter_(&fake_clock_, 1000), in RtpSenderVideoTest() 171 config.clock = &fake_clock_; in RtpSenderVideoTest() 178 rtp_sender_video_(&fake_clock_, 192 SimulatedClock fake_clock_; member in webrtc::__anonc30e10920111::RtpSenderVideoTest 224 const int64_t kCaptureTimestamp = fake_clock_.TimeInMilliseconds(); in TEST_P() 231 fake_clock_.AdvanceTimeMilliseconds(kPacketizationTimeMs); in TEST_P() 426 fake_clock_.AdvanceTimeMilliseconds(kFrameIntervalMs); in TEST_P() 436 fake_clock_.AdvanceTimeMilliseconds(kFrameIntervalMs); in TEST_P() 439 fake_clock_.AdvanceTimeMilliseconds(kFrameIntervalMs); in TEST_P() [all …]
|
D | ulpfec_generator_unittest.cc | 53 : fake_clock_(1), in UlpfecGeneratorTest() 54 ulpfec_generator_(kRedPayloadType, kFecPayloadType, &fake_clock_), in UlpfecGeneratorTest() 57 SimulatedClock fake_clock_; member in webrtc::UlpfecGeneratorTest
|
/external/webrtc/call/ |
D | fake_network_pipe_unittest.cc | 50 FakeNetworkPipeTest() : fake_clock_(12345) {} in FakeNetworkPipeTest() 69 SimulatedClock fake_clock_; member in webrtc::FakeNetworkPipeTest 80 &fake_clock_, std::move(simulated_network), &receiver)); in TEST_F() 97 fake_clock_.AdvanceTimeMilliseconds(kPacketTimeMs); in TEST_F() 102 fake_clock_.AdvanceTimeMilliseconds(9 * kPacketTimeMs - 1); in TEST_F() 107 fake_clock_.AdvanceTimeMilliseconds(1); in TEST_F() 121 &fake_clock_, std::move(simulated_network), &receiver)); in TEST_F() 132 fake_clock_.AdvanceTimeMilliseconds(kPacketTimeMs); in TEST_F() 137 fake_clock_.AdvanceTimeMilliseconds(config.queue_delay_ms); in TEST_F() 142 fake_clock_.AdvanceTimeMilliseconds(kPacketTimeMs); in TEST_F() [all …]
|
/external/webrtc/video/ |
D | quality_limitation_reason_tracker_unittest.cc | 22 : fake_clock_(1234), tracker_(&fake_clock_) {} in QualityLimitationReasonTrackerTest() 25 SimulatedClock fake_clock_; member in webrtc::QualityLimitationReasonTrackerTest 42 fake_clock_.AdvanceTimeMilliseconds(9999); in TEST_F() 52 fake_clock_.AdvanceTimeMilliseconds(50); in TEST_F() 54 fake_clock_.AdvanceTimeMilliseconds(50); in TEST_F() 79 fake_clock_.AdvanceTimeMilliseconds(4321); in TEST_P() 88 fake_clock_.AdvanceTimeMilliseconds(100); in TEST_P() 92 fake_clock_.AdvanceTimeMilliseconds(50); in TEST_P() 96 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_P() 100 fake_clock_.AdvanceTimeMilliseconds(100); in TEST_P()
|
D | receive_statistics_proxy_unittest.cc | 42 ReceiveStatisticsProxyTest() : fake_clock_(1234), config_(GetTestConfig()) {} in ReceiveStatisticsProxyTest() 48 statistics_proxy_.reset(new ReceiveStatisticsProxy(&config_, &fake_clock_)); in SetUp() 74 frame.set_ntp_time_ms(fake_clock_.CurrentNtpInMilliseconds()); in CreateVideoFrame() 78 SimulatedClock fake_clock_; member in webrtc::ReceiveStatisticsProxyTest 100 fake_clock_.AdvanceTimeMilliseconds(1000 / kFps); in TEST_F() 117 fake_clock_.AdvanceTimeMilliseconds(1000 / kFps); in TEST_F() 210 fake_clock_.AdvanceTime(kInterFrameDelay1); in TEST_F() 222 fake_clock_.AdvanceTime(kInterFrameDelay2); in TEST_F() 234 fake_clock_.AdvanceTime(kInterFrameDelay3); in TEST_F() 257 fake_clock_.AdvanceTimeMilliseconds(kInterframeDelayMs1); in TEST_F() [all …]
|
D | receive_statistics_proxy2_unittest.cc | 47 ReceiveStatisticsProxy2Test() : fake_clock_(1234), config_(GetTestConfig()) { in ReceiveStatisticsProxy2Test() 50 new ReceiveStatisticsProxy(&config_, &fake_clock_, loop_.task_queue())); in ReceiveStatisticsProxy2Test() 96 frame.set_ntp_time_ms(fake_clock_.CurrentNtpInMilliseconds()); in CreateVideoFrame() 101 Timestamp Now() { return fake_clock_.CurrentTime(); } in Now() 113 SimulatedClock fake_clock_; member in webrtc::internal::ReceiveStatisticsProxy2Test 136 fake_clock_.AdvanceTimeMilliseconds(1000 / kFps); in TEST_F() 152 fake_clock_.AdvanceTimeMilliseconds(1000 / kFps); in TEST_F() 244 fake_clock_.AdvanceTime(kInterFrameDelay1); in TEST_F() 256 fake_clock_.AdvanceTime(kInterFrameDelay2); in TEST_F() 268 fake_clock_.AdvanceTime(kInterFrameDelay3); in TEST_F() [all …]
|
D | send_statistics_proxy_unittest.cc | 66 fake_clock_(1234), in SendStatisticsProxyTest() 76 &fake_clock_, GetTestConfig(), in SetUp() 172 SimulatedClock fake_clock_; member in webrtc::SendStatisticsProxyTest 424 Timestamp::Millis(fake_clock_.TimeInMilliseconds())); in TEST_F() 434 fake_clock_.AdvanceTimeMilliseconds(kInterframeDelayMs); in TEST_F() 436 Timestamp::Millis(fake_clock_.TimeInMilliseconds())); in TEST_F() 455 Timestamp::Millis(fake_clock_.TimeInMilliseconds())); in TEST_F() 462 fake_clock_.AdvanceTimeMilliseconds(kInterframeDelayMs); in TEST_F() 464 Timestamp::Millis(fake_clock_.TimeInMilliseconds())); in TEST_F() 654 fake_clock_.AdvanceTimeMilliseconds(metrics::kMinRunTimeInSeconds * 1000); in TEST_F() [all …]
|
D | call_stats2_unittest.cc | 66 SimulatedClock fake_clock_{12345}; member in webrtc::internal::CallStats2Test 67 CallStats call_stats_{&fake_clock_, loop_.task_queue()}; 99 fake_clock_.AdvanceTimeMilliseconds(CallStats::kUpdateInterval.ms()); in TEST_F() 104 fake_clock_.AdvanceTimeMilliseconds(CallStats::kUpdateInterval.ms() - in TEST_F() 189 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F() 203 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F() 221 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F() 260 fake_clock_.AdvanceTimeMilliseconds(CallStats::kUpdateInterval.ms()); in TEST_F() 276 fake_clock_.AdvanceTimeMilliseconds(CallStats::kUpdateInterval.ms()); in TEST_F() 295 fake_clock_.AdvanceTimeMilliseconds(metrics::kMinRunTimeInSeconds * in TEST_F()
|
D | call_stats_unittest.cc | 59 SimulatedClock fake_clock_{12345}; member in webrtc::CallStatsTest 60 CallStats call_stats_{&fake_clock_, process_thread_.get()}; 100 fake_clock_.AdvanceTimeMilliseconds(CallStats::kUpdateIntervalMs); in TEST_F() 105 fake_clock_.AdvanceTimeMilliseconds(CallStats::kUpdateIntervalMs - 1); in TEST_F() 201 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F() 215 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F() 233 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F() 274 fake_clock_.AdvanceTimeMilliseconds(CallStats::kUpdateIntervalMs); in TEST_F() 288 fake_clock_.AdvanceTimeMilliseconds(CallStats::kUpdateIntervalMs); in TEST_F() 308 fake_clock_.AdvanceTimeMilliseconds(metrics::kMinRunTimeInSeconds * in TEST_F()
|
/external/webrtc/p2p/base/ |
D | turn_port_unittest.cc | 169 fake_clock_.AdvanceTime(webrtc::TimeDelta::Seconds(1)); in TurnPortTest() 355 turn_ready_, TimeToGetTurnCandidate(protocol_type), fake_clock_); in PrepareTurnAndUdpPorts() 359 ASSERT_TRUE_SIMULATED_WAIT(udp_ready_, kSimulatedRtt, fake_clock_); in PrepareTurnAndUdpPorts() 424 turn_ready_, TimeToGetTurnCandidate(protocol_type), fake_clock_); in TestReconstructedServerUrl() 447 fake_clock_); in TestTurnAlternateServer() 471 turn_error_, kSimulatedRtt + TimeToConnect(protocol_type), fake_clock_); in TestTurnAlternateServerV4toV6() 490 fake_clock_); in TestTurnAlternateServerPingPong() 514 fake_clock_); in TestTurnAlternateServerDetectRepetition() 553 turn_error_, TimeToGetTurnCandidate(protocol_type), fake_clock_); in TestTurnAlternateServerLoopback() 558 SIMULATED_WAIT(false, kSimulatedRtt, fake_clock_); in TestTurnAlternateServerLoopback() [all …]
|
D | dtls_transport_unittest.cc | 328 kTimeout, fake_clock_); in Connect() 379 fake_clock_); in TestTransfer() 383 rtc::ScopedFakeClock fake_clock_; member in cricket::DtlsTransportTestBase 507 kTimeout, fake_clock_); in TEST_F() 569 kTimeout, fake_clock_); in TEST_F() 586 fake_clock_.AdvanceTime( in TEST_F() 589 fake_clock_.AdvanceTime(webrtc::TimeDelta::Millis(1)); in TEST_F() 656 kTimeout, fake_clock_); in TestEventOrdering() 664 kTimeout, fake_clock_); in TestEventOrdering() 666 kTimeout, fake_clock_); in TestEventOrdering() [all …]
|
/external/icing/icing/schema/ |
D | schema-store_test.cc | 88 const FakeClock fake_clock_; member in icing::lib::__anon3b2434680111::SchemaStoreTest 93 SchemaStore::Create(/*filesystem=*/nullptr, test_dir_, &fake_clock_), in TEST_F() 101 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in TEST_F() 128 EXPECT_THAT(SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_), in TEST_F() 136 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in TEST_F() 160 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in TEST_F() 173 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in TEST_F() 200 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in TEST_F() 212 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in TEST_F() 245 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in TEST_F() [all …]
|
/external/icing/icing/store/ |
D | document-store_test.cc | 193 SchemaStore::Create(&filesystem_, schema_store_dir_, &fake_clock_)); in SetUp() 221 FakeClock fake_clock_; member in icing::lib::__anon67f0fed20111::DocumentStoreTest 245 &fake_clock_, schema_store_.get()), in TEST_F() 253 &fake_clock_, /*schema_store=*/nullptr), in TEST_F() 262 &fake_clock_, schema_store_.get()), in TEST_F() 269 DocumentStore::Create(&filesystem_, document_store_dir_, &fake_clock_, in TEST_F() 289 DocumentStore::Create(&filesystem_, document_store_dir_, &fake_clock_, in TEST_F() 322 DocumentStore::Create(&filesystem_, document_store_dir_, &fake_clock_, in TEST_F() 351 DocumentStore::Create(&filesystem_, document_store_dir_, &fake_clock_, in TEST_F() 383 DocumentStore::Create(&filesystem_, document_store_dir_, &fake_clock_, in TEST_F() [all …]
|
/external/webrtc/pc/ |
D | dtmf_sender_unittest.cc | 222 rtc::ScopedFakeClock fake_clock_; member in DtmfSenderTest 236 EXPECT_TRUE_SIMULATED_WAIT(observer_->completed(), kMaxWaitMs, fake_clock_); in TEST_F() 253 fake_clock_); in TEST_F() 259 EXPECT_TRUE_SIMULATED_WAIT(observer_->completed(), kMaxWaitMs, fake_clock_); in TEST_F() 275 fake_clock_); in TEST_F() 279 SIMULATED_WAIT(false, 200, fake_clock_); in TEST_F() 290 fake_clock_); in TEST_F() 294 SIMULATED_WAIT(false, 200, fake_clock_); in TEST_F() 306 fake_clock_); in TEST_F() 310 EXPECT_TRUE_SIMULATED_WAIT(observer_->completed(), kMaxWaitMs, fake_clock_); in TEST_F() [all …]
|
/external/icing/icing/query/ |
D | query-processor_test.cc | 137 FakeClock fake_clock_; member in icing::lib::__anon1c0a3fc50111::QueryProcessorTest 179 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in TEST_F() 184 DocumentStore::Create(&filesystem_, store_dir_, &fake_clock_, in TEST_F() 230 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in TEST_F() 235 DocumentStore::Create(&filesystem_, store_dir_, &fake_clock_, in TEST_F() 281 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in TEST_F() 286 DocumentStore::Create(&filesystem_, store_dir_, &fake_clock_, in TEST_F() 357 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in TEST_F() 362 DocumentStore::Create(&filesystem_, store_dir_, &fake_clock_, in TEST_F() 425 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in TEST_F() [all …]
|
/external/webrtc/audio/voip/test/ |
D | audio_egress_unittest.cc | 58 : fake_clock_(kStartTime), wave_generator_(1000.0, kAudioLevel) { in AudioEgressTest() 59 rtp_rtcp_ = CreateRtpStack(&fake_clock_, &transport_, kRemoteSsrc); in AudioEgressTest() 67 egress_ = std::make_unique<AudioEgress>(rtp_rtcp_.get(), &fake_clock_, in SetUp() 101 SimulatedClock fake_clock_; member in webrtc::__anon7c5499780111::AudioEgressTest 136 fake_clock_.AdvanceTimeMilliseconds(10); in TEST_F() 172 fake_clock_.AdvanceTimeMilliseconds(10); in TEST_F() 206 fake_clock_.AdvanceTimeMilliseconds(10); in TEST_F() 220 fake_clock_.AdvanceTimeMilliseconds(10); in TEST_F() 282 fake_clock_.AdvanceTimeMilliseconds(10); in TEST_F()
|
D | audio_ingress_unittest.cc | 39 : fake_clock_(123456789), wave_generator_(1000.0, kAudioLevel) { in AudioIngressTest() 40 receive_statistics_ = ReceiveStatistics::Create(&fake_clock_); in AudioIngressTest() 43 rtp_config.clock = &fake_clock_; in AudioIngressTest() 61 ingress_ = std::make_unique<AudioIngress>(rtp_rtcp_.get(), &fake_clock_, in SetUp() 66 egress_ = std::make_unique<AudioEgress>(rtp_rtcp_.get(), &fake_clock_, in SetUp() 94 SimulatedClock fake_clock_; member in webrtc::__anonc756ecca0111::AudioIngressTest 152 fake_clock_.AdvanceTimeMilliseconds(10); in TEST_F()
|
/external/icing/icing/index/iterator/ |
D | doc-hit-info-iterator-filter_test.cc | 69 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in SetUp() 74 DocumentStore::Create(&filesystem_, test_dir_, &fake_clock_, in SetUp() 89 FakeClock fake_clock_; member in icing::lib::__anon388d5f680111::DocHitInfoIteratorDeletedFilterTest 236 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in SetUp() 241 DocumentStore::Create(&filesystem_, test_dir_, &fake_clock_, in SetUp() 256 FakeClock fake_clock_; member in icing::lib::__anon388d5f680111::DocHitInfoIteratorNamespaceFilterTest 391 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in SetUp() 396 DocumentStore::Create(&filesystem_, test_dir_, &fake_clock_, in SetUp() 411 FakeClock fake_clock_; member in icing::lib::__anon388d5f680111::DocHitInfoIteratorSchemaTypeFilterTest 531 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in SetUp() [all …]
|
/external/webrtc/modules/video_coding/ |
D | jitter_estimator_tests.cc | 30 TestVCMJitterEstimator() : fake_clock_(0) {} in TestVCMJitterEstimator() 33 estimator_ = std::make_unique<VCMJitterEstimator>(&fake_clock_); in SetUp() 37 fake_clock_.AdvanceTimeMicroseconds(microseconds); in AdvanceClock() 40 SimulatedClock fake_clock_; member in webrtc::TestVCMJitterEstimator
|
/external/icing/icing/result/ |
D | result-retriever_test.cc | 87 SchemaStore::Create(&filesystem_, test_dir_, &fake_clock_)); in SetUp() 156 FakeClock fake_clock_; member in icing::lib::__anonb5a82b8f0111::ResultRetrieverTest 193 DocumentStore::Create(&filesystem_, test_dir_, &fake_clock_, in TEST_F() 215 DocumentStore::Create(&filesystem_, test_dir_, &fake_clock_, in TEST_F() 268 DocumentStore::Create(&filesystem_, test_dir_, &fake_clock_, in TEST_F() 317 DocumentStore::Create(&filesystem_, test_dir_, &fake_clock_, in TEST_F() 369 DocumentStore::Create(&mock_filesystem, test_dir_, &fake_clock_, in TEST_F() 409 DocumentStore::Create(&filesystem_, test_dir_, &fake_clock_, in TEST_F() 458 DocumentStore::Create(&filesystem_, test_dir_, &fake_clock_, in TEST_F() 557 DocumentStore::Create(&filesystem_, test_dir_, &fake_clock_, in TEST_F() [all …]
|
/external/webrtc/rtc_base/ |
D | test_client.cc | 33 : fake_clock_(fake_clock), in TestClient() 128 if (fake_clock_) { in AdvanceTime() 129 SIMULATED_WAIT(false, ms, *fake_clock_); in AdvanceTime()
|
D | virtual_socket_unittest.cc | 167 : ss_(&fake_clock_), in VirtualSocketServerTest() 204 std::make_unique<AsyncUDPSocket>(socket), &fake_clock_); in TestDefaultRoute() 213 std::make_unique<AsyncUDPSocket>(socket2), &fake_clock_); in TestDefaultRoute() 237 std::make_unique<AsyncUDPSocket>(socket), &fake_clock_); in BasicTest() 241 std::make_unique<AsyncUDPSocket>(socket2), &fake_clock_); in BasicTest() 255 absl::WrapUnique(AsyncUDPSocket::Create(&ss_, empty)), &fake_clock_); in BasicTest() 713 SIMULATED_WAIT(false, 5000, fake_clock_); in BandwidthTest() 715 SIMULATED_WAIT(false, 5000, fake_clock_); in BandwidthTest() 757 SIMULATED_WAIT(false, 10000, fake_clock_); in DelayTest() 841 std::make_unique<AsyncUDPSocket>(socket), &fake_clock_); in CrossFamilyDatagramTest() [all …]
|
/external/icing/icing/index/ |
D | index-processor_test.cc | 150 SchemaStore::Create(&filesystem_, GetTestTempDir(), &fake_clock_)); in SetUp() 204 processor_options, &fake_clock_)); in SetUp() 216 FakeClock fake_clock_; member in icing::lib::__anonf04aa9090111::IndexProcessorTest 241 processor_options, &fake_clock_), in TEST_F() 245 processor_options, &fake_clock_), in TEST_F() 447 options, &fake_clock_)); in TEST_F() 489 options, &fake_clock_)); in TEST_F() 533 options, &fake_clock_)); in TEST_F() 703 &fake_clock_)); in TEST_F() 738 &fake_clock_)); in TEST_F() [all …]
|