Home
last modified time | relevance | path

Searched refs:fake_clock_ (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/webrtc/video/
Dcall_stats_unittest.cc35 CallStatsTest() : fake_clock_(12345) {} in CallStatsTest()
38 virtual void SetUp() { call_stats_.reset(new CallStats(&fake_clock_)); } in SetUp()
39 SimulatedClock fake_clock_; member in webrtc::CallStatsTest
47 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
57 fake_clock_.AdvanceTimeMilliseconds(kRttTimeOutMs); in TEST_F()
76 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
81 fake_clock_.AdvanceTimeMilliseconds(999); in TEST_F()
87 fake_clock_.AdvanceTimeMilliseconds(1); in TEST_F()
110 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
119 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
[all …]
Dvie_remb_unittest.cc34 ViERembTest() : fake_clock_(12345) {} in ViERembTest()
39 vie_remb_.reset(new VieRemb(&fake_clock_)); in SetUp()
41 SimulatedClock fake_clock_; member in webrtc::ViERembTest
57 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
82 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
111 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
139 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
173 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
209 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
241 fake_clock_.AdvanceTimeMilliseconds(1000); in TEST_F()
Dsend_statistics_proxy_unittest.cc26 : fake_clock_(1234), config_(GetTestConfig()), avg_delay_ms_(0), in SendStatisticsProxyTest()
33 &fake_clock_, GetTestConfig(), in SetUp()
90 SimulatedClock fake_clock_; member in webrtc::SendStatisticsProxyTest
368 fake_clock_.AdvanceTimeMilliseconds(SendStatisticsProxy::kStatsTimeoutMs - 1); in TEST_F()
386 fake_clock_.AdvanceTimeMilliseconds(1); in TEST_F()
/external/webrtc/webrtc/test/
Dfake_network_pipe_unittest.cc43 FakeNetworkPipeTest() : fake_clock_(12345) {} in FakeNetworkPipeTest()
66 SimulatedClock fake_clock_; member in webrtc::FakeNetworkPipeTest
78 new FakeNetworkPipe(&fake_clock_, config)); in TEST_F()
96 fake_clock_.AdvanceTimeMilliseconds(kPacketTimeMs); in TEST_F()
101 fake_clock_.AdvanceTimeMilliseconds(9 * kPacketTimeMs - 1); in TEST_F()
106 fake_clock_.AdvanceTimeMilliseconds(1); in TEST_F()
118 new FakeNetworkPipe(&fake_clock_, config)); in TEST_F()
130 fake_clock_.AdvanceTimeMilliseconds(kPacketTimeMs); in TEST_F()
135 fake_clock_.AdvanceTimeMilliseconds(config.queue_delay_ms); in TEST_F()
140 fake_clock_.AdvanceTimeMilliseconds(kPacketTimeMs); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_packet_history_unittest.cc25 : fake_clock_(123456), in RtpPacketHistoryTest()
26 hist_(new RTPPacketHistory(&fake_clock_)) { in RtpPacketHistoryTest()
32 SimulatedClock fake_clock_; member in webrtc::RtpPacketHistoryTest
70 int64_t capture_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F()
83 int64_t capture_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F()
102 int64_t capture_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F()
130 fake_clock_.AdvanceTimeMilliseconds(1); in TEST_F()
131 int64_t capture_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F()
149 int64_t capture_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F()
167 int64_t capture_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F()
[all …]
Drtp_sender_unittest.cc122 : fake_clock_(kStartTime), in RtpSenderTest()
135 rtp_sender_.reset(new RTPSender(false, &fake_clock_, &transport_, nullptr, in SetUpRtpSender()
142 SimulatedClock fake_clock_; member in webrtc::RtpSenderTest
190 new RTPSenderVideo(&fake_clock_, rtp_sender_.get())); in SetUp()
641 int64_t capture_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F()
655 fake_clock_.AdvanceTimeMilliseconds(kStoredTimeInMs); in TEST_F()
676 ConvertMsToAbsSendTime(fake_clock_.TimeInMilliseconds()); in TEST_F()
693 int64_t capture_time_ms = fake_clock_.TimeInMilliseconds(); in TEST_F()
711 fake_clock_.AdvanceTimeMilliseconds(kStoredTimeInMs); in TEST_F()
736 ConvertMsToAbsSendTime(fake_clock_.TimeInMilliseconds()); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/video_coding/
Djitter_estimator_tests.cc20 : VCMJitterEstimator(&fake_clock_, 0, 0), in TestEstimator()
21 fake_clock_(0), in TestEstimator()
27 fake_clock_.AdvanceTimeMicroseconds(microseconds); in AdvanceClock()
31 SimulatedClock fake_clock_; member in webrtc::TestEstimator
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api.cc82 RtpRtcpAPITest() : fake_clock_(123456) { in RtpRtcpAPITest()
94 configuration.clock = &fake_clock_; in SetUp()
100 &fake_clock_, NULL, NULL, NULL, rtp_payload_registry_.get())); in SetUp()
110 SimulatedClock fake_clock_; member in webrtc::RtpRtcpAPITest
/external/webrtc/webrtc/modules/audio_coding/acm2/
Daudio_coding_module_unittest_oldapi.cc474 fake_clock_(new SimulatedClock(0)) { in AudioCodingModuleMtTestOldApi()
475 clock_ = fake_clock_.get(); in AudioCodingModuleMtTestOldApi()
573 fake_clock_->AdvanceTimeMilliseconds(10); in CbPullAudioImpl()
586 rtc::scoped_ptr<SimulatedClock> fake_clock_; member in webrtc::AudioCodingModuleMtTestOldApi
727 fake_clock_(new SimulatedClock(0)) { in AcmReRegisterIsacMtTestOldApi()
731 clock_ = fake_clock_.get(); in AcmReRegisterIsacMtTestOldApi()
815 fake_clock_->AdvanceTimeMilliseconds(10); in CbReceiveImpl()
853 rtc::scoped_ptr<SimulatedClock> fake_clock_; member in webrtc::AcmReRegisterIsacMtTestOldApi